目前碰過兩種case,皆導致無法Build到Device
1.Xcode -> Organizier -> Device : "Could not support development"??
Sol:把iPhone重開機(power-off/power-on)+Xcode重開(Restart)
2.Xcode -> Organizier -> Provision Profile : "A valid signing identity matching this profile could not be found in your keychain."
Sol:主要是Certificate出問題,
到iPhone Developer Program -> Program Portal -> Certificate
執行Revoke動作
3.Certificates (Ref: http://vawlog.blogspot.com/2009/03/iphone-dev-center-iphone.html)
3-1 打開Mac的鑰匙圈存取(Keychain Access)選 ->憑證輔助程式->從憑證授權要求憑證 產生Certificate
3-2 填使用者email 一般名稱 ex:vawlog dev key 然後儲存到磁碟(可以存在桌面)
3-3 依畫面指示把憑證傳至iPhone provisioning portal網頁上
3-4 Profile Description 打軟體描述
3-5 等一分鍾之後 把產生出來的provisioning profile下載來並把檔案拖到xcode即可安裝
3-6 確認install有沒有出現在organizer裡面
3-7 下載並雙擊安裝憑證
3-8 到鑰匙圈存取(Keychain Access)確認開發憑證
3-9 執行你的Xcode 拋棄iPhone模擬器選擇Device-iPhone來作測試