Podfile 简单使用

来源:互联网 发布:吾爱免流流控源码 编辑:程序博客网 时间:2024/06/13 07:44

1. 引用本地pod

platform :ios, '8.0'
use_frameworks!

target 'Test' do
    pod 'MJK', :path => '../'
end


2. 引用git

platform :ios, '8.0'
use_frameworks!

target 'Test' do
    pod 'MJK', :git => 'https://xxx.git',  :tag => '1.0.0'
end


3. 引用发到CocoaPods上的

platform :ios, '8.0'
use_frameworks!

target 'Test' do
    pod 'MJK',  ‘1.0.0’
end

0 0
原创粉丝点击