真機調試時,遇到問題,直接上圖
image
圖片看不了,請看文字:
The 'Apple Push Notification' feature is only availble to users enrolled in Apple Developer Program. Please visit https://developer.apple.com/programs/ to enroll.
參考方案:點擊打開鏈接
解決步驟:
1、在projectName.xcodeproj
文件上右鍵“顯示包內容”,用文本編輯器打開project.pbxproj
文件
2、查找:
com.apple.Push = {
enabled = 1;
};
修改為:
com.apple.Push = {
enabled = 0;
};