zoukankan      html  css  js  c++  java
  • CocoaPods安装和使用

    一不小心把Mac给格盘了!!各种环境又得重新装这估计是程序员最苦恼的事情之一吧 - -||

    一、安装Ruby环境

    参考:https://www.jianshu.com/p/f7f901f5e768

    注意:原来淘宝的gem源已经停止维护,现在由ruby-china提供镜像服务

    $ gem source -a https://gems.ruby-china.com

    二、安装CocoaPods

    参考:http://www.code4app.com/article/cocoapods-install-usage#cocoapods

    三、创建 Podfile

    打开终端cd到项目根目录

     

    $ vim Podfile
    platform :ios, '8.0'
      
    target 'test' do
      pod 'AFNetworking', '~> 2.6'
    end
    $ pod install

     

  • 相关阅读:
    恭喜,贺喜,同喜
    IIS 原理学习
    ASP.NET Ajax 学习(一)服务器端部分
    一张图片引发的血案
    poj 2828 Buy Tickets
    hdu 1556 Color the ball
    nyoj 求余数
    hdu 1358Period
    hdu 3577Fast Arrangement
    poj2752 Seek the Name, Seek the Fame
  • 原文地址:https://www.cnblogs.com/pengjf/p/9755128.html
Copyright © 2011-2022 走看看