logo
  • 教程列表
  • SO官方文档
  • Podfiles
    • 创建 podfile 并安装依赖项
    • 必要时使用 Swift3.0 创建 podfile
    • 如果要使用多个目标,请创建 podfile
  1. StackOverflow 文档
  2. cocoapods 教程
  3. Podfiles
  4. 创建 podfile 并安装依赖项

创建 podfile 并安装依赖项

Created: November-22, 2018

在目录中如果是 xcodeproj,则创建一个名为 Podfile 的新文件。以下是将 Pod’AFNetworking’版本 1.0 安装到应用程序 MyApp 的 Podfile 示例。

target 'MyApp'
pod 'AFNetworking', '~> 1.0'
  • 必要时使用 Swift3.0 创建 podfile
  • Podfiles

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明