mac osx 10.11.1
node.js 4.2.4
xcode 7.2
react 0.18-rc
+
target device: 6s plus, ios 9.2
I got this error when I tried to use PushNotificationIOS, following the tutorial document in official web page.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RCTPushNotificationManager", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hey sweetest, thanks for reporting this issue!
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
react-native or for more real time interactions, ask on Discord in the #react-native channel.Getting the same error on v0.19, was working on v0.18.1
@sweetest I had the same issue because I forgot to properly manually link the RCTPushNotification project. Following these steps resolved it; https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
@poyannabati Maybe you have to do it again after upgrading?
@bartolkaruza You nailed it. That solved the issue for me after upgrade to 0.23.
@poyannabati, did that do it for you too?
Build PhasesLink Binary With Libraries+ to linkWorkspace have been added
Most helpful comment
@sweetest I had the same issue because I forgot to properly manually link the RCTPushNotification project. Following these steps resolved it; https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
@poyannabati Maybe you have to do it again after upgrading?