推 inzaghi0507:你有新增Entitlement檔案嗎? Debug有沒有換成Release? 12/21 11:13
→ inzaghi0507:code signing identity 有兩個選項 12/21 11:14
→ inzaghi0507:第一個先選Distribution 12/21 11:16
→ inzaghi0507:第二個在選符合你Bundle ID的Provision file 12/21 11:16
感謝樓上,但是不行。
Entitlement 應該是發Distribution跟adhoc用到的,我是要debug
update:
iphone已回復到iOS 4.2.1 還是不行
移除xcode sudo <Xcode>/Library/uninstall-devtools --mode=all
重裝之後還是不行
※ 編輯: upyours 來自: 111.248.168.40 (12/21 15:10)
問題出在keychains裡
打開keychains 左上點login ,左下點certificates
右邊應該有兩個certificates
1) Apple Worldwide Developer Relations Certification Authority
2) iPhone Developer: your_name (XXXXXXXXXX)
兩個都先double-click,trust設定成use system default
接著,右鍵點1) evaluate Apple Worldwide Developer ........
選generic,continue,done 這邊應該是沒有問題,有問題請重新下載
右鍵點2) evaluate iPhone Developer .......
選generic,continue,
底下evaluation status會顯示:No root cert found
從keychain視窗,把apple worldwide那個cert拖曳過來目前的小視窗
evaluation status 會變成 success
然後done
回到xcode,build & run 完成。
※ 編輯: upyours 來自: 111.248.168.40 (12/21 16:08)