我是 ios 开发的新手,我从另一个开发人员那里获得了一个用于 ios 项目的 zip 文件。当我运行 pod install 时,终端显示此错误:
[!] Invalid `Podfile` file: cannot load such file -- /Users/abc/Desktop/node_modules/@react-native-community/cli-platform-ios/native_modules.
# from /Users/abc/Desktop/ios/Podfile:2
# -----------------------------------------
# platform :ios, '9.0'
> require_relative '../node_modules/@react-
native-community/cli-platform-
ios/native_modules'
#
# -----------------------------------------
目录是这样的
~/Desktop/ios
ls
GoogleService-Info.plist ISApp.xcodeproj
Podfile.lock
ISApp ISApp.xcworkspace
Pods
ISApp-tvOS ISAppTests
instrumentscli0.trace
ISApp-tvOSTests Podfile
我已经查看了下面的线程,但它根本没有帮助。任何输入表示赞赏。
react-native ios Podfile 问题与“use_native_modules!”