【iOS入门】pod 安装

第一步:参考

https://www.jianshu.com/p/118130ec55cf?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

第二步:

1.你需要首先在项目根目录命令行执行pod init 这样会在根目录下生成一个文件:Podfile。图1.

2.然后在Podfile里写上 pod 'Toast', '~> 3.1.0',关闭保存,在根目录命令行执行:pod install --verbose。执行完毕后出现.xcworkspace,打开。

图1.

 图2.

猜你喜欢

转载自www.cnblogs.com/mamamia/p/12157775.html
今日推荐