diff --git a/Package.resolved b/Package.resolved index 0e41e255..b21779ba 100644 --- a/Package.resolved +++ b/Package.resolved @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/stasel/WebRTC.git", "state" : { - "revision" : "32526e6758a3c5827d871f5a931d20b9132bd1ea", - "version" : "113.0.0" + "revision" : "8ce70d799bc637be04489376ebae7334061a1db0", + "version" : "94.0.0" } } ], diff --git a/Package.swift b/Package.swift index 10ac2102..f26870ee 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/bugsnag/bugsnag-cocoa.git", from: "6.26.2"), .package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.0"), - .package(url: "https://github.com/stasel/WebRTC.git", from: "113.0.0") + .package(url: "https://github.com/stasel/WebRTC.git", from: "94.0.0") ], targets: [ .target( diff --git a/Podfile b/Podfile index 6eac6c58..6da1b76d 100644 --- a/Podfile +++ b/Podfile @@ -26,10 +26,13 @@ target 'TelnyxRTC' do end #Disable bitecode -> WebRTC pod doesn't have bitcode enabled -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['ENABLE_BITCODE'] = 'NO' + +post_install do |installer_representation| + installer_representation.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' + config.build_settings['ENABLE_BITCODE'] = 'NO' + config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' + end end - end end diff --git a/TelnyxRTC.xcodeproj/project.pbxproj b/TelnyxRTC.xcodeproj/project.pbxproj index 4b74b405..6f8f7ca9 100644 --- a/TelnyxRTC.xcodeproj/project.pbxproj +++ b/TelnyxRTC.xcodeproj/project.pbxproj @@ -23,8 +23,8 @@ B309D24025F06EA600A2AADF /* InviteMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B309D23F25F06EA600A2AADF /* InviteMessage.swift */; }; B309D24E25F0717B00A2AADF /* UICallScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = B309D24D25F0717B00A2AADF /* UICallScreen.xib */; }; B309D25325F071DD00A2AADF /* UICallScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = B309D25225F071DD00A2AADF /* UICallScreen.swift */; }; - B309D26225F1574C00A2AADF /* (null) in Frameworks */ = {isa = PBXBuildFile; }; - B309D26325F1574C00A2AADF /* (null) in Embed Frameworks */ = {isa = PBXBuildFile; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + B309D26225F1574C00A2AADF /* BuildFile in Frameworks */ = {isa = PBXBuildFile; }; + B309D26325F1574C00A2AADF /* BuildFile in Embed Frameworks */ = {isa = PBXBuildFile; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; B309D27B25F17C1700A2AADF /* UIIncomingCallView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B309D27925F17C1700A2AADF /* UIIncomingCallView.swift */; }; B309D27C25F17C1700A2AADF /* UIIncomingCallView.xib in Resources */ = {isa = PBXBuildFile; fileRef = B309D27A25F17C1700A2AADF /* UIIncomingCallView.xib */; }; B309D28225F1838700A2AADF /* ByeMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B309D28125F1838700A2AADF /* ByeMessage.swift */; }; @@ -54,7 +54,6 @@ B3A728BC2643537E003F3844 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = B3A728BB2643537E003F3844 /* README.md */; }; B3AF248025EE7B1F0062EDA9 /* TxClientDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AF247F25EE7B1F0062EDA9 /* TxClientDelegate.swift */; }; B3AF248425EE7B6A0062EDA9 /* InternalConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AF248325EE7B6A0062EDA9 /* InternalConfig.swift */; }; - B3AF248B25EE7C350062EDA9 /* Socket.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AF248A25EE7C350062EDA9 /* Socket.swift */; }; B3AF249825EE7DC70062EDA9 /* SocketDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AF249725EE7DC70062EDA9 /* SocketDelegate.swift */; }; B3AF24AA25EE84570062EDA9 /* UIViewControllerExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3AF24A925EE84570062EDA9 /* UIViewControllerExtension.swift */; }; B3AF255F25EEA6EA0062EDA9 /* Pods_TelnyxWebRTCDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6831A164C510407EBB5A919B /* Pods_TelnyxWebRTCDemo.framework */; }; @@ -86,7 +85,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - B309D26325F1574C00A2AADF /* (null) in Embed Frameworks */, + B309D26325F1574C00A2AADF /* BuildFile in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -176,7 +175,7 @@ buildActionMask = 2147483647; files = ( B309D13D25EF119E00A2AADF /* Starscream.framework in Frameworks */, - B309D26225F1574C00A2AADF /* (null) in Frameworks */, + B309D26225F1574C00A2AADF /* BuildFile in Frameworks */, AD74A03DAB5A7B8D4E4586C4 /* Pods_TelnyxRTC.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -475,7 +474,7 @@ B368BECD25EDDBC90032AE52 /* Sources */, B368BECE25EDDBC90032AE52 /* Frameworks */, B368BECF25EDDBC90032AE52 /* Resources */, - 4F30CE38FF0BBD3FA4073E54 /* [CP] Embed Pods Frameworks */, + 1B67BB69106F42831C6DC921 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -581,7 +580,7 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 4F30CE38FF0BBD3FA4073E54 /* [CP] Embed Pods Frameworks */ = { + 1B67BB69106F42831C6DC921 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -689,7 +688,6 @@ buildActionMask = 2147483647; files = ( B36FC8C02612794A00A30BC4 /* Logger.swift in Sources */, - B3AF248B25EE7C350062EDA9 /* Socket.swift in Sources */, B3BB8FA026BC076000DDCB84 /* GatewayMessage.swift in Sources */, B309D1DB25F020D400A2AADF /* Method.swift in Sources */, B39121AF25FFCE680051E076 /* TxError.swift in Sources */, @@ -782,6 +780,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -846,6 +845,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -891,6 +891,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 12.1; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; @@ -925,6 +926,7 @@ "$(BUILT_PRODUCTS_DIR)/Starscream", ); MARKETING_VERSION = 0.1.5; + ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.telnyx.WebRTCSDK; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; @@ -1020,6 +1022,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 0DC90532A56B655C65D39178 /* Pods-TelnyxWebRTCDemo.debug.xcconfig */; buildSettings = { + ARCHS = "$(ARCHS_STANDARD)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = TelnyxWebRTCDemo/TelnyxWebRTCDemo.entitlements; @@ -1033,6 +1036,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 0.1.5; + ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.telnyx.webrtcapp; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/TelnyxWebRTCDemo/Base.lproj/LaunchScreen.storyboard b/TelnyxWebRTCDemo/Base.lproj/LaunchScreen.storyboard index 81c56324..9cf4af02 100644 --- a/TelnyxWebRTCDemo/Base.lproj/LaunchScreen.storyboard +++ b/TelnyxWebRTCDemo/Base.lproj/LaunchScreen.storyboard @@ -1,8 +1,9 @@ - + - + + @@ -34,7 +35,7 @@ - +