From 11fe1a57fab2e0b6055484c5bd0dec1a5e61e429 Mon Sep 17 00:00:00 2001 From: NidhiDixit09 <93544270+NidhiDixit09@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:37:03 -0800 Subject: [PATCH] Fixed App compilation issues Changed integration method to SPM (local) Changed deployment target Updated enableLogging method temp. --- .../DelayedInitTest.xcodeproj/project.pbxproj | 36 +++++++++----- .../contents.xcworkspacedata | 2 +- .../DelayedInitTest/AppDelegate.swift | 2 +- .../ScenesTest.xcodeproj/project.pbxproj | 48 ++++++++++--------- .../ScenesTest/ScenesTest/AppDelegate.swift | 2 +- .../SwiftUITest.xcodeproj/project.pbxproj | 32 ++++++++++--- .../SwiftUITest/SwiftUITest/AppDelegate.swift | 2 +- 7 files changed, 79 insertions(+), 45 deletions(-) diff --git a/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.pbxproj b/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.pbxproj index c66b172db..248ed3d8d 100644 --- a/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.pbxproj +++ b/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 56; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ @@ -17,9 +17,7 @@ C121D57E2C94E3A500DC22DA /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */; }; C121D5802C94E3AA00DC22DA /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D57F2C94E3AA00DC22DA /* WebKit.framework */; }; C121D5822C94E3B100DC22DA /* CoreSpotlight.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */; }; - C121D5A32C98FC9E00DC22DA /* BranchSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; }; - C121D5A42C98FFFC00DC22DA /* BranchSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; }; - C121D5A52C98FFFC00DC22DA /* BranchSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E709037D2D3903F000E61AEF /* BranchSDK in Frameworks */ = {isa = PBXBuildFile; productRef = E709037C2D3903F000E61AEF /* BranchSDK */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -29,7 +27,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - C121D5A52C98FFFC00DC22DA /* BranchSDK.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -50,7 +47,6 @@ C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; C121D57F2C94E3AA00DC22DA /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreSpotlight.framework; path = System/Library/Frameworks/CoreSpotlight.framework; sourceTree = SDKROOT; }; - C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = BranchSDK.xcframework; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -58,11 +54,10 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C121D5A32C98FC9E00DC22DA /* BranchSDK.xcframework in Frameworks */, + E709037D2D3903F000E61AEF /* BranchSDK in Frameworks */, C121D5822C94E3B100DC22DA /* CoreSpotlight.framework in Frameworks */, C121D5802C94E3AA00DC22DA /* WebKit.framework in Frameworks */, C121D57E2C94E3A500DC22DA /* SystemConfiguration.framework in Frameworks */, - C121D5A42C98FFFC00DC22DA /* BranchSDK.xcframework in Frameworks */, C121D57C2C94E39E00DC22DA /* CoreServices.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -105,7 +100,6 @@ C121D57A2C94E39E00DC22DA /* Frameworks */ = { isa = PBXGroup; children = ( - C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */, C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */, C121D57F2C94E3AA00DC22DA /* WebKit.framework */, C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */, @@ -131,6 +125,9 @@ dependencies = ( ); name = DelayedInitTest; + packageProductDependencies = ( + E709037C2D3903F000E61AEF /* BranchSDK */, + ); productName = ScenesTest; productReference = C121D5602C94B67C00DC22DA /* DelayedInitTest.app */; productType = "com.apple.product-type.application"; @@ -159,6 +156,9 @@ Base, ); mainGroup = C121D5572C94B67C00DC22DA; + packageReferences = ( + E709037B2D3903F000E61AEF /* XCLocalSwiftPackageReference "../.." */, + ); productRefGroup = C121D5612C94B67C00DC22DA /* Products */; projectDirPath = ""; projectRoot = ""; @@ -351,7 +351,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -383,7 +383,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -419,6 +419,20 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + E709037B2D3903F000E61AEF /* XCLocalSwiftPackageReference "../.." */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../..; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + E709037C2D3903F000E61AEF /* BranchSDK */ = { + isa = XCSwiftPackageProductDependency; + productName = BranchSDK; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = C121D5582C94B67C00DC22DA /* Project object */; } diff --git a/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 8349d89e1..919434a62 100644 --- a/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Linking-TestBeds/DelayedInitTest/DelayedInitTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:"> diff --git a/Linking-TestBeds/DelayedInitTest/DelayedInitTest/AppDelegate.swift b/Linking-TestBeds/DelayedInitTest/DelayedInitTest/AppDelegate.swift index 658ce5056..f242aea98 100644 --- a/Linking-TestBeds/DelayedInitTest/DelayedInitTest/AppDelegate.swift +++ b/Linking-TestBeds/DelayedInitTest/DelayedInitTest/AppDelegate.swift @@ -16,7 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { redirectConsoleLogs() - Branch.enableLogging(at: .verbose) + Branch.enableLogging(at: .verbose, withCallback: nil) return true } diff --git a/Linking-TestBeds/ScenesTest/ScenesTest.xcodeproj/project.pbxproj b/Linking-TestBeds/ScenesTest/ScenesTest.xcodeproj/project.pbxproj index 192c9e8ab..00ae48b30 100644 --- a/Linking-TestBeds/ScenesTest/ScenesTest.xcodeproj/project.pbxproj +++ b/Linking-TestBeds/ScenesTest/ScenesTest.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 56; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ @@ -17,25 +17,9 @@ C121D57E2C94E3A500DC22DA /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */; }; C121D5802C94E3AA00DC22DA /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D57F2C94E3AA00DC22DA /* WebKit.framework */; }; C121D5822C94E3B100DC22DA /* CoreSpotlight.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */; }; - C121D5A32C98FC9E00DC22DA /* BranchSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; }; - C121D5A42C98FFFC00DC22DA /* BranchSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; }; - C121D5A52C98FFFC00DC22DA /* BranchSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + E70903802D396B1700E61AEF /* BranchSDK in Frameworks */ = {isa = PBXBuildFile; productRef = E709037F2D396B1700E61AEF /* BranchSDK */; }; /* End PBXBuildFile section */ -/* Begin PBXCopyFilesBuildPhase section */ - C121D5A12C98FC1D00DC22DA /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - C121D5A52C98FFFC00DC22DA /* BranchSDK.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - /* Begin PBXFileReference section */ C121D5602C94B67C00DC22DA /* ScenesTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScenesTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; C121D5632C94B67C00DC22DA /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -50,7 +34,6 @@ C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; C121D57F2C94E3AA00DC22DA /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreSpotlight.framework; path = System/Library/Frameworks/CoreSpotlight.framework; sourceTree = SDKROOT; }; - C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = BranchSDK.xcframework; path = ScenesTest/BranchSDK.xcframework; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -58,11 +41,10 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C121D5A32C98FC9E00DC22DA /* BranchSDK.xcframework in Frameworks */, + E70903802D396B1700E61AEF /* BranchSDK in Frameworks */, C121D5822C94E3B100DC22DA /* CoreSpotlight.framework in Frameworks */, C121D5802C94E3AA00DC22DA /* WebKit.framework in Frameworks */, C121D57E2C94E3A500DC22DA /* SystemConfiguration.framework in Frameworks */, - C121D5A42C98FFFC00DC22DA /* BranchSDK.xcframework in Frameworks */, C121D57C2C94E39E00DC22DA /* CoreServices.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -105,7 +87,6 @@ C121D57A2C94E39E00DC22DA /* Frameworks */ = { isa = PBXGroup; children = ( - C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */, C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */, C121D57F2C94E3AA00DC22DA /* WebKit.framework */, C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */, @@ -124,13 +105,15 @@ C121D55C2C94B67C00DC22DA /* Sources */, C121D55D2C94B67C00DC22DA /* Frameworks */, C121D55E2C94B67C00DC22DA /* Resources */, - C121D5A12C98FC1D00DC22DA /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( ); name = ScenesTest; + packageProductDependencies = ( + E709037F2D396B1700E61AEF /* BranchSDK */, + ); productName = ScenesTest; productReference = C121D5602C94B67C00DC22DA /* ScenesTest.app */; productType = "com.apple.product-type.application"; @@ -159,6 +142,9 @@ Base, ); mainGroup = C121D5572C94B67C00DC22DA; + packageReferences = ( + E709037E2D396B1700E61AEF /* XCLocalSwiftPackageReference "../.." */, + ); productRefGroup = C121D5612C94B67C00DC22DA /* Products */; projectDirPath = ""; projectRoot = ""; @@ -351,6 +337,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -382,6 +369,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -417,6 +405,20 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + E709037E2D396B1700E61AEF /* XCLocalSwiftPackageReference "../.." */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../..; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + E709037F2D396B1700E61AEF /* BranchSDK */ = { + isa = XCSwiftPackageProductDependency; + productName = BranchSDK; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = C121D5582C94B67C00DC22DA /* Project object */; } diff --git a/Linking-TestBeds/ScenesTest/ScenesTest/AppDelegate.swift b/Linking-TestBeds/ScenesTest/ScenesTest/AppDelegate.swift index 158d3937d..a479b2448 100644 --- a/Linking-TestBeds/ScenesTest/ScenesTest/AppDelegate.swift +++ b/Linking-TestBeds/ScenesTest/ScenesTest/AppDelegate.swift @@ -16,7 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { redirectConsoleLogs() - Branch.enableLogging(at: .verbose) + Branch.enableLogging(at: .verbose, withCallback: nil) return true } diff --git a/Linking-TestBeds/SwiftUITest/SwiftUITest.xcodeproj/project.pbxproj b/Linking-TestBeds/SwiftUITest/SwiftUITest.xcodeproj/project.pbxproj index 79d51ee1a..2a9fee085 100644 --- a/Linking-TestBeds/SwiftUITest/SwiftUITest.xcodeproj/project.pbxproj +++ b/Linking-TestBeds/SwiftUITest/SwiftUITest.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 56; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ @@ -11,13 +11,12 @@ C121D5922C950ADC00DC22DA /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C121D5912C950ADC00DC22DA /* ContentView.swift */; }; C121D5942C950ADF00DC22DA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C121D5932C950ADF00DC22DA /* Assets.xcassets */; }; C121D5972C950ADF00DC22DA /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C121D5962C950ADF00DC22DA /* Preview Assets.xcassets */; }; - C121D5A82C9A53E700DC22DA /* BranchSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A62C9A53E100DC22DA /* BranchSDK.xcframework */; }; - C121D5A92C9A53E700DC22DA /* BranchSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5A62C9A53E100DC22DA /* BranchSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; C121D5AD2C9A53FA00DC22DA /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5AC2C9A53FA00DC22DA /* CoreServices.framework */; }; C121D5AF2C9A540300DC22DA /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5AE2C9A540300DC22DA /* SystemConfiguration.framework */; }; C121D5B12C9A540900DC22DA /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5B02C9A540900DC22DA /* WebKit.framework */; }; C121D5B32C9A540E00DC22DA /* CoreSpotlight.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C121D5B22C9A540E00DC22DA /* CoreSpotlight.framework */; }; C121D5B92C9B97DF00DC22DA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C121D5B82C9B97DF00DC22DA /* AppDelegate.swift */; }; + E70690302D396C60008FEDB5 /* BranchSDK in Frameworks */ = {isa = PBXBuildFile; productRef = E706902F2D396C60008FEDB5 /* BranchSDK */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -27,7 +26,6 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - C121D5A92C9A53E700DC22DA /* BranchSDK.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -40,7 +38,6 @@ C121D5912C950ADC00DC22DA /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; C121D5932C950ADF00DC22DA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; C121D5962C950ADF00DC22DA /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - C121D5A62C9A53E100DC22DA /* BranchSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = BranchSDK.xcframework; sourceTree = ""; }; C121D5AC2C9A53FA00DC22DA /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; }; C121D5AE2C9A540300DC22DA /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; C121D5B02C9A540900DC22DA /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; @@ -55,11 +52,11 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + E70690302D396C60008FEDB5 /* BranchSDK in Frameworks */, C121D5B32C9A540E00DC22DA /* CoreSpotlight.framework in Frameworks */, C121D5B12C9A540900DC22DA /* WebKit.framework in Frameworks */, C121D5AF2C9A540300DC22DA /* SystemConfiguration.framework in Frameworks */, C121D5AD2C9A53FA00DC22DA /* CoreServices.framework in Frameworks */, - C121D5A82C9A53E700DC22DA /* BranchSDK.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -108,7 +105,6 @@ C121D5AB2C9A53F900DC22DA /* Frameworks */ = { isa = PBXGroup; children = ( - C121D5A62C9A53E100DC22DA /* BranchSDK.xcframework */, C121D5B22C9A540E00DC22DA /* CoreSpotlight.framework */, C121D5B02C9A540900DC22DA /* WebKit.framework */, C121D5AE2C9A540300DC22DA /* SystemConfiguration.framework */, @@ -134,6 +130,9 @@ dependencies = ( ); name = SwiftUITest; + packageProductDependencies = ( + E706902F2D396C60008FEDB5 /* BranchSDK */, + ); productName = SwiftUITest; productReference = C121D58C2C950ADC00DC22DA /* SwiftUITest.app */; productType = "com.apple.product-type.application"; @@ -162,6 +161,9 @@ Base, ); mainGroup = C121D5832C950ADC00DC22DA; + packageReferences = ( + E706902E2D396C60008FEDB5 /* XCLocalSwiftPackageReference "../.." */, + ); productRefGroup = C121D58D2C950ADC00DC22DA /* Products */; projectDirPath = ""; projectRoot = ""; @@ -334,6 +336,7 @@ INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -365,6 +368,7 @@ INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -400,6 +404,20 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + E706902E2D396C60008FEDB5 /* XCLocalSwiftPackageReference "../.." */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ../..; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + E706902F2D396C60008FEDB5 /* BranchSDK */ = { + isa = XCSwiftPackageProductDependency; + productName = BranchSDK; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = C121D5842C950ADC00DC22DA /* Project object */; } diff --git a/Linking-TestBeds/SwiftUITest/SwiftUITest/AppDelegate.swift b/Linking-TestBeds/SwiftUITest/SwiftUITest/AppDelegate.swift index f4742dce5..2d4d3aefb 100644 --- a/Linking-TestBeds/SwiftUITest/SwiftUITest/AppDelegate.swift +++ b/Linking-TestBeds/SwiftUITest/SwiftUITest/AppDelegate.swift @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { redirectConsoleLogs() - Branch.enableLogging(at: .verbose) + Branch.enableLogging(at: .verbose, withCallback: nil) Branch.getInstance().initSession(launchOptions: launchOptions) { (params, error) in guard let data = params as? [String: AnyObject] else { return }