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/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM