can't install ZendeskSDK
Opened this issue · 1 comments
MasahiroMorita commented
I have added your package:
$ yarn add react-native-zendesk
$ react-native link react-native-zendesk
then I tried to install pod file, but it was failed.
$ pod install
Analyzing dependencies
Fetching podspec for `RNDeviceInfo` from `../node_modules/react-native-device-info`
Fetching podspec for `RNGestureHandler` from `../node_modules/react-native-gesture-handler`
Fetching podspec for `RNReanimated` from `../node_modules/react-native-reanimated`
Fetching podspec for `RNScreens` from `../node_modules/react-native-screens`
Fetching podspec for `RNShare` from `../node_modules/react-native-share`
Fetching podspec for `React` from `../node_modules/react-native`
Fetching podspec for `react-native-fast-image` from `../node_modules/react-native-fast-image`
Fetching podspec for `react-native-zendesk` from `../node_modules/react-native-zendesk`
Fetching podspec for `yoga` from `../node_modules/react-native/ReactCommon/yoga`
[!] CocoaPods could not find compatible versions for pod "react-native-zendesk":
In Podfile:
react-native-zendesk (from `../node_modules/react-native-zendesk`)
Specs satisfying the `react-native-zendesk (from `../node_modules/react-native-zendesk`)` dependency were found, but they required a higher minimum deployment target.
[!] `<PBXGroup name=`Recovered References` UUID=`B801125E1F748AEB000E8863`>` attempted to initialize an object with an unknown UUID. `2004FA5771874F288F6E0638` for attribute: `children`. This can be the result of a merge and the unknown UUID is being discarded.
[!] Automatically assigning platform `ios` with version `9.2` on target `Gamba` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Do you have any ideas?
gwmccull commented
it looks like the error message is that react-native-zendesk supports a newer version of iOS than the version you're supporting. According to the podspec, react-native-zendesk only support iOS 10 and up
https://github.com/dcvz/react-native-zendesk/blob/master/react-native-zendesk.podspec#L13