This only happens post app store upload and during processing.
Relevant settings for all targets:
CLANG_ENABLE_CODE_COVERAGE = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
Can someone point to a config setting that could resolve this very recent issue with Xcode Version 7.2 (7C68)? Uploads have been fine until this point and no related config changes have been made.
The specific error:
Dear developer,
We have discovered one or more issues with your recent delivery for "The App Name". To process your delivery, the following issues must be corrected:
Invalid Bundle - Do not submit apps with GCC-style coverage instrumentation enabled. Specifically, the following Xcode build settings should be disabled: Instrument Program Flow Generate Test Coverage Files
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
To work around this issue I set "Enable Bitcode" to "No" at the project level, which was it was previously set to and the last known good setting.
There are two relevant settings which should be NO
for the Release configuration:
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
andGCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO;
Or in Xcode, under Build Settings > Apple LLVM 7.0 - Code Generation
I found that the Enable Code Coverage Support (CLANG_ENABLE_CODE_COVERAGE
) is not required to be disabled. Vanilla Xcode projects have this enabled by default.
Also, of course you only need to make sure that the GGC settings are disabled for the Release configuration, assuming that's used for Archive.
Finally note that if your project includes any 3rd party frameworks, all of these frameworks also need to be build using the above settings.
Unfortunately Apple iTunes Store's email doesn't tell you which project or framework failed, so debugging this might involve some trial and error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With