错误:体系结构x86_64的未定义符号:react-native中的“ _OBJC_CLASS _ $ _ RNPermissionHandlerStoreKit”

时间:2020-01-08 07:57:05

标签: react-native react-native-ios onesignal react-native-permissions

我正在做一个本机反应项目,并且正在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-permissionsOneSignal进行推送通知

非常感谢您的帮助。

0 个答案:

没有答案