获取不到token,provisioning profile配置异常

yuxiaowei
2018-05-09 05:48 1.6k 0

极光推送报的错误:Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed? or there is no APNs register code? Please refer to JPush docs.

这边认为是没有配APNs权限。这个配置文件我是选的自动管理签署,

我手动去选我自己生成的配置文件。报的错是:
A valid provisioning profile for this executable was not found.

我这边发现signing Certificate 我生成的和自动管理的APP ID好像不一样:

总的问题就是我自己去配的Provisioning Profiles 不能成功打包iOS

1个回答

热门排序
  • aoyy
    2018-05-09 06:08

    你手动选择profile文件匹配的是你的生产证书,自动配置的匹配的是开发证书,检查一下你的profile文件是开发还是生产的