Skip to content
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

iOS bitcode: ITMS-90562: Invalid Bundle #183

Closed
Henrik-glt opened this issue Aug 20, 2021 · 4 comments
Closed

iOS bitcode: ITMS-90562: Invalid Bundle #183

Henrik-glt opened this issue Aug 20, 2021 · 4 comments

Comments

@Henrik-glt
Copy link

Hi!

Adding qr_mobile_vision to our app causes App Store Connect validation to fail.
The app builds just fine. No problem running or exporting the app.
But something with qr_mobile_vision and bitcode seems to cause the problem.
We need bitcode because we have an AppleWatch app.

"Error message" from Apple:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "APP_NAME". Please correct the following issues, then upload again.

ITMS-90562: Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again.

Best regards,

The App Store Team

@rmtmckenzie
Copy link
Owner

rmtmckenzie commented Aug 20, 2021

Hi Henrik. Unfortunately, this plugin is only tangentially the problem. We use the GoogleMLKit/BarcodeScanning pod, which is what google provides for QR code scanning, and is almost certainly what causes the problem. The swift code used in this plugin would be built along with your build, but the BarcodeScanning pod includes binaries from Google that I have no control over.

I would recommend opening an issue with Google, but tbh the likelyhood of them actually changing it is low to none unless Apple started requiring bitcode. Doesn't hurt to ask though, although I'm not actually entirely sure where you would ask.

Out of curiosity why do you need bitcode? I've published an app that includes an Apple Watch app - and I believe the apple watch app itself has bitcode enabled, but the main iOS app definitely doesn't.

@Henrik-glt
Copy link
Author

Thanks! I was under the impression that the whole app bundle (iOS, watch , etc.) needed to have bitcode enabled when shipping an app with AppleWatch extension. Works fine when I disabled bitcode for iOS target.

@maxlapides
Copy link
Contributor

Update: there will be a fix for this issue in the next MLKit release at the end of this month.

googlesamples/mlkit#347 (comment)

@rmtmckenzie
Copy link
Owner

rmtmckenzie commented Sep 28, 2021

Hopefully you weren't waiting on the release of MLKit, but the new version has been released now. You can use it without anything changing the plugin by running pod update --repo-update in the iOS folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants