【发布时间】:2019-04-05 09:56:25
【问题描述】:
我已经能够成功构建这个 IOS 应用的调试版本。但是,我想创建一个 IPA 以确保它适用于各种 iphone。我做的第一件事是去产品->方案->编辑方案。然后我从调试切换到发布。清理后,并尝试构建应用程序的发布版本。我立即得到一个错误:"MYapp has conflicting provisioning settings. MYapp is automatically signed, but provisioning profile MYApp Distribution has been manually specified. Set the provisioning profile value to "automatic" in the build settings editor, or switch to manual signing in the project editor(in target MYapp).
我尝试的第一件事是在构建设置中将代码签名样式切换为手动。这导致了一个新错误:
error: Provisioning profile "MYApp Distribution" doesn't include signing certificate "iPhone Developer: Name here (XXXXXXXX)". (in target 'MYApp')
我回到 Targets 中的 General 选项卡并点击“自动管理签名”。我第一次尝试构建时尝试重建并遇到相同的错误。
我不确定冲突来自何处。 This 帖子表明只需单击自动签名即可。
我对使用 Xcode 和了解配置文件非常陌生。
【问题讨论】:
-
您需要展示您的代码签名设置的图片。您似乎正在尝试使用分发配置文件和开发证书进行构建。
标签: ios react-native provisioning-profile