框架 CFBundleIdentifier 冲突

Framework CFBundleIdentifier Collision(框架 CFBundleIdentifier 冲突)

本文介绍了框架 CFBundleIdentifier 冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Cocoa Touch 框架制作了一个自定义 SDK(按照这些说明制作它https://kodmunki.wordpress.com/2015/03/04/cocoa-touch-frameworks-for-ios8-remix/) .

I've made a custom SDK using Cocoa Touch Framework (followed these instructions to make it https://kodmunki.wordpress.com/2015/03/04/cocoa-touch-frameworks-for-ios8-remix/) .

使用此 SDK 的一个应用程序已上传到应用程序商店并经过 Apple 审核,一切正常.现在我正在尝试将第二个应用程序提交到 App Store.xCode 上一切正常,它显示上传已成功完成,但上传后几分钟我收到一封信,上面写着:

One app, that is using this SDK is already uploaded to app store and is reviewed by apple and all is well. Now I'm trying to submit second app to App store. All is well on the xCode, it shows that upload was completed successfully, but few minutes after uploading I get a letter that says:

CFBundleIdentifier Collision - Info.plist CFBundleIdentifier 值'myApp.app/Frameworks/MySDK.framework' 的 'com.company.MySDK' 是已被另一个应用程序使用.

CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value 'com.company.MySDK' of 'myApp.app/Frameworks/MySDK.framework' is already in use by another application.

我不明白为什么苹果还要检查应用程序框架的 bundleidentifier.使用不同的捆绑包似乎有很多类似的问题,但我还没有找到适用于这个问题的修复程序.

I don’t understand why apple even checks the app framework's bundleidentifier. Looks like there are lot of similar issues with using different bundles, but I haven not found a fix that would work for this issue.

非常感谢您的帮助,谢谢!

Would be really thankful for help, thanks!

推荐答案

对我来说这是由使用默认值 APPL 的框架的 .plist 关键字 CFBundlePackageType 引起的,但是必须更改为 FMWK (https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-111321).

For me it was caused by framework's .plist keyword CFBundlePackageType that was using the default value APPL but had to be changed to FMWK (https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-111321).

这篇关于框架 CFBundleIdentifier 冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:框架 CFBundleIdentifier 冲突