Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why my Xcode failed to validate swift iOS project

enter image description here

I am trying to archive my app and submit it to iTunes store. But I can't pass the validation.

Xcode always reported "Symbols tool failed."

I tried to archive and validate it by using Xcode 6.0 on 10.9 and Xcode 6.1 beta on 10.10 beta. Both are not working.

I will be appreciated for any help.

And IDEDistribution.stardard.log reported error like below:

2014-09-21 01:53:14 +0000 [MT] Validation failed for archive Europa with issues:
(
    "<IDEDistributionIssue: severity(error), error(Error Domain=ITunesSoftwareServiceErrorDomain Code=-21013 \"The archive is invalid.  /var/folders/dm/gps585zj4kvg0_9hlty6y8b00000gn/T/XCodeDistPipeline.FfM/Europa.ipa does not exist.\" UserInfo=0x7ff35a93a810 {NSLocalizedDescription=The archive is invalid.  /var/folders/dm/gps585zj4kvg0_9hlty6y8b00000gn/T/XCodeDistPipeline.FfM/Europa.ipa does not exist., NSLocalizedFailureReason=Unable to validate your application.})>"
)
2014-09-21 01:53:14 +0000 [MT] Canceled distribution assistant

UPDATE: I find out that it can pass the validation when I uncheck "Include app symbols for your application to receive symbolicated crash logs from Apple" options. Does swift framework not support this feature?

like image 588
morphinewan Avatar asked Sep 21 '14 02:09

morphinewan


1 Answers

I was able to resolve it by the following operations in Xcode.

I want to select a target on TARGETS.

I select the Build Phases.

I want to expand the Copy Bundle Resources.

To remove unnecessary files and libraries of the plug-in if it has been registered.

like image 99
onoche Avatar answered Sep 25 '22 22:09

onoche