Last active
December 2, 2020 13:25
-
-
Save dneprDroid/c696f7cec042e4c74c9828cba1293ff2 to your computer and use it in GitHub Desktop.
build webrtc ios fat framework
This file contains 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 characters
gn gen out/Release-universal -args='target_os="ios" target_cpu="x64" additional_target_cpus=["arm", "arm64", "x86"] is_component_build=false is_debug=false ios_enable_code_signing=false' | |
ninja -C out/Release-universal sdk:framework_objc |
ninja -C out/arm sdk:framework_objc
ninja -C out/arm64 sdk:framework_objc
ninja -C out/x86 sdk:framework_objc
lipo -create ./out/arm/WebRTC.framework/WebRTC ./out/arm64/WebRTC.framework/WebRTC ./out/x64/WebRTC.framework/WebRTC -output ./out/WebRTC
gn gen out/x64 -args='target_os="ios" target_cpu="x64" is_debug=false ios_enable_code_signing=false'
ninja -C out/x64 sdk:framework_objc
gn gen out/Debug -args='target_os="ios" target_cpu="arm64" is_debug=true ios_enable_code_signing=false'
ninja -C out/Debug sdk:framework_objc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gn gen out/arm -args='target_os="ios" target_cpu="arm" is_debug=false ios_enable_code_signing=false'
gn gen out/arm64 -args='target_os="ios" target_cpu="arm64" is_debug=false ios_enable_code_signing=false'
gn gen out/x86 -args='target_os="ios" target_cpu="x86" is_debug=false ios_enable_code_signing=false'