cmaycumber / config-plugin-react-native-intercom

Expo plugin for adding @intercom/react-native-intercom using expo config plugins
74 stars 38 forks source link

IOS build fails #53

Closed BasilJohn closed 1 year ago

BasilJohn commented 1 year ago
"@intercom/intercom-react-native": "^4.0.1",
"config-plugin-react-native-intercom": "^1.8.0",
"expo": "^46.0.0",

App.json

"plugins": [ "@react-native-firebase/app", [ "expo-build-properties", { "android": { "compileSdkVersion": 33, "targetSdkVersion": 33 }} ], [ "config-plugin-react-native-intercom", { "iosApiKey": "private", "androidApiKey": "private", "appId": "private", "experimentalBumpMinIosPlatformVersion": true } ], [ "expo-image-picker", { "photosPermission": "The app accesses your photos to let you share them with your friends." } ] ],

When I build app using eas build I get the below error.

Screenshot 2023-01-24 at 10 57 08

Any thoughts on this please.

enagorny commented 1 year ago

@BasilJohn have you tried to use the --clear-cache as eas suggest? eas build --clear-cache

BasilJohn commented 1 year ago

@enagorny I tried and got the same error.

jmorrice commented 1 year ago

Intercom only supports iOS 13 and above, so you need to set:

ios: { deploymentTarget: "13.0" },

enagorny commented 1 year ago

@BasilJohn does it work for you https://github.com/cmaycumber/config-plugin-react-native-intercom/issues/53#issuecomment-1430259528 ?

BasilJohn commented 1 year ago

@BasilJohn does it work for you #53 (comment) ?

Yes it does thanks