我是 Xcode 的新手,但支付了 GoNative 将我们的网络应用程序变成原生移动应用程序的费用。关注 the instructions on GoNative 时并使用 OneSignal 扩展,当我尝试存档应用程序或单击“播放”按钮进行测试时出现以下错误。我查看了项目编辑器,但似乎找不到解决此错误的方法。我在 xcode 中有我的 iOS 证书,但不知道如何将配置文件添加到依赖项。
错误:
OneSignalNotificationServiceExtension requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor. Code signing is required for product type 'App Extension' in SDK 'iOS 10.3'
更新:
选择 Onesignal 作为目标时,我选择了以下选项(没有自动选项)
最佳答案
转到您的 Xcode 设置 -> 一般 并观察这样的目标。选择 OneSignalNotificationServiceExtension 如果您也对主应用程序执行相同操作,则目标和复选标记自动登录。否则,请选择与您的应用相关的配置文件。
GoNative 支持中给出了相同的解决方案。查看:GoNative Support
关于ios - Xcode 检查依赖关系错误 : OneSignalNotificationServiceExtension requires a provisioning profile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47425782/