我有一个C++代码,我在MacOSX10.10上构建在Netbeans (8.0.1)上。
现在我想打包这个二进制文件,所以我使用PackageMaker。一旦PackageMaker上的构建完成,它要求对其进行签名,我单击了“允许”。
然后我打开终端,检查包裹是否成功地签名,我得到了:
codesign -v G16.pkg
G16.pkg: code object is not signed at all.
我登录apple developer的“证书、标识符和概要文件”页面,我拥有:
2开发人员ID申请证书
4开发人员ID安装程序
1 Mac应用程序分发
1 Mac开发
当我试图在Parse.com上上传生产证书以进行推送通知时。
有错误信息
不支持的证书类型。通用名称(CN)必须包含以下内容之一: Apple Production IOS Push Services、Apple Development IOS Push Services、Pass Type ID、Apple Development Mac Push Services、Apple Production Mac Push Services。
经过一番研究,我才知道。
当我们从苹果公司出口生产证书时,
以前的常见名称是: Apple Production IOS Push Services
试图在parse.com上上载新的生产通知证书会导致以下错误
Unsupported certificate type. Common Name (CN) must contain one of: Apple Production IOS Push Services, Apple Development IOS Push Services, Pass Type ID, Apple Development Mac Push Services, Apple Production Mac Push Services.
现在看来prod证书的通用名称是Apple Push Services: com.
我正在阅读 on iOS push证书,我对这一段落感到困惑:
Your backend sends notifications through Apple's servers to your application. To ensure that unwanted parties are not sending notifications to your application, Apple needs to know that only your servers can connect with theirs. Apple therefore requires you to cre
我对ipad/iphone应用程序非常陌生。我对使用phonegap完全陌生。我下载了一个HelloWorld应用程序并使用xcode打开了它。它在模拟器中工作得很好。所以我试着把它部署到我的iPad上。当我在xcode中点击Build并运行时,我得到了以下错误:
Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain.
我不知道这意味着什么。几个月前,我申请了苹果的开发者程序