cocoapods迎来新版本1.10.0,许多库从这个版本pod以后,再从旧版本pod是跑不起来的,会报错,pod update 也没用,不知道是不是realm这个库使用xcframework的原因,暂时不详细探究,我们了解下xcframework就可以。
官方描述:
An XCFramework makes it possible to bundle a binary framework or library for multiple platforms —including iOS devices, iOS simulators, and Mac Catalyst — into a single distributable
.xcframeworkbundle that your developers can use within their own applications. An.xcframeworkbundle can be added to an Xcode target’s Link Libraries phase and Xcode uses the right platform’s version of the included framework or library at build time. Creation of frameworks is supported from the command line usingxcodebuild -create-xcframework. Frameworks or libraries bundled in an XCFramework should be built with the Build Libraries for Distribution build setting set toYES.XCFramework使将多个平台(包括iOS设备,iOS模拟器

本文介绍了如何快速将cocoapods升级到1.10.0新版本。通过更改gem源,搜索并下载cocoapods 1.10.0的gem文件,然后在终端中进行本地安装。验证版本后,卸载旧版本,确保系统只保留最新版。
最低0.47元/天 解锁文章
2107

被折叠的 条评论
为什么被折叠?



