- 安装了node
- brew
- cocoapod
- 运行yarn start
- 在ios下运行pod install会报错,以下为解决办法
(node:46950) [DEP0040] DeprecationWarning: The `punycode` module is
deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
source ~/.zshrc
nvm install 20.10.0
nvm use 20.10.0
- Xcode记得选择以下Command Line Tool选项(命令行需要用)
[!] Failed to load 'glog' podspec:
[!] Invalid `glog.podspec` file: undefined method `[]' for nil.
主要是Xcode一次没使用,所以需要选择一下
https://www.cnblogs.com/Flat-White/p/16421281.html
网友评论