-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Cannot archive, corrupted or unreadable #10135
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
Comments
This is quite difficult to troubleshoot based on this information alone. I would try to narrow down the project to something that reliably reproduces the issue. That said, I'd suspect this is related
CocoaPods includes support for copying the bitcode symbolmaps of vendored frameworks automatically, so I'd suspect this isn't necessary |
@amorde removing that script fixed the problem! Thank you!! |
Archive corrupted or unreadable here too. The project compiles and runs properly on a real device, both in debugging and release mode. Started with Xcode 12.0 and macOS catilina Xcode builds successfully the Archive, resulting in size >700Mb The following profile worked, even though one library creates problems (gesture handler). Checked all the recommendation from Apple, and other sources, old and new. Recreated new project and it archives properly. As soon as MapBox pod is introduced in the Podfile, archives are built corrupted. Removing MapBox, the archive works. Issue related to Mapbox when imported via Cocoapods. source 'https://github.com/CocoaPods/Specs.git' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, '12.0' #The target name is most likely the name of your project. pod 'React', :path => '../node_modules/react-native/' pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context' pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga" #Third party deps podspec link end |
Uh oh!
There was an error while loading. Please reload this page.
Report
What did you do?
What did you expect to happen?
Expected to install al dependencies and be able to archive
What happened instead?
Archive is successful but I couldn't find it on Organizer.
I'm able to find it on Finder, when I double tap it Xcode gives me this error: "Cannot open, archive is corrupted or unreadable"
Using CocoaPods v1.9.3 I'm able to archive it successfully, I have this problem just by using CocoaPods 1.10.0.rc.1.
I need to use rc.1 because of this issue #10026.
I'm using Xcode 12.0.1
CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
The text was updated successfully, but these errors were encountered: