Created
September 1, 2020 21:23
-
-
Save command-tab/0f1ecba25646eb9c153da7f93c09faa7 to your computer and use it in GitHub Desktop.
Revisions
-
command-tab created this gist
Sep 1, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ```mkdir webrtc_build cd webrtc_build git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/depot_tools:"$PATH" fetch --nohooks webrtc_ios gclient sync git new-branch master-build gn gen out/ios_sim --args='target_os="ios" target_cpu="x64" is_debug=false ios_enable_code_signing=false' gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64" is_debug=false ios_enable_code_signing=false' gn gen out/ios_32 --args='target_os="ios" target_cpu="arm" is_debug=false ios_enable_code_signing=false' ninja -C out/ios_sim AppRTCMobile ninja -C out/ios_64 AppRTCMobile ninja -C out/ios_32 AppRTCMobile mkdir out/ios cp -R out/ios_sim/WebRTC.framework/ out/ios/WebRTC.framework cp -R out/ios_64/WebRTC.framework/ out/ios/WebRTC.framework cp -R out/ios_32/WebRTC.framework/ out/ios/WebRTC.framework lipo -create out/ios_64/WebRTC.framework/WebRTC out/ios_32/WebRTC.framework/WebRTC out/ios_sim/WebRTC.framework/WebRTC -output out/ios/WebRTC.framework/WebRTC ``` Yields `out/ios/WebRTC.framework`