我正在做一个本机反应项目,并且正在android和IOS上测试我的应用程序, Android可以完美运行,但是在构建iOS应用时出现此错误:
完全错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RNPermissionHandlerStoreKit", referenced from:
objc-class-ref in libRNPermissions.a(RNPermissions.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/yashatreya/Desktop/realyze/ios/build/realyze/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal x86_64
(1 failure)
我正在使用react-native-permissions
和OneSignal
进行推送通知
非常感谢您的帮助。