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

  • 關於本站
  • 免責聲明