Open phuocantd opened 1 year ago
Hi @phuocantd, have you been able to resolve this?
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.
To this you can add
platform :ios, '14.0'
in Podfile under section
target 'myapp' do
Still with latest version this does not work out of the box
latest react-native and rive-react-native
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.
A remark on this:
In Expo managed workflow, we are not able to edit the Podfile. In this case, what we can do, is to install the rive-react-native
2.1.37 version.
This happens until Expo SDK 51 which targets ios 13.4 version. In Expo SDK 52, the targeted ios version will change to 15.1. Expo SDK 52 is currently in beta, so we may keep an eye on it, and after it is released, we can use the rive-react-native
latest version.
[!] 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