代码中改为:
let JpushAppKey:String = "54ab761c3b571e2cf7dcdb47"
// masterSecret: 6e97a9601552641aaa122f20
let JpushChannel:String = "iOS-AppStore"
//let JpushIsProduction:Bool = false
let JpushIsProduction:Bool = true
Xcode中的code signing和profile:

然后去arcive打包adhoc去测试:

以及:
[已解决]Your build settings specify a provisioning profile with the UUID











选择保存路径后,打开:



然后去别处发消息:

然后iOS设备中,终于,收到推送了:

转载请注明:在路上 » [已解决]测试生产环境的JPUSH消息推送