意外的CFBundleExecutable键 [英] Unexpected CFBundleExecutable key

查看:800
本文介绍了意外的CFBundleExecutable键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在花了一些时间用谷歌搜索后,有些东西告诉我这个问题是新的。

After spending some time googling, something tells me that the issue is new.

我们有一个支持iOS7-8的全功能项目。当然,它已多次成功提交给AppStore。

We had a fully functional project supporting iOS7-8. Of course it was multiple times successfully submitted to AppStore.

我们使用pod,大量跟踪和监控,如GA和Instabug。

We use pods, lots of tracking and monitoring, like GA and Instabug.

现在我们决定将iOS 9上的Xcode 7上构建的应用程序版本提交给TestFlight。

Now we decided to submit a version of the app built on Xcode 7 on iOS 9 to TestFlight.

我们禁用了bitcode,因为许多pod,如Flurry和其他预构建的库都没有包含它。

We disabled bitcode, since many pods, like Flurry and other prebuilt libraries does not include it.

构建成功,在提交到iTunesConnect后我们得到:

The build was successful, after the submission to iTunesConnect we get this:

我们对GoogleAppIndexing库(在pod中也是如此)也有相同的功能,但我们将其删除了,只是为了使其正常工作。现在 - Instabug。它太过分了,所以我试图了解iOS 9中发生了什么,以及使一个完全正常工作的项目开始抛出这些错误的变化是什么。

We had same for GoogleAppIndexing library (in pods too), but we removed it, just to make it work. Now - Instabug. It is going too far, so I am trying to understand what is going on in iOS 9 and what are the changes that made a fully working project to start throwing such errors.

欢迎任何想法和想法!请分享您的经验,如果我错过了什么,我会很乐意分享我的步骤。

Any thoughts and ideas are welcomed! Please share your experience, and if I missed something, I will gladly share my steps.

推荐答案

我今天遇到了同样的问题尝试提交我们的应用程序时使用相同的确切错误消息(使用Xcode 7 beta 5),而不是 instabug.bundle 位,这对我来说是 TencentOpenApi_IOS_Bundle.bundle

I encountered the same problem today with the same exact error message when trying to submit our app (using Xcode 7 beta 5) but instead of the instabug.bundle bit, it was for me TencentOpenApi_IOS_Bundle.bundle.

我通过在项目中找到命名包来解决问题 - 正如错误消息所示 - 编辑了<通过删除 CFBundleExecutable 键,在捆绑包中的code> Info.plist 。 CFBundlePackageType 键已设置为 BNDL 所以我没有触摸它。

I solved the problem by finding the named bundle in the project then - just as the error message suggests - edited the Info.plist that is in the bundle by removing the CFBundleExecutable key. The CFBundlePackageType key was already set to BNDL so I didn't touch it.

完成这些更改后,我做了Product> Clean,然后将应用程序提交到App Store没有问题。

After these changes I did Product > Clean and then had no problem submitting the app to the App store.

我希望这会有所帮助。

这篇关于意外的CFBundleExecutable键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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