Skip to content

Commit

Permalink
Fixed App compilation issues
Browse files Browse the repository at this point in the history
Changed integration method to SPM (local)
Changed deployment target
Updated enableLogging method temp.
  • Loading branch information
NidhiDixit09 committed Jan 16, 2025
1 parent 4bcc50f commit 11fe1a5
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -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 */
Expand All @@ -29,7 +27,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
C121D5A52C98FFFC00DC22DA /* BranchSDK.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -50,19 +47,17 @@
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 = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
C121D55D2C94B67C00DC22DA /* Frameworks */ = {
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;
Expand Down Expand Up @@ -105,7 +100,6 @@
C121D57A2C94E39E00DC22DA /* Frameworks */ = {
isa = PBXGroup;
children = (
C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */,
C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */,
C121D57F2C94E3AA00DC22DA /* WebKit.framework */,
C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */,
Expand All @@ -131,6 +125,9 @@
dependencies = (
);
name = DelayedInitTest;
packageProductDependencies = (
E709037C2D3903F000E61AEF /* BranchSDK */,
);
productName = ScenesTest;
productReference = C121D5602C94B67C00DC22DA /* DelayedInitTest.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -159,6 +156,9 @@
Base,
);
mainGroup = C121D5572C94B67C00DC22DA;
packageReferences = (
E709037B2D3903F000E61AEF /* XCLocalSwiftPackageReference "../.." */,
);
productRefGroup = C121D5612C94B67C00DC22DA /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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 */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
48 changes: 25 additions & 23 deletions Linking-TestBeds/ScenesTest/ScenesTest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -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 = "<group>"; };
Expand All @@ -50,19 +34,17 @@
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 = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
C121D55D2C94B67C00DC22DA /* Frameworks */ = {
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;
Expand Down Expand Up @@ -105,7 +87,6 @@
C121D57A2C94E39E00DC22DA /* Frameworks */ = {
isa = PBXGroup;
children = (
C121D5A22C98FC9E00DC22DA /* BranchSDK.xcframework */,
C121D5812C94E3B100DC22DA /* CoreSpotlight.framework */,
C121D57F2C94E3AA00DC22DA /* WebKit.framework */,
C121D57D2C94E3A500DC22DA /* SystemConfiguration.framework */,
Expand All @@ -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";
Expand Down Expand Up @@ -159,6 +142,9 @@
Base,
);
mainGroup = C121D5572C94B67C00DC22DA;
packageReferences = (
E709037E2D396B1700E61AEF /* XCLocalSwiftPackageReference "../.." */,
);
productRefGroup = C121D5612C94B67C00DC22DA /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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 */;
}
2 changes: 1 addition & 1 deletion Linking-TestBeds/ScenesTest/ScenesTest/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Loading

0 comments on commit 11fe1a5

Please sign in to comment.