ios - Xcode 检查依赖关系错误 : OneSignalNotificationServiceExtension requires a provisioning profile

标签 ios xcode

我是 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'



enter image description here

enter image description here

更新:
选择 Onesignal 作为目标时,我选择了以下选项(没有自动选项)
enter image description here

最佳答案

转到您的 Xcode 设置 -> 一般 并观察这样的目标。选择 OneSignalNotificationServiceExtension 如果您也对主应用程序执行相同操作,则目标和复选标记自动登录。否则,请选择与您的应用相关的配置文件。

enter image description here

GoNative 支持中给出了相同的解决方案。查看:GoNative Support

关于ios - Xcode 检查依赖关系错误 : OneSignalNotificationServiceExtension requires a provisioning profile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47425782/

相关文章:

iphone - 如何使用 Xcode 4.5 将 UIImageView 嵌入到 iOS 中的 UIScrollView

ios - 将 NSString 转换为 Unsigned long

ios - IBM Worklight - 如何将条形码扫描仪phonegap 插件添加到 Xcode 5 中的 config.xml 中?

ios - 使用 Storyboards 的具有不同单元格原型(prototype)和高度的 UITableView

ios - 禁用 ScrollView 垂直滚动

ios - Swift 自定义单元格如果要在标签文本框之间更改

iphone - 如何处理用户数据在不同时间到达的多个推送通知?

xcode - 为什么我的 scrollView 是零?

iOS 即时通讯服务 : Best way to to check for new messages?

c++ - 命名空间 'atomic' 中没有名为 'std' 的类型