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