gpt4 book ai didi

ios - 代码 : Submission Failed - Invalid IPA

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:37:06 29 4
gpt4 key购买 nike

经过几个小时的研究,我不知道为什么我不能从 xCode (6.1) 提交我的申请。

提交结束返回错误:

ERROR ITMS-90072: "The IPA is invalid It does not include a Payload directory."

我读过的两个回复位于 info.plist 文件中

必须添加两个键:

- LSRequiresIPhoneOS:是( bool 值)

- CFBundleInfoDictionaryVersion:6.0(字符串)

项目已清理。

这是我的文件 info.plist 的内容:

  <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>fr_FR</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.forprodis.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>UILaunchStoryboardName</key>
<string>Main</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

我已经生成了 IPA 并解压了它。该文件夹包含两个子文件夹:

- 应用

- 符号

应该只显示 Payload 文件夹,不是吗? (包装器)

维基百科是这样描述内容的:

An IPA has a built-in structure for iTunes and AppStore to recognize,The example below shows the structure of an IPA:

/Payload/

/Payload/Application.app

/iTunesArtwork

/iTunesMetadata.plist

最佳答案

我刚刚遇到了同样的问题。事实证明,缺少应用内购买的权利是罪魁祸首。选择您的目标并转到“功能”。 Xcode 突出显示了缺少的权利并提出修复它。然后终于成功了。

我希望这对你也有用。在过去的几个小时里,我一直在撕扯我的头发。

关于ios - 代码 : Submission Failed - Invalid IPA,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28545307/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com