From 066d3e11a21ee75b74a5c215df224ff566870610 Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Sat, 28 Dec 2024 00:46:02 +0530 Subject: [PATCH] [xcconfigs]: Move the missed configs and fix path for pods directory --- xcconfigs/AltBackup.xcconfig | 2 +- xcconfigs/AltStore.debug.xcconfig | 2 +- xcconfigs/AltStore.release.xcconfig | 2 +- xcconfigs/AltStore.xcconfig | 3 +++ xcconfigs/AltStoreCore.debug.xcconfig | 2 +- xcconfigs/AltStoreCore.release.xcconfig | 2 +- xcconfigs/AltStoreCore.xcconfig | 6 ++++++ xcconfigs/AltWidgetExtension.xcconfig | 2 +- 8 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 xcconfigs/AltStore.xcconfig create mode 100644 xcconfigs/AltStoreCore.xcconfig diff --git a/xcconfigs/AltBackup.xcconfig b/xcconfigs/AltBackup.xcconfig index 0cbc0732..a283cc8a 100644 --- a/xcconfigs/AltBackup.xcconfig +++ b/xcconfigs/AltBackup.xcconfig @@ -1,4 +1,4 @@ -#include "Build.xcconfig" +#include "../Build.xcconfig" PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER).AltBackup diff --git a/xcconfigs/AltStore.debug.xcconfig b/xcconfigs/AltStore.debug.xcconfig index 2b3c6540..6ea89f24 100644 --- a/xcconfigs/AltStore.debug.xcconfig +++ b/xcconfigs/AltStore.debug.xcconfig @@ -1,7 +1,7 @@ #include "AltStore.xcconfig" // include cocoa pods config -#include? "Pods/Target Support Files/Pods-SideStore/Pods-SideStore.debug.xcconfig" +#include? "../Pods/Target Support Files/Pods-SideStore/Pods-SideStore.debug.xcconfig" // for ios14 and above swift runtime is included ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO diff --git a/xcconfigs/AltStore.release.xcconfig b/xcconfigs/AltStore.release.xcconfig index 222e8346..c12ce934 100644 --- a/xcconfigs/AltStore.release.xcconfig +++ b/xcconfigs/AltStore.release.xcconfig @@ -1,7 +1,7 @@ #include "AltStore.xcconfig" // include cocoa pods config -#include? "Pods/Target Support Files/Pods-SideStore/Pods-SideStore.release.xcconfig" +#include? "../Pods/Target Support Files/Pods-SideStore/Pods-SideStore.release.xcconfig" // for ios14 and above swift runtime is included ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO diff --git a/xcconfigs/AltStore.xcconfig b/xcconfigs/AltStore.xcconfig new file mode 100644 index 00000000..b207e518 --- /dev/null +++ b/xcconfigs/AltStore.xcconfig @@ -0,0 +1,3 @@ +#include "../Build.xcconfig" + +PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER) diff --git a/xcconfigs/AltStoreCore.debug.xcconfig b/xcconfigs/AltStoreCore.debug.xcconfig index 97314d99..db4f1a53 100644 --- a/xcconfigs/AltStoreCore.debug.xcconfig +++ b/xcconfigs/AltStoreCore.debug.xcconfig @@ -1,4 +1,4 @@ #include "AltStoreCore.xcconfig" // include cocoa pods config -#include? "Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.debug.xcconfig" +#include? "../Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.debug.xcconfig" diff --git a/xcconfigs/AltStoreCore.release.xcconfig b/xcconfigs/AltStoreCore.release.xcconfig index f01cdd5a..d1bf3242 100644 --- a/xcconfigs/AltStoreCore.release.xcconfig +++ b/xcconfigs/AltStoreCore.release.xcconfig @@ -1,4 +1,4 @@ #include "AltStoreCore.xcconfig" // include cocoa pods config -#include? "Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.release.xcconfig" +#include? "../Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.release.xcconfig" diff --git a/xcconfigs/AltStoreCore.xcconfig b/xcconfigs/AltStoreCore.xcconfig new file mode 100644 index 00000000..46d01d3f --- /dev/null +++ b/xcconfigs/AltStoreCore.xcconfig @@ -0,0 +1,6 @@ +#include "../Build.xcconfig" + +// Since AltStoreCore is unsigned or the team is not configured, we re-define the bundle ID here to not have extra '.' +// This bundle ID doesn't need to change since altStoreCore framework lives inside SideStore main app's address space and won't have conflicts with other instances +BUNDLE_ID = $(ORG_PREFIX).SideStore +PRODUCT_BUNDLE_IDENTIFIER = $(BUNDLE_ID).AltStoreCore diff --git a/xcconfigs/AltWidgetExtension.xcconfig b/xcconfigs/AltWidgetExtension.xcconfig index 1f3cf11a..2fd5d472 100644 --- a/xcconfigs/AltWidgetExtension.xcconfig +++ b/xcconfigs/AltWidgetExtension.xcconfig @@ -1,4 +1,4 @@ -#include "Build.xcconfig" +#include "../Build.xcconfig" PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER).AltWidget