question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XCode 10.2 generates an unshippable "Generic Archive" with 6.0.0

See original GitHub issue

Describe 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

  1. npm install react-native-fast-image
  2. react-native link react-native-fast-image
  3. Open XCode and select Product -> Archive
  • Organizer should open (if it doesn’t Window -> Organizer)
  1. 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.

image

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:closed
  • Created 4 years ago
  • Reactions:19
  • Comments:34 (13 by maintainers)

github_iconTop GitHub Comments

7reactions
edo1493commented, May 13, 2019

Spent a good 7hrs on this. 😄

2reactions
DylanVanncommented, Jun 3, 2019

Woo! It’s working!

yarn add react-native-fast-image to upgrade!

Read more comments on GitHub >

github_iconTop Results From Across the Web

TN3110: Resolving generic Xcode archive issue
To generate an app archive, confirm that Installation Directory is set to the default value such as $(LOCAL_APPS_DIR) for apps. Revision History.
Read more >
XCode 10.2 generates an unshippable "Generic ... - CSDN博客
I have a temporary solution if you must use 6.0.0 1.To download the sd source https://github.com/SDWebImage/SDWebImage Copy this folder to ...
Read more >
XCode creating Generic Xcode Archive instead of iOS Archive
I have an Swift/Objective-C Xcode Project that uses CocoaPods. The skip install build setting is set to yes for CocoaPods and no for...
Read more >
Xcode Releases | xcodereleases.com
Version Release Build Released Requires Swift Downlo... Xcode 14.2 Release 14C18 13 Dec 2022 macOS 12.5+ Swift 5.7.2 (5.7.2.135.5) Downlo... Xcode 14.2 RC 1 14C18...
Read more >
Xcode 10.2.1 : Apple Inc. - Internet Archive
Xcode 10.2.1 app archive.Xcode is Apple's IDE for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, and tvOS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found