Framework CFBundleIdentifier Collision(框架 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 冲突


基础教程推荐
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01