##WebRTC Build Scripts
A set of build scripts useful for building WebRTC libraries for iOS.
###iOS (armv7, arm64, i386) and Mac (X86_64) -- Guide here These steps must be run on Mac OSX
Source the ios build scripts
source ios/build.shSpecify if you want to build for Debug/Profile/Release by setting either WEBRTC_DEBUG, WEBRTC_PROFILE, WEBRTC_RELEASE as an environment variable in your bash or xcode scheme run settings.
WEBRTC_DEBUG=true
WEBRTC_PROFILE=true
#or
WEBRTC_RELEASE=trueThen you can build the iOS example
# We use the term webrtc dance a lot to build
dance
# Or in two steps
get_webrtc
# Make changes then build WebRTC
build_webrtcMac example
# Get WebRTC
get_webrtc
# Make changes then build WebRTC
build_webrtc_macCheck which revision you are using at ./webrtc-build-scripts/ios/webrtc/libWebRTC-LATEST-Universal-Debug.a.version.txt
You can also build a particular revision
#Pull WebRTC
update2Revision 6783Make changes then,
#Build WebRTC
build_webrtcMake sure you label your new binaries that are generated in
./webrtc-build-scripts/ios/webrtc/libWebRTC_builds A fast internet connection.... for your own sanity
The versioning can be explained as follows:
6931.2.0
6931 reflects the SVN revision from the WebRTC root Google Code Project
2 reflects a Release Build (0 for Debug, 1 for Profile)
Profile builds are no longer built by default
The minor 0 reflects any changes I might need to make to the sample xcode project itself to work (incremented normally)