-
Notifications
You must be signed in to change notification settings - Fork 39
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
Xcode 'Archive' produces a corrupt archive #44
Comments
Sorry for the late reply. Could you have a look at it and let me know if you this problem with our demo app too? |
Hi, thanks for the answer, I see that you updated the demo, I'll give a try and I'll let you know, thx. |
Just to be sure, did you try to open it? I don't have problem do create an archive neither, It is just impossible to open. |
You downgraded the version to
|
Well this is not working for me. What I did:
|
🤯 Actually I was not completely honest with you, I did not The problem is we do use |
Ok, I can reproduce with |
It seems like this is due to this Cocoapods issue: CocoaPods/CocoaPods#10385. Removing the BCSymbolMaps from our SDK iOS xcframeworks (in |
It worked! Not a long term solution but at least I'm not blocked anymore. Thanks! |
Hello @guillaume-tgl, have you found a more sustainable solution? |
No, not yet, since the problem seems to come from Cocoapods. On your side however, you could try to apply the Workaround suggested in the issue: CocoaPods/CocoaPods#10385 |
It doesn't seem to work unfortunately. |
We are using the same versions mentioned above and blocked with the same Corrupted Archive error. |
We experience the same problem. However, downgrading the cocoapods install to version 1.9.3 (from the most recent one, at this time 10.2) also "solves" the problem. Upgrading to a beta of cocoapods (v1.11) makes the problem worse, as the project then fails to compile. We came across this post bitrise-steplib/steps-xcode-archive#219 , unrelated (it's not about GeniusScan) but with the same symptoms. The xcarchive is produced, but malformed (among other issues with the archive, a plist file at root level is missing). |
I shall try it then with Pod version 1.9.3 and will report back. Thanks! |
Well, I had no luck. I downgraded CocoaPods to 1.9.3. I am not able to create the archive file. Error is: "Building for iOS but linking in object file ... built for iOS Simulator." I tried the solutions mentioned here (https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios) but I still could not make it go past that error. |
You could try: #44 (comment) ... |
Thank you. Yup, I tried it. I deleted the symbol file and it allowed XCode to build the archive. I uploaded the archive to TestFlight and then installed it on my iPhone. It just crashes on launch. |
My latest:
For me, deleting the symbol file is the only workaround that works. |
Hi all. We're going to publish a new version of the SDK with removed BCSymbolMaps and we'll re-add them when the CocoaPods issue is solved. |
v4.0.11 is published and addresses this problem. |
I downloaded and verified that it fixes the build Archive issue. |
I have the exact same problem than in this issue: https://github.com/react-native-mapbox-gl/maps/issues/1097
To Reproduce
npx react-native init RNGeniusScanTest
cd RNGeniusScanTest
yarn add @thegrizzlylabs/react-native-genius-scan
platform :ios, '11.0'
cd ios && pod install
Versions
@thegrizzlylabs/react-native-genius-scan 4.0.9
Xcode: 12.5.1
React Native 0.63.4
Cocoapods 1.10.1
The text was updated successfully, but these errors were encountered: