codecamp

Weex 配置依赖

使用 CocoaPods

从 Cocoapods 仓库中获取 WeexSDK 的最新版本。

将 WeexSDK 添加到你的 Podfile 中。

source 'git@github.com:CocoaPods/Specs.git'
target 'YourTarget' do
    platform :ios, '8.0'
    pod 'WeexSDK', '0.20.1'
end

运行​ pod install​ 命令安装依赖。

使用 Carthage

在工程中创建一个 Cartfile,Carthage 使用方法

添加 ​github "alibaba/weex"​ 到 Cartfile

运行 ​carthage update​。


Weex 扩展Android能力
Weex 初始化 Weex
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定