Missing Intercom/Intercom.h
See original GitHub issueHello everyone, I am facing this very strange and OLD problem that was affecting RN ≤ 0.40 users. I have a brand new Xcode project in swift (4.0) using cocoa pods (1.3.1). I have added, as you say, all the requirements in the podfile but I always have problems with the imports.
in IntercomUserAttributesBuilder.m
#import <Intercom/Intercom.h> //file not found
in IntercomWrapper.h
#if __has_include(<React/RCTAssert.h>)
#import <React/RCTBridgeModule.h>
#import <React/RCTUtils.h>
#else // back compatibility for RN version < 0.40
#import "RCTBridgeModule.h" // file not found.
#import "RCTUtils.h"
#endif
I am using: RN@0.50.3 react@16.1.1 react-native-intercom@9.0.0
Any suggestions? Any Idea?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Umbrella Header issue in iOS SDK 12.3.0 - Interconnected
umbrella header for module 'Intercom' does not include header 'ICMLoadingViewController.h'. I am using the following: macOS 12.4; Xcode 13.4 (13F17a) ...
Read more >Developers - Missing Intercom/Intercom.h - - Bountysource
Hello everyone, I am facing this very strange and OLD problem that was affecting RN ≤ 0.40 users. I have a brand new...
Read more >changelog - CocoaPods
Fixed UI issues in the navigation bar. Enhancements. Added the ability to set User Attributes on +[Intercom loginWithUserAttributes:success:failure:] ...
Read more >@yellowexpress/react-native-intercom - npm package | Snyk
H. 0. M. 0. L. All security vulnerabilities belong to production ... Looks like @yellowexpress/react-native-intercom is missing a security policy.
Read more >NOS VIC-3 Intercom Headset H-366, Missing MIC, for Military ...
Find many great new & used options and get the best deals for NOS VIC-3 Intercom Headset H-366, Missing MIC, for Military Intercom...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We had the same issue and took as two days to figure out that when dragging framework into embedded frameworks it automatically adds root folder to path, but since we had path without including ${inherit} it would not see the path added by XCode. Let me know if you did not get what I mean, it was difficult to figure out and difficult to describe. Hope this helps.
@ifero @afilp the steps that I followed in order to set up the library on IOS.
1 - npm install react-native-intercom --save 2 - react-native link 3 - Add the following scripts to AppDelegate.m
At this point I was facing the same error Missing Intercom/Intercom.h then I noticed I need to do some extra steps.
4 - Download Intercom for iOS and extract the zip.
5 - Go to your Xcode project’s “General” settings. Drag Intercom.framework to the “Embedded Binaries” section. Make sure “Copy items if needed” is selected and click Finish.
6 - Create a new “Run Script Phase” in your app’s target’s “Build Phases” and paste the following snippet in the script text field:
7 - You’ll need to make sure that you have a
NSPhotoLibraryUsageDescription
entry in your Info.plist.Hope this works for guys.