美文网首页
cocopods 初使用

cocopods 初使用

作者: 小张呵呵 | 来源:发表于2016-05-16 09:50 被阅读66次
$cd  /Users/luffy/Desktop/IOS学习资料/MyFirstSwift


$ touch Podfile

$ open Podfile 

Podfile添加如下代码

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target 'MyFirstSwift' do
pod 'Alamofire', '~> 3.4'
end



$ pod install

[luffydeMacBook-Pro:MyFirstSwift        luffy$pod   install
Analyzing dependencies
Downloading dependencies
Installing Alamofire (3.4.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `   MyFirstSwift.xcworkspace` for this project from now     on.
    Sending stats
Pod installation complete! There is 1 dependency from   the Podfile and 1 total
pod installed.
luffydeMacBook-Pro:MyFirstSwift luffy$ 

相关文章

  • cocopods 初使用

  • cocopods 使用

  • cocopods使用

    vim Podfile 键盘输入 i,进入编辑模式,输入 platform :ios, '7.0' pod 'MB...

  • Cocopods使用

    Cocopods 在第一次pod install的时候会生成lock文件,lock文件是合作开发 统一所有导入的...

  • cocopods使用

    1.打开 mac终端 cd 到iOS已有项目,可以看到xx.xcodeproj等文件 2.vim podfile文...

  • CocoPods使用

    新建podfile cd 工程路径可以拖拽文件直接到终端 pod touchfile pod install 关闭...

  • cocopods使用

    安装好之后,新建工程打开终端 1.cd 到项目地址​ ➜ ~ git:(master) ✗cd /User...

  • CocoPods使用

    本文献给初次使用CocoPods的童鞋们,以下代码可以直接复制使用 CocoPods安装前的终端配置 1.移除现有...

  • 可视化CocoaPods.app的使用

    WHAT IS COCOAPODS 什么是Cocopods COCOAPODS 使用方法 一. 使用Mac ...

  • 2021-02-01

    cocopods使用的记录 方便查看 几年前进行过组件化,使用cocopods管理,但是几年后又开始组件化一个项目...

网友评论

      本文标题:cocopods 初使用

      本文链接:https://www.haomeiwen.com/subject/fkkbrttx.html