【问题标题】:Code signing problems while testing on device在设备上测试时出现代码签名问题
【发布时间】:2023-12-24 04:18:01
【问题描述】:

我正在准备将我的应用程序发送到 iTunesConnect,然后我为我的应用程序分发创建了一个配置文件。当我在具有分发配置的设备上测试我的应用时,应用无法打开并出现一条消息A valid provisioning profile for this executable was not found. 我的问题是:在设备上测试具有分发代码签名的应用有问题吗?

【问题讨论】:

    标签: xcode distribution app-store-connect code-signing


    【解决方案1】:

    您需要创建一个 Ad Hoc 配置文件来测试发布版本。见http://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html#//apple_ref/doc/uid/TP40012582-CH8-SW1

    或者使用服务。我使用TestFlight 分发测试版并喜欢它我还使用Crashlytics 进行崩溃报告,并将在我的 App Store 版本中包含 crashlytics,但不包含 TestFlight SDK。

    【讨论】: