看板 MacDev 關於我們 聯絡資訊
各位前輩好,我想請教apple申請的步驟 不知我哪個流程出問題,請各位能幫我看看嗎? 目前是因為要上傳程式到實機時(使用APNS憑證), 在Xcode的target會出現No matching provisioning profiles found. 我的xcode是5.1.1版。 我的還沒有申請APNS時,選擇的憑證還可以正常的上載到實機, 但加了APNS憑證會出現該問題。我列出我加APNS憑證的步驟, 先在mac鑰匙圈建立憑證,上傳到App Developer網站裡的Apple ID裡 Push Notification service SSL Certificates 產生下載CSR檔, 然後重新產生一次Provisioning Profiles 下載下來開啟。 所以目前我的鑰匙圈內容與憑證長這樣子: http://i.imgur.com/SJ7EJte.png http://i.imgur.com/3ZlvaCU.png 然後我到Code Signing Identity裡頭發現卻沒有出現 Apple Development iOS Push Services :idv.yu.yuTestAPNSApp 的選項(如圖:http://i.imgur.com/zl7bUW4.png) 此時到General去看就會出現 No Matching provisioning profiles found的問題, http://i.imgur.com/adanqkV.png 我的bundle ID確定與apple Developer網站申請的相同, 我覺得奇怪,我就把我的開發者專用密鑰匯出給別台b電腦, 也把這APNS匯出p12給b電腦匯入, 這時b電腦開啟相同的專案 看code signing identity卻有出現 Apple Development iOS Push Services:idv.yu.yuTestAPNSApp 的選項, 但在原本那台卻沒有出現= = 但選擇這個code signing去build也會出現 no matching provisioning profiles found的問題。 請問這之間什麼步驟我沒有做到呢? 謝謝 (手機的udid也有在網站加入) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.135.60.106 ※ 文章網址: http://www.ptt.cc/bbs/MacDev/M.1400755326.A.86B.html
benjenq:習慣上APNs我會另外申請一組key來製作。 05/23 02:18
nobody1:實機? apns? apns憑證是給發推播的server用的 05/23 13:02
bruce620:apns憑證會匯出給server用我知道 那請問在上傳到實機時 05/23 18:33
bruce620:code signing identity是選developer 的那個還是 05/23 18:34
bruce620:Apple Development iOS Push Services..這個? 謝謝 05/23 18:34
bruce620:我這所謂上傳到實機是指app傳到實機 05/23 18:35