I encountered code signing issue with Apple Distribution certificate for both iOS and MacCatalyst. The app crashes with "Beta Profile".
I followed this instruction to manually re-sign my ipa to confirm that I use the Apple Distribution and the correct Provisioning Profile. https://gist.github.com/WDUK/4239548f76bd77b2c4b0
When I double click on the Apple Distribution certificate in KeyChain Access, it shows "Extension: Apple Mac App Signing (Development)" and "Extension: Apple Developer Certificate (Submission)"
I have been stuck in this issue for more than a month. I really need help because I do not know how to proceed further.
Thank you.
Sorry I didn’t respond sooner; I wasn’t notified of your reply )-:
Thanks for the crash report. This suggests that you don’t have a code signing problems. Rather, the presence of the Last Exception Backtrace section indicates that your app is up and running and then threw a language exception.
The backtrace on that exception is interesting:
Last Exception Backtrace:
0 CoreFoundation … __exceptionPreprocess + 164
1 libobjc.A.dylib … objc_exception_throw + 88
2 munsblog … 0x1029c0000 + 33407840
3 munsblog … 0x1029c0000 + 35102404
4 UIKitCore … -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320
Frame 4 indicates that UIKit is calling one of your app delegate methods. Frame 3 is your app delegate method implementation. It calls some other method in your code, frame 2, which throws a language exception.
To make progress with this you’ll need to uncover the identity of your code in frames 3 and 2. For advice on how to do that, see Adding identifiable symbol names to a crash report.
Also, my experience is that many problems like this aren’t related to code signing but rather they’re caused by a difference between your Debug and Release build. I have a post, Isolating Code Signing Problems from Build Problems, that explains how you can tease these apart.
Finally, if you reply here, please tag me by adding @DTS Engineer to your reply. That should improve the chances of forums notification me of your follow-up.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"