webrtc 在MAC下和iOS下的编译

一:安装brew和gitgit

1. mkdir /usr/localgithub

2. curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1web

3. /usr/local/bin/brew install gitxcode

二:下载编译webrtcbash

1.  下载depot_tools  curl

LeeHonGee-MacBook:~ mac$  svn co  http://src.chromium.org/svn/trunk/tools/depot_toolssvn

2. 打开source .bash_profile 添加depot_tools路径到系统目录 export PATH=$PATH:/Users/mac/depot_toolsgoogle

3. LeeHonGee-MacBook:~ mac$ cd /Users/mac/depot_toolsurl

LeeHonGee-MacBook:~ depot_tools$ gclient config http://webrtc.googlecode.com/svn/trunkspa

4. LeeHonGee-MacBook:~ depot_tools$ gclient sync --force

5. LeeHonGee-MacBook:~ depot_tools$gclient runhooks --force

6. 进入 trunk目录,打开all.xcodeproj/

相关文章
相关标签/搜索