Podfile 文件写法
生活随笔
收集整理的這篇文章主要介紹了
Podfile 文件写法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
// 指定三方庫本地路徑的寫法(用于提交前進行測試)
pod 'AFNetworking', :path => '~/Desktop/AFNetworking'
// 指定git的寫法
pod 'AFNetworking', :git => 'https://github.com/AFNetworking/AFNetworking.git'
pod 'AFNetworking', :git => 'https://github.com/AFNetworking/AFNetworking.git', :branch => 'dev'
pod 'AFNetworking', :git => 'https://github.com/AFNetworking/AFNetworking.git', :tag => '3.1.1'
pod 'AFNetworking', :git => 'https://github.com/AFNetworking/AFNetworking.git', :commit => '0f506b1c45'
// 指定podspec的寫法
pod 'AFNetworking', :podspec => '~/Desktop/AFNetworking/AFNetworking.podspec'
// 指定subspecs的寫法(這也是subspec的另一個用法)
pod 'MyThirdparty', '~> 0.0.1', :subspecs => ['Sparta', 'GotyeSDK', 'TalkingData', 'Tingyun', 'BaiduPanorama']
總結
以上是生活随笔為你收集整理的Podfile 文件写法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 时间序列之平稳时间序列预测、趋势型序列预
- 下一篇: 写给美术看的Unity全局光照详解