锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置:锐英源 / 开源技术 / IOS开源社区 / Xcode 7项目中的签名无效
服务方向
人工智能数据处理
人工智能培训
kaldi数据准备
小语种语音识别
语音识别标注
语音识别系统
语音识别转文字
kaldi开发技术服务
软件开发
运动控制卡上位机
机械加工软件
软件开发培训
Java 安卓移动开发
VC++
C#软件
汇编和破解
驱动开发
联系方式
固话:0371-63888850
手机:138-0381-0136
Q Q:396806883
微信:ryysoft

锐英源精品开源,禁止转载和任何形式的非法内容使用,违者必究


iOS OneSignalNotificationServiceExtension.appex unknown error -1

I am working on an iOS app which integrates push notifications using OneSignal. I've followed the iOS SDK setup guide and everything did work out fine but since I did the latest xcode update and macos updates I can't build the app for release or just on a physical device.我正在开发一个iOS应用程序,该应用程序使用OneSignal集成了推送通知。我遵循了iOS SDK安装指南,并且一切工作都很好,但是由于我做了最新的xcode更新和macOS更新,因此无法构建要发布的应用程序,或者说不能仅在物理设备上构建该应用程序。

I get the following error about code signing the OneSignal extension:我收到以下有关对OneSignal扩展进行代码签名的错误:

FYI: The main target's bundle identifier is com.example.ios.app仅供参考:主要目标的捆绑包标识符为 com.example.ios.app

CodeSign /Users/myUser/Library/Developer/Xcode/DerivedData/myApp-detsaukwwypeutcadzxgviircfje/Build/Intermediates.noindex/ArchiveIntermediates/myApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OneSignalNotificationServiceExtension.appex
    cd /Users/pathToProject
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: Me (##########)"
Provisioning Profile: "iOS Team Provisioning Profile: com.example.ios.app.OneSignalNotificationServiceExtension"
                      (######-####-####-####-######)

    /usr/bin/codesign --force --sign E7160941E1D4E45D870F30CB31F3EC30BFB0ABBA --entitlements /Users/myUser/Library/Developer/Xcode/DerivedData/myApp-detsaukwwypeutcadzxgviircfje/Build/Intermediates.noindex/ArchiveIntermediates/myApp/IntermediateBuildFilesPath/myApp.build/Release-iphoneos/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex.xcent --timestamp=none /Users/myUser/Library/Developer/Xcode/DerivedData/myApp-detsaukwwypeutcadzxgviircfje/Build/Intermediates.noindex/ArchiveIntermediates/myApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OneSignalNotificationServiceExtension.appex

/Users/myUser/Library/Developer/Xcode/DerivedData/myApp-detsaukwwypeutcadzxgviircfje/Build/Intermediates.noindex/ArchiveIntermediates/myApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OneSignalNotificationServiceExtension.appex: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1

I've done some research but haven't found anything that was of any help.我已经进行了一些研究,但没有发现有任何帮助。

You need to change the OneSignalNotificationServiceExtension Bundle Identifier to be {your app's bundle ID}.OneSignalNotificationServiceExtension.

Unless your actual app's Bundle ID is com.example.ios.app, the bundle ID com.example.ios.app.OneSignalNotificationServiceExtension will not work.

Once you change the Bundle ID, you can enable Automatic provisioning and it should work.

您需要将OneSignalNotificationServiceExtension捆绑包标识符更改为{您的应用程序的捆绑包ID} .OneSignalNotificationServiceExtension。

除非您的实际应用程序的捆绑包ID是com.example.ios.app,否则捆绑包ID com.example.ios.app.OneSignalNotificationServiceExtension将无法使用。

更改Bundle ID后,您可以启用自动配置,它应该可以正常工作。

友情链接
版权所有 Copyright(c)2004-2021 锐英源软件
公司注册号:410105000449586 豫ICP备08007559号 最佳分辨率 1024*768
地址:郑州大学北校区院(文化路97号院)内