xcode 错误 itms-90451 “CFBundleIdentifier 冲突错误”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29608264/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:58:27  来源:igfitidea点击:

error itms-90451 "CFBundleIdentifier Collision Error"

xcodeuploadcollisioncfbundleidentifier

提问by user1969245

I uploaded a version of my app – this error pop ups and I dont have any changes from the Google Maps portion of my app. On my first upload, there was no problem.

我上传了我的应用程序的一个版本 - 会弹出此错误,我的应用程序的 Google 地图部分没有任何更改。在我第一次上传时,没有问题。

回答by Vijay Sharma

Just remove the embed frameworks build phase from your extension.

只需从您的扩展中删除嵌入框架构建阶段。

Click on extension in target section -> Build phases -> remove the embed pods frameworks

单击目标部分中的扩展 -> 构建阶段 -> 删除嵌入的 pods 框架

See attached picture:

见附图:

enter image description here

在此处输入图片说明

回答by Sawatsu Kengo

This issue is probably Apple's iTunesConnect side of the problem. see my question: ITMS-90451:CFBundleIdentifier Collision Error

这个问题很可能是 Apple 的 iTunesConnect 方面的问题。看我的问题: ITMS-90451:CFBundleIdentifier Collision Error

I also encountered the same problem in the submission of the application using the Qt framework. I have submitted a report in https://bugreport.apple.com/. Something I will even write if there is a reply from Apple.

我在使用Qt框架提交应用时也遇到了同样的问题。我已经在https://bugreport.apple.com/提交了一份报告。如果有苹果的回复,我什至会写一些东西。

回答by David Yuan

Frameworks Signing set to None and Don't Code Sign.

框架签名设置为无和不编码签名。

Build Phases - Copy Files - Code Sign On Copy Enabled

构建阶段 - 复制文件 - 代码登录复制已启用

回答by Arsalan

This issue is either iTunesConnect issue or Cocoapods.

此问题是 iTunesConnect 问题或 Cocoapods。

When you archive and submit the App, you get this “CFBundleIdentifier Collision Error” because iTunesConnect is considering info.plist of one of pod dependency not your Watchkit App or its parent App.

当您存档并提交应用程序时,您会收到此“CFBundleIdentifier 冲突错误”,因为 iTunesConnect 正在考虑 pod 依赖项之一的 info.plist,而不是您的 Watchkit 应用程序或其父应用程序。

In our case, it was considering Google Maps and Instabug's info.plist file.

在我们的例子中,它考虑了谷歌地图和 Instabug 的 info.plist 文件。

Solution: To solve this issue we deleted all the values of info.plist from our pod dependency. Clean archive and successfully submitted.

解决方案:为了解决这个问题,我们从 pod 依赖项中删除了 info.plist 的所有值。清理存档并成功提交。

GoogleMap iOS SDK contains info.plist on following path : GoogleMapSDK -> Resources -> GoogleMaps.bundle -> info.plist

GoogleMap iOS SDK 在以下路径中包含 info.plist:GoogleMapSDK -> Resources -> GoogleMaps.bundle -> info.plist

Google Map info.plist

谷歌地图信息.plist

Screenshots of Errors:

错误截图

Instabug

安装调试

Google Maps

谷歌地图

回答by byedissident

I am wondering if iTunes Connect is having a temporary issue. I have the same exact error, now with a different third party library

我想知道 iTunes Connect 是否有临时问题。我有完全相同的错误,现在使用不同的第三方库

回答by user1969245

I Solve the problem. I just deleted the 3rd party framework. Then add it again. I don't why it cause this but it works.

我解决问题。我刚刚删除了第 3 方框架。然后再次添加。我不知道为什么会导致这个,但它有效。