简体   繁体   English

无效的捆绑包 - 嵌套捆绑包没有CFBundleSupportedPlatforms中列出的正确平台Info.plist密钥

[英]Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key

I uploaded an app to the iOS App Store testflight . 我将应用程序上传到iOS App Store testflight

I received the following email in response from iOS App Store: 我收到了来自iOS App Store的以下电子邮件:

Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key. 无效的捆绑包 - 嵌套捆绑包没有CFBundleSupportedPlatforms Info.plist密钥中列出的正确平台。 Once these issues have been corrected, you can then redeliver the corrected binary. 一旦纠正了这些问题,您就可以重新更新已更正的二进制文件。

What should I do to resolve this and get my App approved? 我该怎么做才能解决这个问题并获得我的应用程序批准?

Archiving and submitting my app with older xcode version (6.3.1) solved the problem for me. 使用旧的xcode版本(6.3.1)存档和提交我的应用程序解决了我的问题。 I think it's xcode 7 bug. 我认为这是xcode 7的错误。

I had the same problem here, I solve it by searching for key CFBundleSupportedPlatforms and delete it from any info.plist file I found. 我在这里遇到了同样的问题,我通过搜索密钥CFBundleSupportedPlatforms来解决它,并从我找到的任何info.plist文件中删除它。 using Xcode 7.0.1 使用Xcode 7.0.1

update: After I fixed this error I uploaded new binary and it got finish the processing right away, and the old binary (with Invalid Bundle error) still processing until now. 更新:我修复了这个错误后,我上传了新的二进制文件,它立即完成了处理,旧的二进制文件(带有无效的包错误)仍然处理到现在为止。

I updated to Xcode7.1 and I'm no longer receiving any of those Invalid Bundle emails from iTunes connect. 我更新到Xcode7.1,我不再收到任何来自iTunes连接的Invalid Bundle电子邮件。 Beforehand I contacted apple and they verified there was nothing wrong with the IPA: 事先我联系了苹果,他们证实了IPA没有任何问题:

I've looked at your IPA, and there is nothing that I see which will cause a CFBundleSupportedPlatforms error as you are seeing. 我已经看过你的IPA了,我看到没有什么会导致你看到的CFBundleSupportedPlatforms错误。

Could you please try uploading your app one more time to see if it still fails? 您可以再次尝试上传您的应用,看看它是否仍然失败了吗? It's possible iTunes Connect had an intermittent problem in validating your app. iTunes Connect可能会在验证您的应用时出现间歇性问题。

If this upload still fails, please let me know. 如果此上传仍然失败,请告诉我。 The next step will be for me to escalate this to iTunes Connect to understand why your app is failing validation. 下一步将是我将其升级到iTunes Connect,以了解您的应用验证失败的原因。 This step can take some time, which is why I want to rule out an intermittent problem first. 这一步可能需要一些时间,这就是我想先排除间歇性问题的原因。

After that mail I retried by creating a new archive in Xcode7.1 and uploading it to the app store. 在那封邮件之后,我通过在Xcode7.1中创建一个新的存档并将其上传到app商店来重试。 And all went well 一切顺利

Some plist file in your app (it could be also a framework's file) has CFBundleSupportedPlatforms key with wrong value. 您的应用程序中的某些plist文件(它也可能是框架的文件)具有错误值的CFBundleSupportedPlatforms键。 You should find it and change it to "iPhoneOS". 您应该找到它并将其更改为“iPhoneOS”。 To do it you could use a grep command. 要做到这一点,你可以使用grep命令。 Open Terminal and run: 打开终端并运行:

grep -r "CFBundleSupportedPlatforms" /YourProjectPathHere

It will show you all files that have a CFBundleSupportedPlatforms string 它将显示所有具有CFBundleSupportedPlatforms字符串的文件

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无效的捆绑包-嵌套捆绑包没有在CFBundleSupportedPlatforms(替代)中列出的正确平台 - Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms (alternate) 无效的包 - Info.plist 应该使用包含单个平台的数组指定 CFBundleSupportedPlatforms - Invalid Bundle - Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform 错误Itms-90339:此捆绑包无效。 info.plist在应用程序包中包含无效密钥“CFBundleResourceSpecification” - Error Itms-90339: This bundle is invalid . The info.plist contains an invalid key 'CFBundleResourceSpecification’ in app bundle 错误ITMS-90363“无效的Info.plist密钥。 …包中的密钥“ CFBundleIcons〜iPad无效。” - ERROR ITMS-90363 “Invalid Info.plist key. The key 'CFBundleIcons~iPad in bundle … is invalid.” 在Xcode中,info.plist中的Bundle名称不会更改包名称(.app文件名) - in Xcode, Bundle name in info.plist doesn't change bundle name (.app file name) 此捆绑包无效。 Info.plist文件缺少必需的密钥:CFBundleVersion - This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion 无效的捆绑包Info.plist为CFBundleExecutable密钥指定了不存在的文件 - Invalid Bundle Info.plist specifies a non-existent file for the CFBundleExecutable key 缺少info.plist值,捆绑中的键NSExtensionPointIdentifier - Missing info.plist value a key NSExtensionPointIdentifier in bundle 错误ITMS-90363:“无效的Info.plist密钥。捆绑MyApp.app中的密钥'CFBundleIcons〜ipad'… - ERROR ITMS-90363: "Invalid Info.plist key. The key 'CFBundleIcons~ipad' in bundle MyApp.app… Adobe Air iOS无效捆绑包该捆绑包不支持info.plist中指定的最低版本操作系统 - Adobe Air iOS Invalid Bundle The bundle does not support the minimum version os specified in info.plist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM