Repository navigation
iOS - Bundling an app for App Store does not work #9
Description
Activity
- changed the title
[-]iOs - Bundling an app for App Store does not work[/-][+]iOS - Bundling an app for App Store does not work[/+]on Jan 25, 2018 Hmmm... Buglife isn't overriding any build settings (and AFAIK it's not even possible for Buglife to override your application's build settings the way any workspace is structured that includes it).
Felix himself (author of Fastlane) has used Buglife in personal projects, so this shouldn't be an issue... Investigating now, we might have to submit a PR for fastlane but I'll keep this issue open for book keeping.
Reacted by Arnaud Rinquin@schukin getting issues as well, when trying to submit to the app store – on my case, from the Xcode organizer. The app icon appears in gray, no version, and the "Upload to App Store" is not available.
I’m still investigating it – not 100% precent sure it’s related to Buglife – but it wasn’t like that on the previous version I uploaded, which the noticeable difference was Buglife integration.
Did you find any solution to this?
@oferRounds could you attach a screenshot? I'm not 100% sure which app icon / upload button you're referring to in Xcode...
hey @schukin, I actually found the solution. The problem is that the Buglife-iOS project, its
Skip Installon itsBuild Settingsis set toNoinstead ofYes. As a result, the option to distribute the archive as an iOS app is not available, onlyBuild Products(this is relevant when you add a project as sub-project – different than adding it as a pod).I’m not entirely sure about all this – never encountered it before – but you can see here more on that, and anyhow, doing the above solved it for me:
https://stackoverflow.com/questions/10715211/cannot-generate-ios-app-archive-in-xcodeHmm, yeah, we've been having on & off issues with React Native, partially due to the pace of change of conventions. Thanks for looking into this, I'll see what we can do on Buglife-iOS to get this resolved here.
Reacted by Ofer Morag and Amine BezzargaJust encountered the exact same problem using react-native-buglife and @oferRounds solutions works !
This fix works in a dev environment because we can manually fix the Buglife.xcodeproj, but in a CI/CD environment, it is not possible without forking the project for now.
Every time we issue the command to install dependencies likenpm installoryarn installit will bring back the none working version.Please push a fix to the npm registry 😇
The following issue fastlane/fastlane#10559 is also mentioning a similar solution.
Reacted by Ofer Morag and Andrey Efremov
My build dev and local deployment build using fastlane work just great now but building for the Appstore fails.
This issue seems to explain that it comes from external libraries overriding build options. I guess there is something wrong with React-Native-Buglife.