EXC_BREAKPOINT (SIGTRAP) on Production Version Only

前端 未结 2 1366
小蘑菇
小蘑菇 2021-01-23 01:23

My iOS app works fine in testing but crashes on startup with the release version downloaded from the App Store. I\'ve tried retesting with the release build configuration in Xco

2条回答
  •  臣服心动
    2021-01-23 01:59

    I had this same problem a few weeks ago, and it was incredibly frustrating to not be able to test it. What I did, while not a perfect solution, did allow me to test the issue.

    Go into your project's Build Settings, and down to Signing. All of the fields under Code Signing Identity should say "iOS Developer". Change them all to iOS Distribution. Build and run your app, and it should hopefully crash. Now, you'll be able to figure out what's going on through Xcode.

    Also, once you fix the problem, make sure to return those code signing identites back to normal.

提交回复
热议问题