-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app crashes at launch as in house release build on iPhone - but debugging is fine #154
Comments
[update] I tried to remove all swift stuff and archive, everything is as usual now. However, once I drag the swift files into my Objective-C based project, Run(debug) the app is fine. But if archive(release) and install it on iPhone, immediate crash at launch. Anything what I am missing? |
Maybe something in your compilation swttings for release mode? בתאריך יום שלישי, 16 ביוני 2015, Xuan [email protected] כתב:
|
That's what I am looking for help. I have no idea where could be wrong. I only edited the build settings mentioned in README. I double checked the swift related settings are same as debug mode. |
Alright, after hundreds of archiving and testing, I found it's being caused by in-house distribution. Quote from my post: http://stackoverflow.com/questions/30867698/app-with-objective-c-and-swift-code-crash-at-launch-in-release-mode-debug-mode/30881865#30881865 All explained in details in this article : https://www.airsignapp.com/ios-apps-using-swift-crash-when-signed-with-inhouse-certificate/ We can confirm that after create a new cert and .mobileprovision, no more issues. We found origins that caused this issue, related to a missing attribute in “Subject” field InHouse Certificates :
What I have been tried:
After revoking old cert and request a new, I do see OU in the cert. Hope this can help who's suffering this. If this helps you, goto my post and up vote, so more people can see it. Thanks. |
footprint:
|
|
I am desperate to look for help. So I have to post here for guidance. Please help
I have imported ios-charts in my Objective-C project, and running it in debug mode is fine. However, today I tried to archive and ad-hoc distribute my app, the app crashes at launch...
I have set the swift optimization to none for release mode, still no luck.
I have no log or trace since it's installed on iPhone 6. I am looking for help if anything I missed...
The text was updated successfully, but these errors were encountered: