"Symbols Tool failed" error while exporting iPhone application with APP Store Profile

I experienced the same "Symbols Tool Failed" issue yesterday. With the following more detailed error:

Archive upload failed due to the issues listed below.

Unable to validate your application.
The path '/var/folders/c6/wfv094t921j7q1bzhht5wtdnhvjv1/T/XcodeDistPipeline.blK/Packages/XXXXXX.ipa' does not contain a file.

Symbols Tool Failed

enter image description here

The cause of the problem was that a third party library (*.a file) had accidentally been included in the "Copy Bundle Resources" "Build Phase". The give-away that this was the problem was that this *.a library appeared in the list of "Binary and Entitlements" screen when submitting the upload:

Extra library in binary and entitlements

Ultimately the third party source code had been added to our workspace as a "Folder Reference" and someone had checked the 'target membership' for that folder. This resulted in the the third parties libary folder (which contained the *.a) being included in the "Copy Bundle Resources". Simply unchecking the 'target membership' box for the folder fixed the issue.


The reason for the issue is, some how FTALDeviceDetailsViewController.m file is ended up Copy Bundle Resources causing this is be treated as separate target. When I delete the file from the Copy Bundle Resource, every thing worked as expected.

Now the mystery questions to me, what are .d .dia generated? This is up for further study.


Unchecking "Upload your app's symbols to receive symbolicated reports from Apple" option fixes the "Symbol tools failed" error when you Archive the app in Organiser window of Xcode.enter image description here

Tags:

Iphone

Ios7