解决Could not find ‘CFPropertyList’ (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError)
在pod install时报错
1 2 3 |
Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/Users/caimengnan/.gem/ruby/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/local/Cellar/ruby/2.7.2/lib/ruby/gems/2.7.0:/usr/local/Cellar/cocoapods/1.10.0/libexec', execute `gem env` for more information |
重点在这句:Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError)
原因:没有配置好,在ios目录下执行以下命令:
1 2 3 4 5 |
gem install xcodeproj 或者 sudo gem install xcodeproj |
之后继续pod install
原文连接:解决Could not find ‘CFPropertyList’ (>= 2.3.3, < 4.0) among 92 total gem(s) (Gem::MissingSpecError)
所有媒体,可在保留署名、
原文连接
的情况下转载,若非则不得使用我方内容。