-1

I have an iOS app written in swift which use a linked C framework , all print statement cause the app to crash with error "Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1022cd9bc)" even if I print empty statement, however if I changed the print() to NSLog it work. I wonder what could be the issue for such problem.Error Screenshot

makramia
  • 1
  • 1
  • There is no output in the console it only shows this error in the code Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1022cd9bc) – makramia Jan 25 '20 at 03:17

2 Answers2

0

You have breakpoints active. Just delete or disable them

enter image description here

Image Source

Keshu R.
  • 5,045
  • 1
  • 18
  • 38
0

Issue resolved by deleting a statement which has a pointer which cause bad memory access

makramia
  • 1
  • 1