jerson / react-native-fast-openpgp

OpenPGP for react native made with golang for fast performance
https://www.npmjs.com/package/react-native-fast-openpgp
MIT License
45 stars 18 forks source link

Build failed on iOS:Undefined symbols for architecture x86_64 #98

Closed lmp95 closed 9 months ago

lmp95 commented 11 months ago

I cannot build on ios platform. I got this error. It's worked on android.

Undefined symbols for architecture x86_64: "_OBJCCLASS$_RCTAppDelegate", referenced from: _OBJCCLASS$_AppDelegate in AppDelegate.o "_OBJCCLASS$_RCTBundleURLProvider", referenced from: objc-class-ref in AppDelegate.o "_OBJCMETACLASS$_RCTAppDelegate", referenced from: _OBJCMETACLASS$_AppDelegate in AppDelegate.o "_RCTIsMainQueue", referenced from: -[FastOpenpgp setBridge:] in libreact-native-fast-openpgp.a(FastOpenpgp.o) "_RCTRegisterModule", referenced from: +[FastOpenpgp load] in libreact-native-fast-openpgp.a(FastOpenpgp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

System: OS: macOS 14.1.1 CPU: (8) arm64 Apple M1 Memory: 205.69 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.16.0 path: /usr/local/bin/node Yarn: version: 1.22.19 path: /usr/local/bin/yarn npm: version: 9.5.1 path: /usr/local/bin/npm Watchman: version: 2023.11.27.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: