Client.ipa 不包含文件 [英] Client.ipa does not contain a file

查看:32
本文介绍了Client.ipa 不包含文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自过去几天以来,我一直在为这个错误而烦恼.当我尝试提交基于 Cordova 的 iOS 应用程序时,我收到一个错误,指出符号工具失败.这是我的日志中的内容:

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:

请帮忙.

推荐答案

我遇到了同样的错误,因为有几个静态库 (libXXX.a) 错误地包含在应用程序包中.它们显示在主 .App 下的最终上传确认框中(列出权利和证书).

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.

当然有更好的解决方案来防止包含这些文件.希望有更了解 Xcode 的人可以加入.

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

这篇关于Client.ipa 不包含文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆