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

Invalid Bundle - Xcode 9 Beta 2 #2593

Closed
abeintopalo opened this issue Jul 10, 2017 · 2 comments · Fixed by #2767
Closed

Invalid Bundle - Xcode 9 Beta 2 #2593

abeintopalo opened this issue Jul 10, 2017 · 2 comments · Fixed by #2767
Assignees

Comments

@abeintopalo
Copy link

First, thank you for this great library. It works pretty nicely. The problem is not coding issue but configuration. It seems that Apple has added some new verification rules for submitted binaries.
I have an app which uses Charts as a dependency using Carthage.
Carthage config: github "danielgindi/Charts" ~> 3.0.0 resolved Charts version v3.0.2

I've built and tested my app and uploaded to iTunes Connect and the upload was successful but the binary processing failed:

Dear developer,

We have discovered one or more issues with your recent delivery for "<app name>". To process your delivery, the following issues must be corrected:

Invalid Bundle - Disallowed LLVM instrumentation. Do not submit apps with LLVM profiling instrumentation or coverage collection enabled. Turn off LLVM profiling or code coverage, rebuild your app and resubmit the app.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

Of course, it was very difficult to figure out what was the problem. I've check all Xcode settings in my app but didn't find anything suspicious. I've also posted a question in Apple forum: Invalid Bundle - Xcode 9 Beta 2

Luckily, I've got response from on the Apple forum that was helpful.
I've went through all my 3rd party library dependencies and checked build settings and build scheme settings for all of them.
During this search I've found that Charts scheme has Gather coverage data enabled.
I needed to disable this settings during the build to be able to get my app's binary successfully processed by iTunes Connect.

So, I guess we need to turn this setting off otherwise people will fail their binary submission.

@liuxuan30
Copy link
Member

hmm.. @petester42 any idea?

@pmairoldi
Copy link
Collaborator

Ya I know about it. I have an issue opened here but have not looked into it yet.

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

Successfully merging a pull request may close this issue.

3 participants