框架CFBundleIdentifier冲突 [英] Framework CFBundleIdentifier Collision

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

问题描述

我已经使用Cocoa Touch Framework制作了自定义SDK(按照这些说明进行操作

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冲突-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!

推荐答案

对我来说,这是由框架的.plist关键字 CFBundlePackageType 使用默认值 APPL 引起的,但必须更改为 FMWK (

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冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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