Code Sign error: Application Identifier 'xxx' which doesn't match the current setting 'xxx'

来源:互联网 发布:农业部渔船数据科 编辑:程序博客网 时间:2024/06/10 05:08

[iOS]xcode bug! Code Sign error: Application Identifier 'aaa.bbb.ccc' which doesn't match the current setting 'aaa.bbb.ccc'





使用xcode開發iOS時常常會需要更新provision(新增移除device時) 後在下載重新打包app,但此時都會發生一個很詭異的問題

Code Sign error: Provisioning profile 'XXX Developer' specifies the Application Identifier  'aaa.bbb.ccc'  which doesn't match the current setting 'aaa.bbb.ccc'

WTF!!!!!!

明明一模一樣還給我報錯...

原來這是xcode長久以來的重大bug(其實我真的很討厭更新provision....一堆奇怪問題)

其實這可以透過一系列的神奇步驟就把這個問題解掉了,步驟如下:

1.Clean,

2.remove the profile, set everything to "Don't code sign,"

3.relaunch Xcode and re-add the profile and set code signing again before it worked.

4.done!

 

其實一直覺得xcode很難用...不得不回想visual studio的好....哎 希望大家能少踏上找錯道路開心的開發程式

以上方法可能只解决部分问题,如果接下来你发现又报错了,

Code Sign error: Provisioning profile ‘XXXX'can't be found

请参考下一篇



原创粉丝点击