【问题标题】:Hello , please someone told me how to install Alamofire in my project你好,请有人告诉我如何在我的项目中安装 Alamofire
【发布时间】:2018-03-24 15:56:26
【问题描述】:

你好,我刚刚阅读了有关 Swift 包管理器以及他如何在我的项目中安装 Alamofire 的信息,但我不明白我该如何安装它。谢谢!

【问题讨论】:

    标签: swift alamofire


    【解决方案1】:

    使用 CocoaPods,因为您对此不太确定。

    打开一个终端。确保它在家里。

    $ gem install cocoapods -V 如果你没有的话。

    cd <your-project-folder>

    pod init 如果你没有 podfile,

    插入这个; pod 'Alamofire', '~> 4.5'

    回到终端,然后pod install

    这些确实是 CocoaPods 的基础知识(以及一般的 iOS 开发???

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-19
      • 2023-02-16
      • 1970-01-01
      • 1970-01-01
      • 2019-12-19
      相关资源
      最近更新 更多