Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Client.ipa does not contain a file

I am pulling my hair out on this error since the past few days. When I try to submit my cordova based iOS app I get an error that Symbols tool failed. This is What i have in my logs:

<IDEDistributionIssue: severity(error), error(Error Domain=ITunesSoftwareServiceErrorDomain Code=-19066 \"The path '/var/folders/sp/fhnmn9hd76vbdl523pf37krw0000gn/T/XcodeDistPipeline.8PQ/Packages/Healthpick Client.ipa' does not contain a file.\" UserInfo={NSLocalizedDescription=The path '/var/folders/sp/fhnmn9hd76vbdl523pf37krw0000gn/T/XcodeDistPipeline.8PQ/Packages/Healthpick Client.ipa' does not contain a file., NSLocalizedFailureReason=Unable to validate your application.})>

Here is a screenshot of the said error upon trying to submit to the app store:

Stupid Error

Please help.

like image 652
aliirz Avatar asked Nov 16 '15 06:11

aliirz


2 Answers

I had the same error because there were several static libraries (libXXX.a) erroneously included in the app's package. They were showing in the final upload confirmation box (listing Entitlements & Certificates), under the main .App.

My solution was to remove all references to those static libs from the project, adding them manually in the linker flags and library search paths.

There is certainly a better solution to prevent those files from being included. Hopefully someone more knowledgeable about Xcode can chime in.

like image 101
Benoit Avatar answered Sep 30 '22 08:09

Benoit


I had the same symptoms as Benoit, and was able to remove the erroneously showing libXXX.a files from the app's package by doing the following:

  1. Select the main project file
  2. Select the app's target
  3. Select "Build Phases"
  4. Select "Copy Bundle Resources"
  5. Remove any items related to the lib files that had been showing up in the app's target previously. In my case it was files related to Flurry.
like image 21
Dan G Avatar answered Sep 30 '22 08:09

Dan G