Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes Connect: There was an error importing this build

I'm working on an iOS app that last week had a build successfully uploaded to iTunes Connect and then distributed for testing via TestFlight.

This week, I updated to Xcode 7.3 and now when I update the same project (with changes just for Swift 2.2 compatibility and some other bug fixes I did), I am able to archive and submit the build through Xcode, but then instead of processing and receiving an email that the build is ready to test, the build shows up in iTunes Connect like this, with the displayed error message. I don't receive any email or other error message about what could be wrong:

enter image description here

I haven't found any other solutions searching online about this issue. I've gotten in contact with Apple and the issue has been escalated but haven't heard back yet.

Update - Apple has escalated to engineering, awaiting response.

Update 2 - Apple replied that this is a known issue with Xcode 7.3 and Bitcode, see answer below for solution.

like image 611
sschale Avatar asked Mar 24 '16 00:03

sschale


5 Answers

Apple has replied that this is a known issue with Xcode 7.3 and Bitcode. So, I disabled including Bitcode uploading with the binary and it successfully processed!:

enter image description here

You do not need to disable it for the entire project, but it works that way too (tested with both project Bitcode enabled/disabled with Bitcode upload inclusion disabled).

Edit: Builds as of 4/7/16 are now successfully uploading and processing with Bitcode.

like image 108
sschale Avatar answered Nov 18 '22 14:11

sschale


I received this error for the first time yesterday.
I did not have bitcode turned on.
I had no other message beyond the iTunes "There was an error importing this build".

Today I bumped up the version number and resubmitted and it worked.

enter image description here

like image 10
kris Avatar answered Nov 18 '22 15:11

kris


Random problems like this happen to me sometimes and instead of uploading from the Xcode organizer what I do is use the organizer to export a build and then use Application Loader (available from the Xcode menu -> Open Developer Tool) to actually upload it. Sometimes it helps and sometimes it doesn't, but it's worth a try.

like image 3
dbmrq Avatar answered Nov 18 '22 15:11

dbmrq


Just in case if aforementioned solution not worked for you try the following. Cause none of the listed solution worked for me.

  1. Check for the Xcode Version. It should not be a BETA release.
  2. If still getting issue the upload it using Application Loader. Don't use CMD + Space to launch Application Loader. It might open old or different version Application Loader. Which leads you to ambiguous bugs. Launch from the Xcode menu Xcode -> Open developer tool -> Application Loader solves the problem. Please make sure you do it from the version of the Xcode that you used to build your app.

Cheers!! :)

like image 1
Rahul Verma Avatar answered Nov 18 '22 14:11

Rahul Verma


Give it some time(an hour or two). It auto-solves.

May or may not work be a good advice, but this is what worked for me.

like image 1
atitpatel Avatar answered Nov 18 '22 16:11

atitpatel