From 1851cf217ea62592e08b0546dacba523e496daeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 14:41:19 -0300 Subject: [PATCH 1/6] fix macos provisioning profile --- macos/Runner.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index ee718cbc..a09c4213 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -418,7 +418,7 @@ PRODUCT_BUNDLE_IDENTIFIER = me.markezine.luzinha.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = "c1a890a5-d961-42fd-9b7c-c4fdad4f61bf"; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha macos"; + PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/littlelight.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/littlelight"; }; @@ -676,7 +676,7 @@ CODE_SIGN_STYLE = Automatic; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = "c1a890a5-d961-42fd-9b7c-c4fdad4f61bf"; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha macos"; + PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha"; }; name = Release; }; From 39e65eec8b0cc8913fbb845416b0908e5f3dc4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 17:16:50 -0300 Subject: [PATCH 2/6] fixes mac os build --- fastlane/Fastfile | 8 ++------ macos/Runner.xcodeproj/project.pbxproj | 17 +++++++++-------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index b3036a51..7de59d6f 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -173,10 +173,6 @@ platform :mac do app_identifier: ENV["APPLE_APP_IDENTIFIER"], git_url: ENV["MATCH_GIT_URL"], ) - update_project_team( - path: "macos/Runner.xcodeproj", - teamid: ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_macos_team-id"] - ) update_project_provisioning( xcodeproj: "macos/Runner.xcodeproj", profile: ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_macos_profile-path"], @@ -188,8 +184,8 @@ platform :mac do scheme: "Runner", output_directory:"build/macos", output_name: "littlelight", - export_method: "app-store", - export_team_id: ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_macos_team-id"] + export_method: "mac-application", + export_team_id: ENV["APPLE_TEAM_ID"] ) end diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index a09c4213..bc84c6ee 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -27,8 +27,8 @@ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; - D32E8BCF2A5624A4008F1322 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D32E8BCE2A5624A4008F1322 /* GoogleService-Info.plist */; }; 78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; }; + D32E8BCF2A5624A4008F1322 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D32E8BCE2A5624A4008F1322 /* GoogleService-Info.plist */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -271,7 +271,7 @@ ); mainGroup = 33CC10E42044A3C60003C045; packageReferences = ( - 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */, + 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */, ); productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; projectDirPath = ""; @@ -417,8 +417,8 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = me.markezine.luzinha.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "c1a890a5-d961-42fd-9b7c-c4fdad4f61bf"; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha"; + PROVISIONING_PROFILE = "8d828f2d-7aa5-41c8-9631-16246cf92a4f"; + PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha macos"; SWIFT_VERSION = 5.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/littlelight.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/littlelight"; }; @@ -657,7 +657,8 @@ "$(inherited)", "@executable_path/../Frameworks", ); - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE = "8d828f2d-7aa5-41c8-9631-16246cf92a4f"; + PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha macos"; SWIFT_VERSION = 5.0; }; name = Release; @@ -675,8 +676,8 @@ buildSettings = { CODE_SIGN_STYLE = Automatic; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "c1a890a5-d961-42fd-9b7c-c4fdad4f61bf"; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha"; + PROVISIONING_PROFILE = "8d828f2d-7aa5-41c8-9631-16246cf92a4f"; + PROVISIONING_PROFILE_SPECIFIER = "match AppStore me.markezine.luzinha macos"; }; name = Release; }; @@ -726,7 +727,7 @@ /* End XCConfigurationList section */ /* Begin XCLocalSwiftPackageReference section */ - 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = { + 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = { isa = XCLocalSwiftPackageReference; relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; }; From 0164446533786d5e02bcdcb8a50af01110b1d290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 18:40:02 -0300 Subject: [PATCH 3/6] fixes fastfile --- Gemfile.lock | 154 +++++++++++++++++++++++++--------------------- fastlane/Fastfile | 2 +- 2 files changed, 86 insertions(+), 70 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0f191cc2..a39abb0d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,17 +1,15 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.7) - base64 - nkf - rexml - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) + CFPropertyList (3.0.8) + abbrev (0.1.2) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.4.0) - aws-partitions (1.1150.0) - aws-sdk-core (3.230.0) + aws-partitions (1.1269.0) + aws-sdk-core (3.254.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.992.0) aws-sigv4 (~> 1.9) @@ -19,31 +17,34 @@ GEM bigdecimal jmespath (~> 1, >= 1.6.1) logger - aws-sdk-kms (1.110.0) - aws-sdk-core (~> 3, >= 3.228.0) + aws-sdk-kms (1.130.0) + aws-sdk-core (~> 3, >= 3.254.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.197.0) - aws-sdk-core (~> 3, >= 3.228.0) + aws-sdk-s3 (1.227.0) + aws-sdk-core (~> 3, >= 3.254.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) aws-sigv4 (1.12.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.3.0) - bigdecimal (3.2.2) + benchmark (0.5.0) + bigdecimal (4.1.2) claide (1.1.0) colored (1.2) colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) + csv (3.3.5) declarative (0.0.20) digest-crc (0.7.0) rake (>= 12.0.0, < 14.0.0) domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.112.0) - faraday (1.10.4) + excon (1.5.0) + logger + faraday (1.10.6) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -55,53 +56,62 @@ GEM faraday-rack (~> 1.0) faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) - faraday-cookie_jar (0.0.7) + faraday-cookie_jar (0.0.8) faraday (>= 0.8.0) - http-cookie (~> 1.0.0) + http-cookie (>= 1.0.0) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.1) faraday-excon (1.1.0) faraday-httpclient (1.0.1) - faraday-multipart (1.1.1) + faraday-multipart (1.2.0) multipart-post (~> 2.0) faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) - faraday-retry (1.0.3) + faraday-retry (1.0.4) faraday_middleware (1.2.1) faraday (~> 1.0) - fastimage (2.4.0) - fastlane (2.228.0) - CFPropertyList (>= 2.3, < 4.0.0) - addressable (>= 2.8, < 3.0.0) + fastimage (2.4.1) + fastlane (2.237.0) + CFPropertyList (>= 2.3, < 5.0.0) + abbrev (~> 0.1) + addressable (>= 2.9.0, < 3.0.0) artifactory (~> 3.0) - aws-sdk-s3 (~> 1.0) + aws-sdk-s3 (~> 1.197) babosa (>= 1.0.3, < 2.0.0) - bundler (>= 1.12.0, < 3.0.0) + base64 (~> 0.2) + benchmark (>= 0.1.0) + bundler (>= 2.4.0, < 5.0.0) colored (~> 1.2) commander (~> 4.6) + csv (~> 3.3) dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 4.0) - excon (>= 0.71.0, < 1.0.0) + excon (>= 0.71.0, < 2.0.0) faraday (~> 1.0) faraday-cookie_jar (~> 0.0.6) faraday_middleware (~> 1.0) fastimage (>= 2.1.0, < 3.0.0) - fastlane-sirp (>= 1.0.0) + fastlane-sirp (>= 1.1.0) gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) - google-cloud-env (>= 1.6.0, < 2.0.0) + google-cloud-env (>= 1.6.0, < 2.3.0) google-cloud-storage (~> 1.31) highline (~> 2.0) http-cookie (~> 1.0.5) json (< 3.0.0) - jwt (>= 2.1.0, < 3) + jwt (>= 2.10.3, < 4) + logger (>= 1.6, < 2.0) mini_magick (>= 4.9.4, < 5.0.0) + multi_json (~> 1.12) multipart-post (>= 2.0.0, < 3.0.0) + mutex_m (~> 0.3) naturally (~> 2.2) + nkf (~> 0.2) optparse (>= 0.1.1, < 1.0.0) + ostruct (>= 0.1.0) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) security (= 0.1.5) @@ -114,44 +124,48 @@ GEM xcodeproj (>= 1.13.0, < 2.0.0) xcpretty (~> 0.4.1) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) - fastlane-sirp (1.0.0) - sysrandom (~> 1.0) + fastlane-sirp (1.1.0) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.54.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.3) + google-apis-androidpublisher_v3 (0.104.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.18.0) addressable (~> 2.5, >= 2.5.1) - googleauth (>= 0.16.2, < 2.a) - httpclient (>= 2.8.1, < 3.a) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) mini_mime (~> 1.0) + mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - rexml - google-apis-iamcredentials_v1 (0.17.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-playcustomapp_v1 (0.13.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.31.0) - google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.8.0) + google-apis-iamcredentials_v1 (0.28.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-playcustomapp_v1 (0.18.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-storage_v1 (0.64.0) + google-apis-core (>= 0.15.0, < 2.a) + google-cloud-core (1.9.0) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (1.6.0) - faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.5.0) - google-cloud-storage (1.47.0) + google-cloud-env (2.2.2) + base64 (~> 0.2) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.7.0) + google-cloud-storage (1.62.0) addressable (~> 2.8) digest-crc (~> 0.4) - google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.31.0) + google-apis-core (>= 0.18, < 2) + google-apis-iamcredentials_v1 (~> 0.18) + google-apis-storage_v1 (>= 0.42) google-cloud-core (~> 1.6) - googleauth (>= 0.16.2, < 2.a) + googleauth (~> 1.9) mini_mime (~> 1.0) - googleauth (1.8.1) - faraday (>= 0.17.3, < 3.a) - jwt (>= 1.4, < 3.0) - multi_json (~> 1.11) + google-logging-utils (0.2.0) + googleauth (1.17.1) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.2) + google-logging-utils (~> 0.1) + jwt (>= 1.4, < 4.0) os (>= 0.9, < 2.0) + pstore (~> 0.1) signet (>= 0.16, < 2.a) highline (2.0.3) http-cookie (1.0.8) @@ -159,42 +173,42 @@ GEM httpclient (2.9.0) mutex_m jmespath (1.6.2) - json (2.13.2) - jwt (2.10.2) + json (2.21.1) + jwt (3.2.0) base64 logger (1.7.0) mini_magick (4.13.2) mini_mime (1.1.5) - multi_json (1.17.0) + multi_json (1.21.1) multipart-post (2.4.1) mutex_m (0.3.0) nanaimo (0.4.0) naturally (2.3.0) - nkf (0.2.0) - optparse (0.6.0) + nkf (0.3.0) + optparse (0.8.1) os (1.1.4) + ostruct (0.6.3) plist (3.7.2) - public_suffix (6.0.2) - rake (13.3.0) + pstore (0.2.1) + public_suffix (7.0.5) + rake (13.4.2) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) - retriable (3.1.2) - rexml (3.4.1) + retriable (3.8.0) + rexml (3.4.4) rouge (3.28.0) ruby2_keywords (0.0.5) rubyzip (2.4.1) security (0.1.5) - signet (0.20.0) + signet (0.22.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) - jwt (>= 1.5, < 3.0) - multi_json (~> 1.10) + jwt (>= 1.5, < 4.0) simctl (1.6.10) CFPropertyList naturally - sysrandom (1.0.5) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -206,12 +220,14 @@ GEM uber (0.1.0) unicode-display_width (2.6.0) word_wrap (1.0.0) - xcodeproj (1.27.0) + xcodeproj (1.28.1) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) + base64 claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.4.0) + nkf rexml (>= 3.3.6, < 4.0) xcpretty (0.4.1) rouge (~> 3.28.0) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7de59d6f..82b7abc4 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -184,7 +184,7 @@ platform :mac do scheme: "Runner", output_directory:"build/macos", output_name: "littlelight", - export_method: "mac-application", + export_method: "app-store", export_team_id: ENV["APPLE_TEAM_ID"] ) end From 4fd220a741d7189b0ad4c764a15ecb7ead9f7f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 18:58:40 -0300 Subject: [PATCH 4/6] fixes fastfile --- fastlane/Fastfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 82b7abc4..dd8f300a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -173,6 +173,12 @@ platform :mac do app_identifier: ENV["APPLE_APP_IDENTIFIER"], git_url: ENV["MATCH_GIT_URL"], ) + match( + type: "mac_installer_distribution", + platform: "macos", + readonly: true, + skip_provisioning_profiles: true + ) update_project_provisioning( xcodeproj: "macos/Runner.xcodeproj", profile: ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_macos_profile-path"], From cee73a19f3aed2b8f01981c5d649151599989d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 19:15:33 -0300 Subject: [PATCH 5/6] fix build --- fastlane/Fastfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index dd8f300a..acf7a6b7 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -175,9 +175,7 @@ platform :mac do ) match( type: "mac_installer_distribution", - platform: "macos", - readonly: true, - skip_provisioning_profiles: true + platform: "macos", ) update_project_provisioning( xcodeproj: "macos/Runner.xcodeproj", From 3b62aef733d09acdc7a367c9badca2e046b18b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Marquesini?= Date: Mon, 13 Jul 2026 19:35:40 -0300 Subject: [PATCH 6/6] fix fastfile --- fastlane/Fastfile | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index acf7a6b7..842c040b 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -170,18 +170,14 @@ platform :mac do end match( type: "appstore", - app_identifier: ENV["APPLE_APP_IDENTIFIER"], - git_url: ENV["MATCH_GIT_URL"], + platform: "macos", + readonly: true, ) match( type: "mac_installer_distribution", platform: "macos", - ) - update_project_provisioning( - xcodeproj: "macos/Runner.xcodeproj", - profile: ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_macos_profile-path"], - build_configuration: "Release", - code_signing_identity: "Apple Distribution" + readonly: true, + skip_provisioning_profiles: true ) build_mac_app( workspace: "macos/Runner.xcworkspace", @@ -189,7 +185,14 @@ platform :mac do output_directory:"build/macos", output_name: "littlelight", export_method: "app-store", - export_team_id: ENV["APPLE_TEAM_ID"] + export_team_id: ENV["APPLE_TEAM_ID"], + export_options: { + signingStyle: "manual", + teamID: ENV["APPLE_TEAM_ID"], + provisioningProfiles: { + "me.markezine.luzinha" => "match AppStore me.markezine.luzinha macos" + } + } ) end