gpt4 book ai didi

iOS OneSignalNotificationServiceExtension.appex : unknown error -1=ffffffffffffffff

转载 作者:行者123 更新时间:2023-11-29 00:06:00 37 4
gpt4 key购买 nike

我正在开发一个使用 OneSignal 集成推送通知的 iOS 应用程序。我遵循了 iOS SDK 设置指南,一切顺利,但由于我进行了最新的 xcode 更新和 macos 更新,我无法构建要发布的应用程序或仅在物理设备上构建应用程序。

我收到以下有关对 OneSignal 扩展进行代码签名的错误:

仅供引用:主要目标的包标识符是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

我做了一些研究,但没有发现任何有帮助的东西。

最佳答案

您需要将 OneSignalNotificationServiceExtension Bundle Identifier 更改为 {your app's bundle ID}.OneSignalNotificationServiceExtension。

除非您实际应用的 Bundle ID 是 com.example.ios.app,否则 bundle ID com.example.ios.app.OneSignalNotificationServiceExtension 将不起作用。

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

关于iOS OneSignalNotificationServiceExtension.appex : unknown error -1=ffffffffffffffff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48067871/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com