xcode 代码签名错误:应用程序标识符“com.reapptive.Floors2Go”与当前设置“com.reapptive.Floors2Go”不匹配

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12406159/
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 01:29:00  来源:igfitidea点击:

Code Sign error: Application Identifier 'com.reapptive.Floors2Go' which doesn't match the current setting 'com.reapptive.Floors2Go'

iphonexcodeprovisioning

提问by Jonny Heald

I updated my provisioning profile to include some more devices for Ad-Hoc testing,I added this new profile and removed the old and now I am getting this error:

我更新了我的配置文件以包含更多用于 Ad-Hoc 测试的设备,我添加了这个新的配置文件并删除了旧的,现在我收到了这个错误:

Code Sign error: Provisioning profile 'Floors2Go' specifies the Application Identifier 'com.reapptive.Floors2Go' which doesn't match the current setting 'com.reapptive.Floors2Go'

代码签名错误:配置文件“Floors2Go”指定了与当前设置“com.reapptive.Floors2Go”不匹配的应用程序标识符“com.reapptive.Floors2Go”

Which if you look they are both exactly the same, I have removed, re-added a new profile, deleted and re-entered the bundle name in my plist and for the life of me I cant figure this out.

如果您看起来它们完全相同,我已经删除,重新添加了一个新的配置文件,删除并重新输入了我的 plist 中的包名称,并且在我的一生中我无法弄清楚这一点。

I have also tried cleaning all and rebuild but to no avail.

我也试过清理所有并重建,但无济于事。

Any ideas?

有任何想法吗?

回答by Jonny Heald

Seems to be a bug in Xcode GM Seed, I had to kill Xcode and reopen it every time I change a profile.

似乎是 Xcode GM Seed 中的一个错误,每次更改配置文件时,我都必须杀死 Xcode 并重新打开它。

回答by dtgallant

I also had this problem while trying to replace a dev provisioning profile with an updated version. Looks like a bug.

我在尝试用更新版本替换开发配置文件时也遇到了这个问题。看起来像一个错误。

Running XCode clean, then setting the code signing identity (for dev, in my case) to "don't code sign", then setting the code sign identity back to the relevant development provisioning profile resolved the build error.

运行 XCode clean,然后将代码签名身份(在我的情况下,对于开发人员)设置为“不进行代码签名”,然后将代码签名身份设置回相关的开发配置文件解决了构建错误。

回答by ohho

In Xcode (I am using 4.5.2) > Build Settings > Code Signing section:

在 Xcode(我使用 4.5.2)> 构建设置> 代码签名部分:

  1. Change everything to Don't Code Sign
  2. Change individual setting to appropriate developer/distribution profiles.
  1. 将所有内容更改为 Don't Code Sign
  2. 将个人设置更改为适当的开发人员/分发配置文件。

For example:

例如:

enter image description here

在此处输入图片说明

回答by torutoru

In my case, deleting a duplicate and invalid certificate in keychain fixed this problem..

就我而言,删除钥匙串中重复且无效的证书解决了这个问题。

回答by Islam Adel

  • 1- Clean (Product --> Clean)
  • 2- Remove Prov. Profile (Window --> Organizer ) remove unused and expired prov. profile
  • 3- Set everything to dont code sign in your project and target (press on your project under build settings under code sign set everything to dont code sign and do it again on you target)
  • 4- Relaunch Xcode
  • 5- Re-add prov. profile
  • 6- Go to code sign again and set them to your prov. profile.
  • 7- Do step 6 again for code sign in your target. If it didnt work try to make the next step
  • 8- Any iOS SDK under debug set it to iPhone or iPad developer under automatic profile selector.
  • 1- 清洁(产品 --> 清洁)
  • 2- 删除 Prov。配置文件(窗口 --> 管理器)删除未使用和过期的证明。轮廓
  • 3-在您的项目和目标中将所有内容设置为不进行代码签名(在代码签名下的构建设置下按下您的项目,将所有内容设置为不进行代码签名,然后在您的目标上再次执行)
  • 4-重新启动Xcode
  • 5- 重新添加 prov。轮廓
  • 6-再次转到代码签名并将它们设置为您的证明。轮廓。
  • 7- 再次执行步骤 6 以在目标中进行代码签名。如果它不起作用尝试进行下一步
  • 8- 调试中的任何 iOS SDK 在自动配置文件选择器下将其设置为 iPhone 或 iPad 开发人员。

回答by Kirit Vaghela

  1. Remove all Prov. Profile from Organizer
  2. From Menu Select Editor-> Refresh From Developer Center
  3. Enter your apple id and password and wait
  4. Go to Buit Settingsof App select development profilefor debugand ad-Hoc profilefor release
  1. 删除所有省。主办方简介
  2. 从菜单中选择编辑器->从开发者中心刷新
  3. 输入你的apple id和密码,然后等待
  4. 转到应用程序的Buit 设置,选择用于调试的开发配置文件和用于发布的临时配置文件

NoteIt is Advice to create two different profile for development and testing

注意建议为开发和测试创建两个不同的配置文件

  • For Development - > Create Development Profile -> Use
  • For Distribution -> Create Ad Hoc Profile
  • 用于开发 -> 创建开发配置文件 -> 使用
  • 对于分发 -> 创建 Ad Hoc 配置文件

回答by SRI

It should be problem with the Application Identifier in the plist file.Check that. Did you install the new Provisioning Profile?

plist 文件中的应用程序标识符应该有问题。检查一下。您是否安装了新的配置文件?