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

摘要:[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的好....哎 希望大家能少踏上找錯道路開心的開發程式


如果覺得文章還不錯麻煩請在文章最上面給予推薦,你的支持是小弟繼續努力產出的動力!