Hello,
I've just built and uploaded my app's binary to iTunes Connect and wanted to submit for beta review so that I can distribute the app for beta testing with TestFlight.
Unfortunetly, processing the binary resulted an error:
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
I have checked the Xcode project and don't seem to find anything that suggest that I have enabled any profiling or coverage collection.
I wish they included more information about the problem.
Xcode version: Xcode 9 Beta 2
The app is using Swift 4.
3rd party libraries are using Swift 3.2.
Deployment target: iOS 10
Any clue, what it might be? I need to fix this ASAP because testers are waiting for the app to be tested but I'm blocked by this.
Br,
Attila
One of your binaries (app, app extension, or framework) has these compiler options specified:
-fprofile-instr-generate -fcoverage-mapping
Additionally, that target has the GCC_INSTRUMENT_PROGRAM_FLOW_ARCS build setting set to Yes (it defaults to No).
On the Xcode build settings page for each target, you can use the search feature to look for those compiler options to disable them.