Search Docs
设备条件:基于 MacOS 系统
1brew install watchman
1sudo gem install cocoapods -V 2# Ruby 的版本可能不支持安装 cocoapods,需要安装 activesupport 3sudo gem install activesupport -v 6.1.7.6
Ruby gem 安装包可能比较慢,加 -V 可以看到安装进度
-V
1Error: Command failed with exit code 1: xcodebuild -list -json 2 xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
1sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
使用 metro-resolver-symlinks 解决 pnpm symlink 问题
metro-resolver-symlinks
修改 app.json 应用名称报错