로컬 데이터베이스와 반응하는 네이티브 프로젝트를 진행하고있었습니다. 로컬 데이터베이스 액세스를 위해이 코드를 https://github.com/andpor/react-native-sqlite-storage으로 사용했습니다. 그것은 RN 0.41에서 잘 작동했습니다.포드 설치가 실패했습니다. 네이티브 0.44
하지만 지금은 RN 버전을 0.44로 업그레이드 할 때 포드를 설치하면 오류가 발생합니다. 나는이 오류를 해결할 수 많은 것들을하지만 시도했다
target 'ProjectName' do
pod 'React', :path => '../node_modules/react-native' <br>
pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage'
end
:
Unable to satisfy the following requirements:
- `Yoga (= 0.44.0.React)` required by `React/Core (0.44.0)`
None of your spec sources contain a spec satisfying the dependency: `Yoga (= 0.44.0.React)`.
You have either:
* out-of-date source repos which you can update with `pod repo update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
이
내 podfile입니다. 나는 새로운 프로젝트 반응 만들었지 만 그것은, 너무
. 솔루션과 함께 행운? – MPG
예. 그것은 나를 위해 일하고있다 –