我正在尝试在Unity 2019.3.14f1中构建iOS项目,但是当我尝试使用/ Assets / External Dependency Manager / Install Cocoapods]安装CocoaPods时,它会返回警告:
的终端,并在文件'。zshrc'和'。zshenv'中添加了PATH,然后我做了'source' 到文件,然后重新启动Unity尝试再次构建项目,但它仅生成xcodeproject而没有xcworkspace或Podfile。gem install cocoa pods --user-install WARNING: You don't have /Users/danieoquelis/.gem/ruby/2.6.0/bin in your PATH, gem executables will not run ..... Done installing documentation for cocoapods after 2 seconds 1 gem installed
我去了使用'。zsh'
我尝试从终端上卸载cocoapods,然后再次安装它,并且从终端上未显示警告,当我执行'echo $ PATH'时,它返回:
/ Users / danieloquelis / .gem / ruby / 2.6.0 / bin:/ Users / danieloquelis / Library / Android / flutter / bin:/ usr / local / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin
我不知道Unity是否不基于'zsh'
读取shell,并且仅与'bash'一起使用我更新了iOS解析器,可可豆,Unity,但我没有知道我还能做什么。CocoaPods 1.9.3Ruby 2.6.0iOS解析器1.2.155Unity 2019.3.14f1macOS Catalina 10.15
感谢您的帮助!
我正在尝试在Unity 2019.3.14f1中构建iOS项目,但是当我尝试使用/ Assets / External Dependency Manager / Install Cocoapods安装CocoaPods时,它会返回警告:gem install cocoa pods -...
我已修复它,我忘记添加ARKit Unity插件。