Client.ipa does not contain a file

泄露秘密 提交于 2019-12-23 09:41:49

问题


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:

Please help.


回答1:


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.




回答2:


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.



回答3:


Untick:

Include app symbols for your application on Validate and upload to App Store.

And Bitcode.




回答4:


I seem to get this on XCode 8.3.1 when uploading an archive when my device is connected. When I unplug my device and try again it works.



来源:https://stackoverflow.com/questions/33729582/client-ipa-does-not-contain-a-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!