[問題] code sign error~~~

看板MacDev作者 (Wayne)時間13年前 (2012/06/20 09:53), 編輯推噓2(209)
留言11則, 3人參與, 最新討論串1/1
各位好 小弟六月中idp到期,後來有續買。 昨天,我要compile並傳實機測試時,發現憑證好像過期,於是我到官網去更新。 由於這個流程我太久沒用了,進官網就點了"Launch Assistant",完全照做~~~ 後來,發現程式還是沒法順利compile並傳實機..出現以下錯誤訊息。 Code Sign error: A valid provisioning profile matching the application's Identifier 'xxxxxxx' could not be found. A valid provisioning profile matching the application's Identifier 'xxxxxxx' could not be found. 想請問各位,該如何解決。謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.170.50.192

06/20 10:49, , 1F
Organizer那邊有做並看到新的憑證到期日嗎?
06/20 10:49, 1F

06/20 11:02, , 2F
有耶。Organizer->iphone->Provisioning Profile有新日期,
06/20 11:02, 2F

06/20 11:03, , 3F
並顯示狀態為Valid profile。
06/20 11:03, 3F

06/20 11:06, , 4F
你的project的build settings裡面 把code sign重選看看
06/20 11:06, 4F

06/20 11:14, , 5F
一般都選什麼?我這裏是 Don't Code Sign...
06/20 11:14, 5F

06/20 11:19, , 6F
唉呀。原來是我的TARGET->Summary->Bundle Indentifier跟憑
06/20 11:19, 6F

06/20 11:19, , 7F
證沒有match.... >.< 感謝r大跟p大的協助
06/20 11:19, 7F

06/20 11:21, , 8F
完全是被Organizer->iphone->Provisioning Profiles裏憑證
06/20 11:21, 8F

06/20 11:22, , 9F
的App Identifier給誤導。R8xxxxxE.com.ggg.*,結果我在
06/20 11:22, 9F

06/20 11:23, , 10F
Bundle Identifier裏打R8xxxxxE.com.ggg.aa是不行的,要把
06/20 11:23, 10F

06/20 11:23, , 11F
前面那個R8xxxxE給拿掉,變com.ggg.aa就行了...@@"
06/20 11:23, 11F
文章代碼(AID): #1FuIqo91 (MacDev)