After I send my app for approval to the app store I get the message 'Invalid Binary' in the iTunes Connect. Then I get the following message in an email from Apple:
Invalid Swift Support - The bundle contains an invalid implementation of Swift. The app may have been built or signed with non-compliant or pre-release tools. Visit developer.apple.com for more information.
My app is just a simple game application. No external programs are called. I have researched this message and went through and checked the following:
- xcode is up to date - checked in app store
- EMBEDDED_CONTENT_CONTAINS_SWIFT to YES or NO
- send with the xcode app, not the application loader
- did NOT build with the command line
- (Xcode menu -> Preferences -> Locations tab - verified that the Command Line Tools matches Xcode version.
- "Clean"ed the app, rebuilt and rearchived and then resent, same message
- The app validates through the organizer fine
- viewing the contents of the archive shows a SwiftSupport folder
- I am only using one developer account and have never logged into any other developer account I cannot find anything online that would help solve this problem.
- I am running OS X Yosemite 10.10.1.
- xcode version is 6.1.1 version 6A2008a - built, cleaned and sent with this version
- I have also pressed the Option key and "Cleaned Build Folder" and resent, same message
I cannot find any other reason for this online or in any forums. Any help is greatly appreciated. Thank you for your time.
SOLUTION I FIND
Edit:
(1)
One you contact Apple and you wait long time … for reset iTunes connect because this problem coming in Apple . (Apple ask to send log of this problem)
(2)
An other solution, your create an other project application on iTunes connect and upload your work, this solution work fine, is the solution for me .
(3)
An other solution, you create a new project on Xcode, copy and paste your project in this other project.... (create new provisioning profile etc..) And upload your work in the same project application on Itunes Connect.
(4)
Step (2) + step (3), create a new project in Xcode and Itunes Connect.
(5)
Create a new project with the same name bundle identifier, it works perfectly !