
Licence: Apache2
Classification: Intercom
Platform: IOS
Language: Swift / Objective C
Language: Swift / Objective C
Device:
iPhone / iPad
CocoaPods
Add the Intercom pod into your Podfile and run pod install.
target :YourTargetName do
pod 'Intercom'
end
pod install. target :YourTargetName do
pod 'Intercom'
end
Carthage
- Add
github "intercom/intercom-ios" to your Cartfile.
- Run carthage update.
- Go to your Xcode project's "General" settings. Drag
Intercom.framework from Carthage/Build/iOS to the "Embedded Binaries" section. Make sure “Copy items if needed” is selected and click Finish.
github "intercom/intercom-ios" to your Cartfile.Intercom.framework from Carthage/Build/iOS to the "Embedded Binaries" section. Make sure “Copy items if needed” is selected and click Finish.Manual Installation
- Download Intercom for iOS and extract the zip.
- Drag
Intercom.framework into your project.
Make sure "Copy items if needed" is selected and click Finish.
Intercom.framework into your project.
3. In the target settings for your app, set the Intercom.framework to “Embed & Sign”. This can be found in the “Frameworks, Libraries, and Embedded Content” section of the “General” tab.

4. Create a new "Run Script Phase" in your app’s target’s "Build Phases" and paste the following snippet in the script text field: bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Intercom.framework/strip-frameworks.sh"
This step is required to work around an App Store submission bug when archiving universal binaries.
bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Intercom.framework/strip-frameworks.sh"
Update Info.plist
When installing Intercom, you'll need to make sure that you have a NSPhotoLibraryUsageDescription entry in your Info.plist.
This is required by Apple for all apps that access the photo library. It is necessary when installing Intercom due to the image upload functionality. Users will be prompted for the photo library permission only when they tap the image upload button.
NSPhotoLibraryUsageDescription entry in your Info.plist.
