0

I had enable a All Exceptions break point in my project.

But the UIApplicationMain() function always trigger the break point when the app launching. I think there was no exceptions here because if I click the Next Button twice, the app will launch successfully.

I have tried commenting the code in the AppDelegate, but it does't work.

KSR
  • 1,699
  • 15
  • 22
s1ro6
  • 161
  • 8

1 Answers1

0

Possible solutions for it could be:

  • Added custom font can cause this issue so, apparently delete (replace) it, somewhere in project is still his reference which causes C++ exception.

So, Delete or Replace all references to those fonts, Clean the project and check.

  • Change from All Exceptions to Objective-C Exceptions in All Exceptions.

Check this answers will help more:

Xcode throws an exception in Main() in iOS 8 with 'all exceptions' breakpoint

Always stop in App delegate after enabling All exceptions break point

Try and check if it help:)

Community
  • 1
  • 1
Ronak Chaniyara
  • 5,335
  • 3
  • 24
  • 51