Closed KC-218 closed 4 years ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
@Bruce9487 Thanks for the report and the sample.
However, I'm not able to reproduce. I successfully archive the project with both Xcode 12 and Xcode 11.0:
@paulb777 Thanks. So, do you success to export the ipa?
OMG, That's wired.
Because I click the button "Distribute App", and got this error.
I put my error message pic for you.
If you click the "Show logs" button, is there a more complete error?
@morganchen12 I see the file IDEDistribution.standard.log
And here is the log: https://gist.github.com/Bruce9487/cf5e3804d05ca9426f203312ae602d40
Looks like this is the relevant error from the log:
2020-07-14 06:34:17 +0000 Assertion failed: Expected 1 archs in otool output:
Archive : /var/folders/ts/r7b0ghfd3z93gnb_1rdny8f1b70xc1/T/IDEDistributionOptionThinning.~~~VE3DDn/Payload/TestFirebaseCrashlytics.app/Frameworks/FirebaseCore.framework/FirebaseCore
/var/folders/ts/r7b0ghfd3z93gnb_1rdny8f1b70xc1/T/IDEDistributionOptionThinning.~~~VE3DDn/Payload/TestFirebaseCrashlytics.app/Frameworks/FirebaseCore.framework/FirebaseCore(FIRAnalyticsConfiguration.o):
Are you copying the Carthage frameworks into your app bundle? If so, you should avoid copying the frameworks into your app bundle. They will be linked statically into your app binary and do not need to be present in the app bundle.
@morganchen12 So, do I need to change the FirebaseCore.framework "Emded & Sign" to "Do Not Embed" ?
Yes, the Firebase frameworks should all be "Do Not Embed". Sub-dependencies like nanopb and GoogleUtilities should still be "Embed & Sign".
Going to close now based on the answer from @morganchen12. We can reopen if there's still an issue.
@morganchen12 @paulb777 Thanks. It's work. I figure out my question.
Step 0: Are you in the right place?
firebase
tag.[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
I got
IPA processing failed
when I archive the app.And check the log like this:
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Here is sample proj : https://github.com/Bruce9487/TestFirebaseCrashlytics
Relevant Code:
I try to add shell script like this