Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Upload TestFlight : Invalid IPA / dSYM not found

This shown on TestFlight web after uploaded.

"Invalid IPA: Couldn't find executable specified in Info.plist - check the value of your CFBundleExecutable key."

while on Testflight desktop application, shows dSYM not found, hence couldn't upload.

this issue suddenly appear after I upgraded XCode 4.5 with ios6.

anyone has experienced before, kindly share, and any solutions would be appreciate. thanks in advance.

like image 923
HelmiB Avatar asked Sep 21 '12 01:09

HelmiB


2 Answers

I had the same problem, but I've solved it. It has to do with your architecture settings. In your target and project build settings all of your build settings must be set with armv 7.

In Target -> Build Settings:

Architectures = Standard(armv7, armv7s) - $(ARCHS_STANDARD_32_BIT) Valid Architectures = armv7 armv7s

Likewise for your project build settings.

Hope this helps.

like image 161
coder Avatar answered Oct 29 '22 15:10

coder


I've had this issue too, and I didn't find the answer in the previous responses, so here's mine.

dSYM may be included within your executable (and thus in the IPA), but this means you chose to make it so when building your app. In fact, including the dSYM in the executable is only done if the Strip Debug Symbols During Copy Build Setting is set to NO.

However, this is heavy content (my app is 5MB, the dSYM is 10MB!), so you generally don't want it to be included with your app when releasing it. So except in development, this flag is better to YES. And this is why it the TestFlight Desktop app will show the dSYM not found message.

You can use the TestFligh Co-pilot (the menubar thing, enabled in TestFlight Desktop app preferences) to detect your XCode last archives. Using this allows TestFlight Desktop to find your XCode archive, and this one always contain the dSYM. Or if you have to use the IPA, you can also upload the dSYM file on TestFlight website (you should see the upload area in the Crashes section for your build).

The dSYM can be found by getting an archive in XCode, right-clicking it and follow Show in Finder. Right-click the archive in the Finder, select Show package contents (or something like it, I'm on OS X French version), and the package will contain your dSYM file under dSYMs.

like image 33
Romain Champourlier Avatar answered Oct 29 '22 16:10

Romain Champourlier