From 5375f9c5c3a6d2bdb7eac63e939a921733103fe7 Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Tue, 21 May 2024 14:55:13 -0400 Subject: [PATCH] Changes --- ios/Runner.xcodeproj/project.pbxproj | 17 ++++++++++++----- ios/Runner/Info.plist | 3 ++- ios/fastlane/Fastfile | 14 +++++++------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 88b48af9..c37e5724 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -370,7 +370,7 @@ MARKETPLACES = ""; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -386,12 +386,14 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = SKRSQZ43AV; ENABLE_BITCODE = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "The Tail Company"; + INFOPLIST_KEY_CFBundleDisplayName = "The Tail Co"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -461,6 +463,7 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -513,7 +516,7 @@ MARKETPLACES = ""; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; @@ -531,12 +534,14 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = SKRSQZ43AV; ENABLE_BITCODE = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "The Tail Company"; + INFOPLIST_KEY_CFBundleDisplayName = "The Tail Co"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -562,12 +567,14 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = SKRSQZ43AV; ENABLE_BITCODE = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; INFOPLIST_FILE = Runner/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "The Tail Company"; + INFOPLIST_KEY_CFBundleDisplayName = "The Tail Co"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index f2a3aed7..f3f40ad6 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Tail Company + The Tail Co CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -42,6 +42,7 @@ bluetooth-central fetch + remote-notification UILaunchStoryboardName LaunchScreen.storyboard diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 19febcdd..d6608cb5 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -9,19 +9,19 @@ platform :ios do setup_ci if ENV['CI'] # note the `..`, since fastlane runs in the _fastlane_ directory changelog = File.read("../../CHANGELOG.md") - sync_code_signing( - type: "appstore", - readonly: false, - api_key_path:"APPLE_SECRETS.json", - force: true - ) + update_code_signing_settings( use_automatic_signing: false, path: "Runner.xcodeproj", code_sign_identity: "iPhone Distribution", - sdk: "iphoneos*", entitlements_file_path: "Runner/Runner.entitlements" ) + sync_code_signing( + type: "appstore", + readonly: false, + api_key_path:"APPLE_SECRETS.json", + force: true, + ) build_app( workspace: "Runner.xcworkspace", scheme: "Runner",