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

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Why local notification is not firing for UNCalendarNotificationTrigger(为什么没有为UNCalendarNotificationTrigger触发本地通知)
iOS VoiceOver functionality changes with Bundle Identifier(IOS画外音功能随捆绑包标识符而变化)
tabbar middle tab out of tabbar corner(选项卡栏中间的选项卡角外)
Pushing UIViewController above UITabBar(将UIView控制器推送到UITabBar上方)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Get an event when UIBarButtonItem menu is displayed(显示UIBarButtonItem菜单时获取事件)