Closed isAlmogK closed 5 years ago
Anyone have any ideas about this?
Hey! Got the same issue and solved it. You need to do the following:
Follow the three steps at this link: https://github.com/intercom/intercom-ios
Open Xcode -> Right click Libraries and select Add File to Project Name -> Select RNIntercom.xcodeproj located in node_modules/react-native-intercom/iOS
Open General Settings -> Build Phases -> Link Binary with Libraries and add libRNIntercom.a
Hope this help!
@Swappdevelopment I did this and now I'm getting No Known class method for selector 'logout' No known class method for selector presentHelpCenter
@Swappdevelopment I was able to fix No Known class method for selector but I'm still getting unread issue
@AlmogRnD Did you ever end up solving this?
Got it, I needed to add the libRNIntercom.a
to the linked frameworks and Libraries section for all of my build targets and use the latest version of the iOS Intercom SDK (currently 5.0.2).
For other looking to solve this, right-click your Libraries folder in Xcode and then "Add files to <project>/node_modules/react-native-intercom/iOS
folder. Then you should be able to easily add the library libRNIntercom.a
under Build Phases > Link Binary with Libraries.
Getting the following build error on iOS, I'm on the latest version of react native, this package and the intercom ios SDK.