rive-react-native icon indicating copy to clipboard operation
rive-react-native copied to clipboard

CocoaPods could not find compatible versions for pod "rive-react-native"

Open phuocantd opened this issue 2 years ago • 6 comments

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

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

current version

"react": "18.2.0",
"react-native": "0.71.0"

phuocantd avatar Jan 25 '23 13:01 phuocantd

Hi @phuocantd, have you been able to resolve this?

BalogunofAfrica avatar Feb 04 '23 23:02 BalogunofAfrica

Found the solution, according to the docs, the minimum iOS target is 14.0. So, in your podfile set your iOS deployment target to 14.0 or higher.

Just note that rive might not work on older iOS devices.

BalogunofAfrica avatar Feb 04 '23 23:02 BalogunofAfrica

To this you can add

platform :ios, '14.0' in Podfile under section target 'myapp' do

evaldsurtans avatar Mar 18 '24 22:03 evaldsurtans

Still with latest version this does not work out of the box

evaldsurtans avatar Mar 18 '24 22:03 evaldsurtans

latest react-native and rive-react-native

evaldsurtans avatar Mar 18 '24 22:03 evaldsurtans