如何解决React-Native无法手动链接XCode上的库
我无法在使用pod的react-native项目上手动链接xcode上的任何库...
我的package.json
文件有一部分
...
"dependencies": {
"react": "16.13.1","react-native": "0.63.2","react-native-gesture-handler": "1.4.1","rn-fetch-blob": "^0.12.0"
},"devDependencies": {
"@babel/core": "7.6.0","@babel/runtime": "7.6.0","@react-native-community/eslint-config": "0.0.3","babel-jest": "24.9.0","metro-react-native-babel-preset": "0.58.0",}
...
这是我的Podfile
platform :ios,'9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
...
pod 'rn-fetch-blob',:path => '../node_modules/rn-fetch-blob'
use_native_modules!
end
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。