最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]测试生产环境的JPUSH消息推送

iOS crifan 2736浏览 0评论

代码中改为:

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

选择保存路径后,打开:

[记录]把Xcode导出的ipa程序安装到iPhone中

然后去别处发消息:

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

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

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.157 seconds, using 22.10MB memory