swift macoc集成carthage(package)
作者:
太平洋_cfd2 | 来源:发表于
2023-04-25 10:12 被阅读0次
- https://morganwang.cn/2022/09/05/Carthage%E4%BD%BF%E7%94%A8/
- https://www.jianshu.com/p/577aeff39fc9
1. 如果出现update失败,则打开项目,archive一下,一般xcode的错误不够明显,如果能看出问题也可以,看不出来,就去终端提示的目录下,找到文件,搜索fail,一般在最底部
2. 改好后,用build命令,update会重新拉项目,把改好的项目又恢复原状了
3. 新版本系统用这个命令(平台可省略或指定):carthage build --use-xcframeworks --platform iOS
# 必须5.x版本 (大于或等于 5.0 ,小于 6.0)
github "SnapKit/SnapKit" ~> 5.0.0
# 最低2.3.1版本
github "ReactiveCocoa/ReactiveCocoa" >= 2.3.1
# 必须0.4.1版本
github "jspahrsummers/libextobjc" == 0.4.1
# 使用最新版本
github "jspahrsummers/xcconfigs"
# 使用git分支
github "jspahrsummers/xcconfigs" "branch"
# 使用一个企业项目
github "https://enterprise.local/ghe/desktop/git-error-translations"
# 使用一个私有项目,在 "development" 分支
git "https://enterprise.local/desktop/git-error-translations2.git" "development"
# 使用一个本地的项目
git "file:///directory/to/project" "branch"
本文标题:swift macoc集成carthage(package)
本文链接:https://www.haomeiwen.com/subject/zvgpjdtx.html
网友评论