您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页Carthage初试

Carthage初试

来源:二三娱乐

二、开始尝试

3.完成后,会在更目录中生成Carthage文件夹以及Carthage.resolved文件,有点类似Cocoapods。

4.添加依赖Framework
在Build Setting中的Framework Search Path中添加:
$(SRCROOT)/Carthage/Build/iOS
或者在General中Embedded Binaries手动添加

其他:
1.在.gitignore添加Carthage文件
#Carthage
Carthage
2.只支持动态库,iOS8以及iOS8以上
3.设置platform
[--platform (platform)]
the platforms to build for (one of ‘all’, ‘Mac’, ‘iOS’, ‘watchOS’, 'tvOS', or comma-separated values of the formers except for ‘all’)
(ignored if --no-build option is present)
例如:iOS
carthage update --platform iOS

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务