From e886f9637402c0d788fd3d879a0b0fd8169cee39 Mon Sep 17 00:00:00 2001 From: Turtuvshin Date: Fri, 22 Mar 2024 14:48:06 +0800 Subject: [PATCH] Update Podfile and Xcode project settings --- ios/Podfile | 2 - ios/StorefrontApp.xcodeproj/project.pbxproj | 40 +++-- ios/StorefrontApp/Info.plist | 158 ++++++++++---------- 3 files changed, 108 insertions(+), 92 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 0f72af1..ae18b45 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -35,14 +35,12 @@ end # Permissions handlers setup_permissions([ - 'Bluetooth', 'Camera', 'Contacts', 'FaceID', 'LocationAccuracy', 'LocationAlways', 'LocationWhenInUse', - 'MediaLibrary', 'Notifications', 'PhotoLibrary', 'PhotoLibraryAddOnly', diff --git a/ios/StorefrontApp.xcodeproj/project.pbxproj b/ios/StorefrontApp.xcodeproj/project.pbxproj index 2589d4a..3bad192 100644 --- a/ios/StorefrontApp.xcodeproj/project.pbxproj +++ b/ios/StorefrontApp.xcodeproj/project.pbxproj @@ -218,7 +218,8 @@ 83CBB9F71A601CBA00E9B192 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1210; + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1430; TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; @@ -424,7 +425,7 @@ ); HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = StorefrontAppTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -451,7 +452,7 @@ COPY_PHASE_STRIP = NO; HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = StorefrontAppTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -476,17 +477,21 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = StorefrontApp/StorefrontApp.entitlements; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = W4M54N7H85; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; + DEVELOPMENT_TEAM = U3672ND9W7; ENABLE_BITCODE = NO; HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = StorefrontApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + INFOPLIST_KEY_CFBundleDisplayName = Storefront; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.shopping"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.0.7; + MARKETING_VERSION = 1.0.2; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -494,6 +499,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.storefront.app; PRODUCT_NAME = StorefrontApp; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "StorefrontApp-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -508,16 +514,20 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = StorefrontApp/StorefrontApp.entitlements; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = W4M54N7H85; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; + DEVELOPMENT_TEAM = U3672ND9W7; HEADER_SEARCH_PATHS = "$(inherited)"; INFOPLIST_FILE = StorefrontApp/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + INFOPLIST_KEY_CFBundleDisplayName = Storefront; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.shopping"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.0.7; + MARKETING_VERSION = 1.0.2; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -525,6 +535,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.storefront.app; PRODUCT_NAME = StorefrontApp; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "StorefrontApp-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -581,7 +592,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( /usr/lib/swift, "$(inherited)", @@ -639,7 +650,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; LD_RUNPATH_SEARCH_PATHS = ( /usr/lib/swift, "$(inherited)", @@ -650,6 +661,7 @@ OTHER_CPLUSPLUSFLAGS = "$(inherited)"; REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; VALIDATE_PRODUCT = YES; }; name = Release; @@ -687,4 +699,4 @@ /* End XCConfigurationList section */ }; rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; -} +} \ No newline at end of file diff --git a/ios/StorefrontApp/Info.plist b/ios/StorefrontApp/Info.plist index 8e70f57..1207752 100644 --- a/ios/StorefrontApp/Info.plist +++ b/ios/StorefrontApp/Info.plist @@ -1,85 +1,91 @@ - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - $(APP_NAME) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconName - AppIcon - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(MARKETING_VERSION) - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - LSRequiresIPhoneOS - - NSAppTransportSecurity - NSExceptionDomains + CFBundleDevelopmentRegion + en + CFBundleDisplayName + $(APP_NAME) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconName + AppIcon + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + NSAppTransportSecurity - fleetbase.engineering + NSExceptionDomains - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - fleetbase.io - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - localhost - - NSExceptionAllowsInsecureHTTPLoads - + fleetbase.engineering + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + fleetbase.io + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + + NSCameraUsageDescription + This app may need to use your camera for your profile picture + NSContactsUsageDescription + This app may need to access your contacts for sharing + NSLocationAlwaysAndWhenInUseUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSLocationAlwaysUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSLocationWhenInUseUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSLocalUsageDescription + This app requires access to send you notifications about order status updates and + other important information. + NSPhotoLibraryUsageDescription + This app allows you to upload photos from your photo library + UIBackgroundModes + + remote-notification + + UILaunchStoryboardName + BootSplash + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + - NSCameraUsageDescription - This app may need to use your camera for your profile picture - NSContactsUsageDescription - This app may need to access your contacts for sharing - NSLocationAlwaysAndWhenInUseUsageDescription - - NSLocationAlwaysUsageDescription - - NSLocationWhenInUseUsageDescription - - NSPhotoLibraryUsageDescription - This app allows you to upload photos from your photo library - UIBackgroundModes - - remote-notification - - UILaunchStoryboardName - BootSplash - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - - + \ No newline at end of file