[英]XCode does not create pod dependencies for React Native Project
Project config:项目配置:
Xcode @ 13.4.1 (13F100)
cocoapods @ 1.11.3
React Native @ 0.64.0
iOS target @ 11.0
I can't build this mobile project and XCode says there's file missing.我无法构建这个移动项目,XCode 说缺少文件。
fatal error: module map file '/Users/myself/Library/Developer/Xcode/DerivedData/myproject/Products/Debug-iphonesimulator/NextLevelSessionExporter/NextLevelSessionExporter.modulemap' not found
When I run pod install
, says its has run without errors, but checking into Xcode/DerivedData/myproject/Build/Products/Debug-iphonesimulator
and it does not show all the dependencies folder as it should.当我运行
pod install
时,它说它运行没有错误,但是检查到Xcode/DerivedData/myproject/Build/Products/Debug-iphonesimulator
并且它没有显示所有应有的依赖项文件夹。
I tried我试过了
~/.cocoapods
folder~/.cocoapods
文件夹ios/Pods/
folder and Podfile.lock
ios/Pods/
文件夹和Podfile.lock
DerivedData
folder completelyDerivedData
文件夹No progress so far.至今没有任何进展。
Any guidance will be welcome.欢迎任何指导。
Follow the below steps:请按照以下步骤操作:
Delete cocoapods
folder, ios/Pods/
folder and Podfile.lock
file删除
cocoapods
文件夹、 ios/Pods/
文件夹和Podfile.lock
文件
Deleting DerivedData
folder删除
DerivedData
文件夹
delete node_modules
folder删除
node_modules
文件夹
Run command pod install
or pod repo update
运行命令
pod install
或pod repo update
Hope it will help you!希望对您有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.