从我的库的根项目运行pod install会出现以下错误:-
➜ app git:(master) ✗ pod install
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[!] No `Podfile' found in the project directory.当我从/ios内部运行pod install时,我得到以下错误:-
[!] Invalid `Podfile` file: cannot load such file -- app/node_modules/react-native-unimodules/cocoapods.
# from app/ios/Podfile:3
# -------------------------------------------
#
> require_relative '../node_modules/react-native-unimodules/cocoapods'
# require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'发布于 2020-07-24 23:17:17
您应该在Podifle所在的ios目录中运行pod install。
cd ios
pod installhttps://stackoverflow.com/questions/63042611
复制相似问题