2

我有一个有两个目标的项目。我只是无法对较新的目标进行代码签名。我打算制作一个临时版本。即使我在任何地方都放了正确的配置文件,xcode 仍会继续查看旧目标的配置。这是我得到的错误:

“配置文件‘some-name’指定了与当前设置‘identifier2’不匹配的应用程序标识符‘identifier1’”

4

2 回答 2

2

I had a similar issue last night. (Seems to be a bug with X-code when there has been more than one bundle identifier with the same app?)

I "solved" it by setting code signing identity in Build Settings to Don't Code Sign for all targets, quitting X-code then restarting and re-assigning the targets you want:

enter image description here

After re-assigning, it seemed to pick up the correct provisioning profile.

于 2013-03-06T09:01:54.157 回答
1

问题隐藏在“编辑方案”中。“存档”部分不是在 Ad-hoc 上设置的,而是在 Release 上设置的。所以我把它放在 Ad-hoc 上。现在它起作用了。

于 2013-03-06T09:18:59.353 回答