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 冲突
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
