Pan*_*wal 5 ios cocoapods react-native
我正在使用本地数据库开发一个react本机项目.我使用这个https://github.com/andpor/react-native-sqlite-storage进行本地数据库访问.它与RN 0.41一起工作正常.
但是现在当我将我的RN版本升级到0.44时,我会在安装pod时出现以下错误.
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.
Run Code Online (Sandbox Code Playgroud)
这是我的podfile:
target 'ProjectName' do
pod 'React', :path => '../node_modules/react-native' <br>
pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage'
end
Run Code Online (Sandbox Code Playgroud)
我尝试了很多东西,但无法解决这个错误.我创建了一个新的反应项目,但它也没有工作
小智 10
pod'Yoga',:path =>'../node_modules/react-native/ReactCommon/yoga'
| 归档时间: |
|
| 查看次数: |
701 次 |
| 最近记录: |