From 9a3fd03e78df2e11dcdac8813e5d493c0d2a0904 Mon Sep 17 00:00:00 2001 From: Minhyuk Kim Date: Fri, 1 Oct 2021 15:09:38 +0900 Subject: [PATCH] Update version and build script --- sdk/objc/Info.plist | 8 +++----- tools_webrtc/ios/build_ios_libs.py | 14 +++++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sdk/objc/Info.plist b/sdk/objc/Info.plist index 38c437e7fe..2e243bdcd5 100644 --- a/sdk/objc/Info.plist +++ b/sdk/objc/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable WebRTC CFBundleIdentifier - org.webrtc.WebRTC + com.sendbird.calls.webrtc CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -15,12 +15,10 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0 + 1.4.0 CFBundleSignature ???? CFBundleVersion - 1.0 - NSPrincipalClass - + 1.4.0 diff --git a/tools_webrtc/ios/build_ios_libs.py b/tools_webrtc/ios/build_ios_libs.py index a06f829e00..937fadf716 100755 --- a/tools_webrtc/ios/build_ios_libs.py +++ b/tools_webrtc/ios/build_ios_libs.py @@ -34,11 +34,11 @@ SDK_XCFRAMEWORK_NAME = 'WebRTC.xcframework' ENABLED_ARCHS = [ - 'device:arm64', 'simulator:arm64', 'simulator:x64', + 'device:arm64', 'device:arm', 'simulator:arm64', 'simulator:x64', 'simulator:x86', 'arm64', 'x64' ] DEFAULT_ARCHS = [ - 'device:arm64', 'simulator:arm64', 'simulator:x64' + 'device:arm64', 'device:arm', 'simulator:arm64', 'simulator:x64', 'simulator:x86' ] IOS_DEPLOYMENT_TARGET = '9.0' LIBVPX_BUILD_VP9 = True @@ -313,10 +313,14 @@ def main(): for framework_path in framework_paths: cmd += [ '-framework', - os.path.abspath(os.path.join(framework_path, SDK_FRAMEWORK_NAME)), - '-debug-symbols', - os.path.abspath(os.path.join(framework_path, SDK_DSYM_NAME)) + os.path.abspath(os.path.join(framework_path, SDK_FRAMEWORK_NAME)) ] + + if os.path.exists(os.path.join(framework_path, SDK_DSYM_NAME)): + cmd += [ + '-debug-symbols', + os.path.abspath(os.path.join(framework_path, SDK_DSYM_NAME)) + ] _RunCommand(cmd)