简体   繁体   English

在构建和提交到应用商店时使用代码符号有什么区别?

[英]What are the difference of using code sign during building and submitting to app store?

When you submit the app to appstore, there are two times you need to select the code sign, eg 当您将应用程序提交到appstore时,您需要两次选择代码符号,例如

  1. during code build 在代码构建期间
  2. during upload 上传期间

What are the difference? 有什么区别? What if I select two different code sign during 1 & 2 如果我在1和2期间选择两个不同的代码符号怎么办?

The first time xcode will verify your distribution certificate. xcode将首次验证您的分发证书。 Second time is a little bit tricky, if you are uploading the app, of course you have to use distribution codesign, but if you are building for Ad Hoc, you can select either developer certificate or distribution certificate, but the problem is that the devices you added in the distribution provisioning profile can not install this app if you use developer certificate to build the app. 第二次有点棘手,如果你要上传应用程序,当然你必须使用分发代码签名,但如果你正在构建Ad Hoc,你可以选择开发人员证书或分发证书,但问题是设备如果您使用开发人员证书来构建应用程序,则在分发配置文件中添加的内容无法安装此应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM