我用的是公司的账号,有一篇文章个人账号 。参考链接 【猿人作者】七秒记忆鱼儿
1.其实真机测试证书和打包上架证书就是告诉苹果,我在用那台电脑真机测试的,我在用那台电脑上架产品。
2.真机测试还是需要三个的配置文件:
真机配置文件:就是告诉苹果我要用那台电脑,再那个手机上测试那个APp
打包配置文件:就是告诉苹果我要用那台电脑,打包那个APP后,在那个手机上运行
上架配置文件:就是告诉苹果我在用那台电脑,上架哪一个APP
生成的推送的证书在下面,用到的朋友们可以看看,不用的可以直接忽略
1.创建 App ID,不用通配符填写包名,并选择带有推送功能。
2.分别创建证书。
3.创建profile文件
4.下载证书,双击安装证书和profile文件
5.显示证书无效的解决方法,我是
AppleWWDRCA.cer
证书过期的原因,安装新的证书,然后删除原来的证书。下载地址:https://developer.apple.com/certificationauthority/AppleWWDRCA.cer。
6.导出推送的证书。不要展开。
7.上传到极光后台
8.真机调试,需要在xcode选择刚才的证书以及profile,证书在mac上安装过才能在xcode选择。
9.导出证书在别的机器上使用。
10.xcode编译 ping++插件报错
ld: ...Plugins/co.airsia.cordova.pingpp/libWeChatSDK.a(AppCommunicateData.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
解决方法:build settings 里搜 bitcode,设置为 NO
issues:https://github.com/TongChia/cordova-plugin-pingpp/issues/7
ping++支付插件地址:https://github.com/TongChia/cordova-plugin-pingpp