XCode 10.2 generates an unshippable "Generic Archive" with 6.0.0
See original GitHub issueDescribe the bug After updating to 6.0.0, we are unable to publish our archive to TestFlight.
Looking in organizer, we end up with a “Generic Xcode Archive” because the SDWebImage header files are being shipped in the generated output.
To Reproduce
- npm install react-native-fast-image
- react-native link react-native-fast-image
- Open XCode and select Product -> Archive
- Organizer should open (if it doesn’t Window -> Organizer)
- Select the archive from the list and observe you can’t “Validate” the archive.
If you right click on the archive and select “Show in Finder”, then on that archive file, right click and select “Show Archive Contents”, the folder structure will load. In the Products
folder, note the presence of a usr/local/include/
folder with a bunch of header files.
Fastlane distribute is also failing with a helpful error:
Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'method': expected one of {}, but found app-store" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found app-store}
** EXPORT FAILED **
[12:36:01]: Exit status: 70
That error leads ultimately to this Apple Help topic: https://developer.apple.com/library/archive/technotes/tn2215/_index.html#//apple_ref/doc/uid/DTS40011221-CH1-PROJ
Expected behavior A build should work.
As a workaround, downgrading react-native-fast-image to 5.4.2 completes successfully.
Dependency versions
- React Native version: 0.59.3
- React version: "^16.8.3
- React Native Fast Image version: 6.0.0
Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:19
- Comments:34 (13 by maintainers)
Top GitHub Comments
Spent a good 7hrs on this. 😄
Woo! It’s working!
yarn add react-native-fast-image
to upgrade!