pod 创建自定义库失败后解决方案

遇到以上问题:

Cloning `https://github.com/CocoaPods/pod-template.git\` into `GlobalButton`.

Configuring GlobalButton template.

Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5

/Library/Ruby/Site/2.6.0/rubygems/specification.rb:1458:in `rescue in block in activate_dependencies': Could not find 'rexml' (~> 3.2.4) among 38 total gem(s) ( Gem::MissingSpecError)
。。。。。。。。。。。。。此处省略中间部分

To learn more about the template see `https://github.com/CocoaPods/pod-template.git\`.

To learn more about creating a new pod, see `https://guides.cocoapods.org/making/making-a-cocoapod\`.

解决方案:

gem install --user-install rexml

gem install --user-install xcodeproj

执行**pod lib create GlobalButton,**运行成功。

相关推荐
龙之吻7 天前
iOS 使用CocoaPods 添加Alamofire 提示错误的问题
ios·xcode·cocoapods
Jim-zf8 天前
VScode ios 模拟器安装cocoapods
ios·xcode·cocoapods
[奋斗不止]1 个月前
MacOS 安装 cocoapods
macos·cocoapods·mac cocoapods·macos cocoapods
这个昵称也不能用吗?2 个月前
react-native搭建开发环境过程记录
前端·react native·cocoapods
东东爱编码2 个月前
一路磕磕绊绊解决flutter doctor 报错CocoaPods not installed
flutter·xcode·cocoapods
duly2 个月前
CocoaPods 私有库Spec Repo搭建与使用指南
ios·cocoapods
折翅鵬2 个月前
Flutter报错:Warning: CocoaPods is installed but broken
flutter·cocoapods
JQShan3 个月前
轻松搞懂 CocoaPods:Podfile 与 .podspec 的区别与最佳实践
面试·ruby·cocoapods
auspark3 个月前
macos下cocoapods的学习
学习·macos·cocoapods
gla1ve_Yim4 个月前
iOS 私有库组件化:CocoaPods搭建私有仓库
ios·cocoapods