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,**运行成功。

相关推荐
andyweike11 天前
CocoaPods
xcode·cocoapods
2501_9151063213 天前
Windows 用 KXBuild 开发 iOS 项目,CocoaPods、SPM 怎么处理?
windows·vscode·ios·个人开发·swift·敏捷流程·cocoapods
2501_9159090613 天前
KXApp 能打开哪些 iOS 项目?xcodeproj 与 CocoaPods 支持清单
ide·vscode·ios·个人开发·xcode·敏捷流程·cocoapods
Yannik20 天前
iOS CocoaPods私有库完整搭建+踩坑实战总结
ios·cocoapods
sakiko_23 天前
Xcode27使用CocoaPods方法
xcode·cocoapods
秋雨梧桐叶落莳2 个月前
【iOS】从源码深入理解RunLoop机制
macos·ios·objective-c·cocoa·cocoapods·uikit
17715574313 个月前
Mac 上 Ruby、gem、rvm、CocoaPods 四者关系通俗讲清楚
macos·ruby·cocoapods
Aftery的博客7 个月前
HBulider项目打包上传到App Store需要的证书和私钥文件
uni-app·cocoapods
ITKEY_8 个月前
macOS flutter开发环境之cocoapods
flutter·macos·cocoapods