gpt4 book ai didi

cordova - 无法为ios平台安装cordova插件

转载 作者:行者123 更新时间:2023-12-04 10:26:36 29 4
gpt4 key购买 nike

当我为 android 添加任何新的cordova插件时,它会成功安装,但对于ios,它会失败并显示以下错误:

    Error: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 86 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/dev/.rvm/gems/ruby-2.2.7:/Users/dev/.rvm/rubies/ruby-2.2.7/lib/ruby/gems/2.2.0:/usr/local/Cellar/cocoapods/1.9.1/libexec', execute `gem env` for more information
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1449:in `block in activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1452:in `block in activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:304:in `block in activate_bin_path'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `synchronize'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
from /usr/local/Cellar/cocoapods/1.9.1/libexec/bin/pod:23:in `<main>'

Mac 版本:Catalina 10.15.3

ionic :1.1.1

Cordova 机器人:“6.4.0”

Cordova -ios:“4.5.5”

代码:11

最佳答案

您缺少依赖项,请使用以下命令安装它:

gem install CFPropertyList -v '3.0.2' 

关于cordova - 无法为ios平台安装cordova插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60614986/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com