iTMSTransporter cli upload app with debug symbols

we submit our apps through using ITMSTransporter, the tool behind Application Loader, over the cli.

There is no documented option of submitting an App bundle with debug symbols, so that iTunes Connect can symbolicate our crash reports in Xcode.


When using Xcode to upload an archive to iTunes Connect, there is a checkbox (Ensure that the “Include app symbols for your application…” box is checked before you click Submit. - from https://developer.apple.com/library/prerelease/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AnalyzingCrashReports/AnalyzingCrashReports.html).


I would like to use this in the commandline as well. This is really important for us, as we want to use the iTunes Connect Crash Reporting Service.


Does anyone know if this is implemented or coming?


Regards

Fabian

I would also like to know if this is possible, as I'd like to be able to automate uploading of test flight builds from Xcode Bots.


Might it be as simple as just not stripping debug symbols in the build settings and submitting as usual? Is there a way to know if symbols have been included in iTunes Connect? I don't see that information listed in the binary details.


Cheers,

-- Charles

Has anyone found a solution to this? I would also like to know.

Also looking for a solution to this.

I also need an answer to this question.

Hello,

Have a read of this: http://faq.sealedabstract.com/xcodeCI/#create-symbol-files-with-this-one-weird-trick


That would get you the elusive files. You would then need to manually create the folder structure from which you'd create the .ipa file, at least that is what I do, for example:


Create a new "app" folder, which is where you'll copy the other items into.

Create a Symbols folder inside the "app" folder and use the above command to get the .symbols file(s) into that folder.

Create a Payload folder and copy the compiled .app file into this folder.


I then run a zip command over the "app" folder, which results in a file with a .ipa extension, and I can then pass that off to altool to, optionally, validate, and then upload the ipa file to iTunesConnect.

So I've tried both using:


1) XCode/Archiver and checked "upload symbols"
2) the steps in the Python code at http://faq.sealedabstract.com/xcodeCI/#create-symbol-files-with-this-one-weird-trick


... both appear to produce the same result i.e. a .IPA file with a /Symbols subfolder (sibling to /Payload) containing <GUID>.symbols files


However iTunes Connect still says "No" in the details for IPAs (though the sizes are 7MB bigger than IPA's w/out symbols) using either of these methods so what else needs to be done?

"Includes Symbols" seems to indicate that symbols were generated from bitcode. I uploaded a binary with and without bitcode. With bitcode enabled, "Includes Symbols" turns to Yes and a dSYM is available for download.

Thanks for that pointer - exactly my finding too. We'd turned off building with bitcode for some reason but when I rebuilt with bitcode and archived to ITC (with 'Include app sumbols ..." and "Include bitcode" checked) I now see 'Includes Symbols" = Yes. Only complaint is that initially it said No and I thought it hadn't worked, when I looked again 12 hours later it said Yes - wish ITC had an indication that it had received symbols and was working on processing them.

iTMSTransporter cli upload app with debug symbols
 
 
Q