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

相关推荐
黄毛火烧雪下14 天前
ruby 、gem 和 cocoapods的联系与区别
开发语言·ruby·cocoapods
小瓶盖_tl25 天前
在Mac上安装CocoaPods问题处理
macos·xcode·cocoapods
jianmin09201 个月前
基于Python的高效数据可视化实战指南
cocoapods
天堂罗恋歌1 个月前
CocoaPods 安装 Masonry 库时出现的网络连接问题处理
ios·iphone·xcode·cocoapods·app store
路过看风景3 个月前
zsh: command not found: pod
ios·cocoapods
Keya4 个月前
解决 pod install 警告信息显示不完全的方法
ios·xcode·cocoapods
帅次4 个月前
【iOS设计模式】深入理解MVC架构 - 重构你的第一个App
ios·swiftui·objective-c·iphone·swift·safari·cocoapods
@PHARAOH4 个月前
WHAT - 依赖管理工具 CocoaPods
xcode·cocoapods
gavin carter5 个月前
一台电脑管理多个cocoapods账号
xcode·cocoapods
明似水5 个月前
解决 Ruby Gem “rexml“ 版本不兼容问题 (CocoaPods/Firebase 相关错误)
开发语言·ruby·cocoapods