问题描述
我使用 xcode 6 和 swift 语言制作了一个未签名的 .IPA 应用程序.我已经压缩了 .app 文件并将其扩展名更改为 .ipa.当我想在我越狱的 iPhone 上安装这个 .ipa 文件时,会出现这个错误:应用程序‘youtapp.ipa’无法添加到您的 iTunes 资料库,因为它不是一个有效的应用程序".你能告诉我是什么问题吗.
I have made an unsigned .IPA app using xcode 6 and swift language.I have compressed the .app file and change its extention to .ipa.When I want to install this .ipa file on my jailbreaked iPhone, this error is appeard:"the app 'youtapp.ipa' could not be added to your iTunes library because it is not a valid app".Would you please let me know what the problem is.
推荐答案
我在构建 iOS 应用程序时使用 Xcode 6.3 遇到了完全相同的问题.即使目标是 iOS 设备,当启用以下设置时,打包程序似乎也不会抱怨:
I had this exact same problem using Xcode 6.3 when building my iOS app. It seems that the packager does not complain when the following setting is enabled even though the target is an iOS device:
Application requires iPhone environment:NO
您需要将 this 设置为 YES
,它会将文件夹正确命名为 Payload
.
You need to set the this to YES
and it will name the folder correctly to Payload
.
这篇关于ipa 应用程序无法添加到我们的 iTunes 库,它不是一个有效的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!