cd ~/.cocoapods/repos
#有master,先删除
wget http://103.45.180.13/k4-specs-master.zip
unzip k4-specs-master.zip
mv specs master
# update pod
pod update --verbose --no-pod-update
podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
#忽略引入库的警告
inhibit_all_warnings!
def common
#WeexSDK
pod 'WeexSDK', :git => 'https://github.com/bmfe/incubator-weex.git', :tag => '0.20.3.0-beta'
#pod 'SocketRocket', :git => 'https://github.com/facebookarchive/SocketRocket.git', :tag => '0.5.1'
#Weex debugger 调试工具,只在开发模式集成
pod 'WXDevtool', :git => 'https://github.com/bmfe/weex-devtool-iOS.git', :tag => '0.20.1',:configurations => ['Debug']
#Eros iOS 基础库
pod 'ErosPluginBaseLibrary', :git => 'https://github.com/bmfe/eros-plugin-ios-baseLibrary.git', :tag => '1.3.5'
#Other Plugins
pod 'ErosPluginAmap', :git => 'https://github.com/bmfe/eros-plugin-ios-amap.git', :tag => '1.0.0'
pod 'ErosPluginWXShare', :git => 'https://github.com/bmfe/eros-plugin-ios-wxshare.git', :tag =>'1.0.5'
pod 'ErosPluginWXPay', :git => 'https://github.com/bmfe/eros-plugin-ios-wxpay.git', :tag => '1.0.2'
#pod 'farwolf.weex', :path => './farwolf2/'
pod 'WeexPluginLoader', :git => 'https://github.com/kfeagle/WeexPluginLoader.git', :tag => '0.0.1.9'
pod 'WeexPluginsimple', :path=>'./pluginsimple-ios/'
pod 'audio', :path=>'./audio/'
end
target 'WeexEros' do
common
end