我尝试在 iPhone 15 Pro 模拟器上运行 Flutter 项目的 pod install 时遇到问题。该错误消息表明 ASCII-8BIT 编码的 Unicode 规范化存在问题。以下是简短的错误日志:
对于完整日志 -> https://pastebin.com/LxUXZxTw
Error output from CocoaPods:
↳
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
/Users/chandan/.rvm/rubies/ruby-3.1.0/lib/ruby/3.1.0/unicode_normalize/normalize.rb:141:in `normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)
from /Users/chandan/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/config.rb:167:in `unicode_normalize'
from /Users/chandan/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/config.rb:167:in `installation_root'
from /Users/chandan/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/config.rb:227:in `podfile_path'