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

相关推荐
胖虎15 天前
CocoaPods安装步骤详解 - 2024
ios·cocoa·xcode·cocoapods
Cat_Xu15 天前
【VUE】【IOS】【APP】IOS Music APP播放器开发
vue.js·spring boot·nginx·ios·xcode·cocoapods
温暖18 天前
Xcode 16新建ShareExtension产生的PBXFileSystemSynchronizedRootGroup问题记录
ios·xcode·cocoapods
蓉妹妹20 天前
在 macOS 上卸载 CocoaPods
macos·xcode·cocoapods
恋猫de小郭3 个月前
CocoaPods 官宣进入维护模式,不在积极开发新功能,未来将是 Swift Package Manager 的时代
xcode·swift·cocoapods
sziitjin3 个月前
IOS 01 CocoaPods 安装与使用
xcode·cocoapods
依旧风轻3 个月前
不更新索引库, 可以直接使用新的版本么
cocoapods
恋猫de小郭3 个月前
Flutter 正在迁移到 Swift Package Manager ,未来会弃用 CocoaPods 吗?
flutter·swift·cocoapods
书弋江山3 个月前
iOS 创建一个私有的 CocoaPods 库
ios·xcode·cocoapods
WongKyunban3 个月前
iOS 开发包管理之CocoaPods
ios·xcode·cocoapods