webrtc 在MAC下和iOS下的编译

一:安装brew和git

1. mkdir /usr/local

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

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

二:下载编译webrtc

1.  下载depot_tools  

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

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

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

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

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

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

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

posted @ 2013-10-22 22:22  LeeHonGee  阅读(7319)  评论(4编辑  收藏  举报