tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
406 stars 280 forks source link

IOS build error #359

Closed wadeyw closed 2 years ago

wadeyw commented 4 years ago

Hi, I'm following the steps to setup the project, but I'm facing below issues

IOS: pod install showing error [!] CocoaPods could not find compatible versions for pod "react-native-intercom": In Podfile: react-native-intercom (from ../node_modules/react-native-intercom)

Specs satisfying the react-native-intercom (from../node_modules/react-native-intercom) dependency were found, but they required a higher minimum deployment target.

My package version: "react": "16.9.0", "react-native": "0.61.4", "react-native-intercom": "^15.0.0",

hemche commented 4 years ago

Can you see if the target is set to iOS 10.0 ? @wadeyw intercom now, supports only iOS 10 and above.

Screen Shot 2020-04-20 at 4 32 39 PM
wiredots01 commented 4 years ago

hi,

after solving the above pod install problem,

this error appears

Screen Shot 2020-05-13 at 10 05 20 PM
filipchr commented 4 years ago

@wadeyw @wiredots01

This might do the trick.

Create the file react-native.config.js in the root of your project, then add this config.

module.exports = {
  dependencies: {
    'react-native-intercom': {
      platforms: {
        ios: null,
      },
    },
  },
};

For more info on how to disable autolinking

kamyab-tatva commented 3 years ago

I am facing the same error "/ios/Intercom.framework/Headers/Intercom.h:14:2: This version of Intercom for iOS supports iOS 10.0 upwards." Version : "react": "16.13.1", "react-native": "0.63.3", "react-native-intercom": "^18.0.0"

IOS version in Xcode is: 11.0

ramisalem commented 3 years ago

@kamyab-tatva Have you fixed your issue? I am facing the same error