看板 MacDev 關於我們 聯絡資訊
請問有人遇過didFailToRegisterForRemoteNotificationsWithError, error message為 Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x17407f140 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application build 成Distribution ipa的時候就會出現這樣的錯誤, 但是實機debug的時候可以正確的取得device token, stack overflow上有人說把xcode的account打開後按下view detail, refresh就可以了,我也照做了,還是不行, 也有人提到憑證錯誤的問題, 但是我的憑證狀態又都是正常的push都有enable, 實在不知道該怎麼做了,請問有解法嗎? http://imgur.com/6E42Gn6 http://imgur.com/83g63Ed -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.72.69.111 ※ 文章網址: https://www.ptt.cc/bbs/MacDev/M.1439812896.A.996.html
stweber2001: debug跟release的憑證不同,看起來你沒有設置release 08/17 20:33
stweber2001: 的憑證 08/17 20:33