apple 和 google 是否要求我购买代码签名证书?

Does apple and google requires me to buy code signing certificate?

说真的,我已经尽可能多地搜索并且无法回答这个问题。

当您访问大量证书颁发者网站并且没有人真正说 google 和 apple 要求我或不购买这些昂贵的代码签名证书时,这会让人感到困惑。

这可能不是 Whosebug 的问题,但我在其他论坛中没有找到与之相关的内容,但在这里。

对于 Android 和 iOS 平台,您需要代码签名证书。但是很多商业 CA 提供的常规代码签名证书不是必需的 (Android) 或根本不能使用 (iOS)。

对于 Android,您只需 generate a self-signed certificate (uploading it to Google is optional). Just make sure to backup this certificate and private key as it is required for updating your app in PlayStore. For app publishing via Google PlayStore a Google Developer account 即可($25 美元的一次性注册费)。

对于 iOS,您需要一个 Apple ID 帐户并注册 Apple Developer account which costs you USD per year (for certain persons/groups you can get it for free)。

如果您正在学习移动应用程序开发并且想要编写一些示例项目,那么您可以 运行 在 simulators/emulators 上完成它们。这不需要任何证书。但是如果你想 运行 他们在实际 device/submit 到 Appstore/Play 存储你需要证书和配置文件。

希望我回答了你的问题:)