react-native-intercom: 'Intercom/Intercom.h' file not found

app/node_modules/react-native-intercom/iOS/IntercomUserAttributesBuilder.m:10:9: 'Intercom/Intercom.h' file not found

react-native-intercom: 11.0.0 intercom-ios: 5.0.2

Tried every combination of Search Paths, adding and removing Libraries and the framework, react-native link but can’t get the app to build. Worked with react-native-intercom 10.2.0 and an older version of the iOS SDK

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 8
  • Comments: 19 (6 by maintainers)

Most upvoted comments

No.

Sorry, I was reacting to the single word “No” response and the closing of the issue with no further comment, which seems to me a poor way to respond to a legitimate request.

Since most react native packages offer a simple install mechanism with react-native link, it seems entirely reasonable an expectation to have of this repo.

An alternative response to “No [closes issue]” could also have been “I don’t have any plans to implement this due to lack of time, but I am totally open to any PRs”, or “I don’t think this is the right direction for this package, so I won’t be implementing it, but feel free to fork this repo and do as you please” or whatever.

I admit I thought this was maintained by Intercom (and find it a little unsettling that they don’t invest in this project themselves), so I do apologize for any offense my ignorance may have caused.

I’m seeing this still with the latest version. Is react-native link ever going to be a thing for this lib?

Yeah this looks like a bug on RNIntercom. According to the IOS docs it is now import Intercom instead of import Intercom/Intercom.h

See here: https://developers.intercom.com/docs/ios-installation

It must be a change with the new sdk

Wow seriously? Sort of speechless at this answer, but I guess we don’t need Intercom all that much, now that I think about.

Based upon the advice in this thread (and others) I wrote the install steps I took to get react-native-intercom working: https://github.com/tinycreative/react-native-intercom/pull/215 https://github.com/tinycreative/react-native-intercom/pull/218

Thanks, y’all.

I resolved this by locking my package.json react-native-intercom to 10.2.0 (It was on 11.0.0 after yarn install react-native-intercom and then manually installing ios SDK 4.1.9