Hi, I tried to submit an app using Application Loader after compiling with Xcode 8 GM, but the binary was rejected without an explanation. Did anyone else experience this?
Xcode 8 GM application loader submission: invalid binary
Hi, it seems there are more such cases (the same here), some are reported in other threads. Hopefully, the fix is coming soon, as the code that passed verification should not be invalid.
So for some reason I did not receive the email that detailed the failure when my account was set to Developer in iTunes Connect. After setting it to App Manager and the build failing again, I received an email that detailed why it failed and I was able to fix them and upload without issues.
Yep, same problem here with macOS Sierra and Xcode 8.2.1 and submitting an app to the Mac App Store.
Funny thing is, previous versions of the app, 1.0, 1.0.1, and 1.0.2 submission worked okay. Nothing has changed as far as entitlements, or code signing, or provisioning profiles. And yet, I am unable to submit 1.0.3 of my app. It gives me the unhelpful "Invalid Binary" message. And in one email:
App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.
Which wasn't true, as the codesign command-line utility showed that the binary had the app-sandbox entitlement set to true.
I even went as far as revoking all previous certificates, and deleting all provisioning profiles, and regenerating from scratch. And turning off Xcode's automatic management of code-signing and ensuring release builds are using the production codesigning and provisioning profiles. Nothing.
Apple App Review suggested I open a Technical Support Incident, as they were unable to help, which I've done now. Still waiting.
Something appears to be seriously broken with Apple's app submission process viz. code-signing and provisioning profiles.