问题
I upload my build to app store, after that it show error in Activity.
Any one help me out.
回答1:
SOLVED!
Go to Build Settings > Search for "bitcode" > Turn Enable Bitcode to No
This will fix it. Also, if you are apprehensive about disabling bitcode, don't worry. Apple describes bitcode as follows:
Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.
You don't really need to enable it. Read more about bitcode here.
That's it.
Your build should go through now.
回答2:
I've spent the last few days battling this issue. I've finally sussed out our specific problem and thought it worthwhile sharing. The error was the same as the original posters with iTunes Connect giving a "There was an error importing this build." error as follows:
I tried all sorts to solve this but in my travels the give away of the problem was that one of our many *.bundle files was appearing in the 'Binary and Entitlments' list during the upload/submission process:
Digging a little further when I inspected the contents of that particular *.bundle (with-in either the *.ipa or in the build folder of derived data) there was an unexpected unix executable file. None of other *.bundle files contained a unix executable.
After some trial and error I was able to prevent the executable from being created and added to the bundle by changing the "VERSION_SYSTEM" build setting to "None" (it had inadvertently been set to "Apple Generic" in some recent xcconfig changes).
Anyway, that solved the problem for us. Hope it helps.
An alternative (but less desirable) solution was to remove the (empty) "Compile Sources" step from the targets "Build Phases".
回答3:
You need to update your version number to a higher value. If you change only the build number it won't work. I had the same issue after my app binary had been rejected.
Example:
App 1.0.0 (1) -> rejected for some reason.
App 1.0.0 (2) -> you'll get the "There was an error importing this build"
App 1.0.0 (3) -> same error..
App 1.0.1 (1) -> will work!
Cheers,
来源:https://stackoverflow.com/questions/35146731/all-build-for-itunes-connect-there-was-an-error-importing-this-build