From 2f63fc53c6fdb39266eb8336ed8130359e6c4389 Mon Sep 17 00:00:00 2001 From: YumNumm Date: Tue, 16 Apr 2024 16:36:53 +0900 Subject: [PATCH] fix: ci --- app/ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ app/ios/Runner/Info.plist | 2 +- app/ios/fastlane/Fastfile | 3 ++- app/ios/fastlane/Matchfile | 8 ++++++++ app/ios/fastlane/README.md | 10 ++++++++-- 5 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 app/ios/fastlane/Matchfile diff --git a/app/ios/Runner.xcodeproj/project.pbxproj b/app/ios/Runner.xcodeproj/project.pbxproj index d2efa37ab..a21100a03 100644 --- a/app/ios/Runner.xcodeproj/project.pbxproj +++ b/app/ios/Runner.xcodeproj/project.pbxproj @@ -526,7 +526,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_BITCODE = NO; @@ -562,7 +562,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_USER_SCRIPT_SANDBOXING = YES; @@ -605,7 +605,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_USER_SCRIPT_SANDBOXING = YES; @@ -647,7 +647,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_USER_SCRIPT_SANDBOXING = YES; @@ -792,7 +792,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_BITCODE = NO; @@ -825,7 +825,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 1165; + CURRENT_PROJECT_VERSION = 1166; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = CPL7H8SHVM; ENABLE_BITCODE = NO; diff --git a/app/ios/Runner/Info.plist b/app/ios/Runner/Info.plist index 6af52cce9..cfdda13da 100644 --- a/app/ios/Runner/Info.plist +++ b/app/ios/Runner/Info.plist @@ -23,7 +23,7 @@ CFBundleSignature ???? CFBundleVersion - 1165 + 1166 LSRequiresIPhoneOS UIApplicationSupportsIndirectInputEvents diff --git a/app/ios/fastlane/Fastfile b/app/ios/fastlane/Fastfile index e09ea1b0e..5e22d357b 100644 --- a/app/ios/fastlane/Fastfile +++ b/app/ios/fastlane/Fastfile @@ -42,7 +42,8 @@ platform :ios do ) match( - readonly: true, + type: "appstore", + readonly: is_ci, ) # Build the project diff --git a/app/ios/fastlane/Matchfile b/app/ios/fastlane/Matchfile new file mode 100644 index 000000000..ef6bc38f7 --- /dev/null +++ b/app/ios/fastlane/Matchfile @@ -0,0 +1,8 @@ +git_url("git@github.com:YumNumm/EQMonitor_secret.git") + +storage_mode("git") + +type("appstore") # The default type, can be: appstore, adhoc, enterprise or development + +app_identifier(["net.yumnumm.eqmonitor", "net.yumnumm.eqmonitor.FcmServiceExtension"]) +username("yumnumm@icloud.com") # Your Apple Developer Portal username \ No newline at end of file diff --git a/app/ios/fastlane/README.md b/app/ios/fastlane/README.md index eaf29c7ed..9aecfa323 100644 --- a/app/ios/fastlane/README.md +++ b/app/ios/fastlane/README.md @@ -23,13 +23,19 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do Increment the build number -### ios beta +### ios download_provisioning_profiles ```sh -[bundle exec] fastlane ios beta +[bundle exec] fastlane ios download_provisioning_profiles ``` +Download the provisioning profiles + +### ios beta +```sh +[bundle exec] fastlane ios beta +``` Push a new beta build to TestFlight