[App-Size-Optimization]: Updated base configurations to use our custom xcconfigs over cocoa pods xcconfigs to set the proper inheritance precedence

- This makes the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES use the main app target config instead of the one set in cocoa pods xcconfig properly.
- Not embedding SWIFT libraries reduces size since swift runtime is not baked into the app
- Swift runtime is already part of iOS since 12.0 and our current app min deployment target is 14.0
This commit is contained in:
Magesh K
2024-12-16 16:41:41 +05:30
parent 93ca83528b
commit 0ab47360ff
3 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
#include "Build.xcconfig"
PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_BUNDLE_IDENTIFIER).AltStoreCore
# include cocoa pods config
#if DEBUG
#include? "Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.debug.xcconfig"
#else
#include? "Pods/Target Support Files/Pods-AltStoreCore/Pods-AltStoreCore.release.xcconfig"
#endif