From f9deb8ab9d84e2c3576d122928173852aaf84495 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Fri, 2 Feb 2024 11:33:42 +0100 Subject: [PATCH 1/7] Try authenticating via ssh when cloning --- fastlane/Fastfile | 88 ++++++++++++++++++++++------------------------- 1 file changed, 42 insertions(+), 46 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 8b305da..758cb51 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -3,50 +3,46 @@ ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "120" default_platform(:ios) platform :ios do - lane :release_testflight do |options| - setup_ci - api_key = app_store_connect_api_key( - key_id: ENV["APPLE_KEY_ID"], - issuer_id: ENV["APPLE_ISSUER_ID"], - key_content: ENV["APPLE_KEY_CONTENT"], - duration: 1200, - in_house: false, - ) - match( - readonly: false, - type: "appstore", - app_identifier: ENV["MATCH_IDENTIFIERS"], - git_url: "https://github.com/WalletConnect/match-swift.git", - git_basic_authorization: options[:token], - api_key: api_key, - include_all_certificates: true, - force_for_new_devices: true, - force_for_new_certificates: true - ) - number = latest_testflight_build_number( - app_identifier: ENV["APP_IDENTIFIER"], - api_key: api_key - ) - increment_build_number( - build_number: number + 1, - xcodeproj: "Sample/Example.xcodeproj" - ) - gym( - configuration: "Release", - project: "Sample/Example.xcodeproj", - scheme: ENV["SCHEME"], - export_method: "app-store", - xcargs: "PROJECT_ID='#{options[:project_id]}" - ) - upload_to_testflight( - apple_id: ENV["APPLE_ID"], - app_identifier: ENV["APP_IDENTIFIER"], - changelog: "Web3Modal sample app weekly build 🚀", - skip_waiting_for_build_processing: true - ) - clean_build_artifacts() - end - - + lane :release_testflight do |options| + setup_ci + api_key = app_store_connect_api_key( + key_id: ENV["APPLE_KEY_ID"], + issuer_id: ENV["APPLE_ISSUER_ID"], + key_content: ENV["APPLE_KEY_CONTENT"], + duration: 1200, + in_house: false, + ) + match( + readonly: false, + type: "appstore", + app_identifier: ENV["MATCH_IDENTIFIERS"], + git_url: "git@github.com:WalletConnect/match-swift.git", + api_key: api_key, + include_all_certificates: true, + force_for_new_devices: true, + force_for_new_certificates: true + ) + number = latest_testflight_build_number( + app_identifier: ENV["APP_IDENTIFIER"], + api_key: api_key + ) + increment_build_number( + build_number: number + 1, + xcodeproj: "Sample/Example.xcodeproj" + ) + gym( + configuration: "Release", + project: "Sample/Example.xcodeproj", + scheme: ENV["SCHEME"], + export_method: "app-store", + xcargs: "PROJECT_ID='#{options[:project_id]}" + ) + upload_to_testflight( + apple_id: ENV["APPLE_ID"], + app_identifier: ENV["APP_IDENTIFIER"], + changelog: "Web3Modal sample app weekly build 🚀", + skip_waiting_for_build_processing: true + ) + clean_build_artifacts() end - \ No newline at end of file +end \ No newline at end of file From ecdcc3d23e3e62e8ed9a30e03ee1fc28b6811d20 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Mon, 5 Feb 2024 11:57:55 +0100 Subject: [PATCH 2/7] Try using github_token --- fastlane/Fastfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 758cb51..20b52b4 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -16,7 +16,8 @@ platform :ios do readonly: false, type: "appstore", app_identifier: ENV["MATCH_IDENTIFIERS"], - git_url: "git@github.com:WalletConnect/match-swift.git", + git_url: "https://github.com/WalletConnect/match-swift.git", + git_basic_authorization: options[:token], api_key: api_key, include_all_certificates: true, force_for_new_devices: true, From f3db1b2080a011d7d101101c65b6ff83cd27e64e Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Wed, 7 Feb 2024 12:20:09 +0100 Subject: [PATCH 3/7] Disable automatic signing --- Sample/Example.xcodeproj/project.pbxproj | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Sample/Example.xcodeproj/project.pbxproj b/Sample/Example.xcodeproj/project.pbxproj index 5141f74..1ed95c5 100644 --- a/Sample/Example.xcodeproj/project.pbxproj +++ b/Sample/Example.xcodeproj/project.pbxproj @@ -346,12 +346,13 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 12; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = W5R8AG9K22; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -377,6 +378,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.walletconnect.web3modal.sample; PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -393,12 +396,13 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 12; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = W5R8AG9K22; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -424,6 +428,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.walletconnect.web3modal.sample; PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; From fb1a5f371ea1abe63c22f90ec598676272d79fb4 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Wed, 7 Feb 2024 13:19:37 +0100 Subject: [PATCH 4/7] Update signing --- .env | 8 ++-- Gemfile.lock | 46 +++++++++---------- Sample/Example.xcodeproj/project.pbxproj | 18 ++++---- .../xcshareddata/swiftpm/Package.resolved | 4 +- fastlane/Fastfile | 2 +- 5 files changed, 37 insertions(+), 41 deletions(-) diff --git a/.env b/.env index e2a5e59..6aa760b 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -SCHEME = "Example" -APP_IDENTIFIER = "com.walletconnect.web3modal.sample" -MATCH_IDENTIFIERS = "com.walletconnect.web3modal.sample" -APPLE_ID = "6469691466" \ No newline at end of file +SCHEME="Example" +APP_IDENTIFIER="com.walletconnect.web3modal.sample" +MATCH_IDENTIFIERS="com.walletconnect.web3modal.sample" +APPLE_ID="6469691466" diff --git a/Gemfile.lock b/Gemfile.lock index 00c5bff..290b57d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,17 +16,17 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.876.0) - aws-sdk-core (3.190.1) + aws-partitions (1.887.0) + aws-sdk-core (3.191.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.75.0) - aws-sdk-core (~> 3, >= 3.188.0) + aws-sdk-kms (1.77.0) + aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.142.0) - aws-sdk-core (~> 3, >= 3.189.0) + aws-sdk-s3 (1.143.0) + aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sigv4 (1.8.0) @@ -59,10 +59,10 @@ GEM declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.6.20231109) + domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.108.0) + excon (0.109.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -94,7 +94,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.3.0) - fastlane (2.217.0) + fastlane (2.219.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -113,6 +113,7 @@ GEM 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-storage (~> 1.31) highline (~> 2.0) http-cookie (~> 1.0.5) @@ -121,7 +122,7 @@ GEM mini_magick (>= 4.9.4, < 5.0.0) multipart-post (>= 2.0.0, < 3.0.0) naturally (~> 2.2) - optparse (~> 0.1.1) + optparse (>= 0.1.1) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) security (= 0.1.3) @@ -140,7 +141,7 @@ GEM rchardet (~> 1.8) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.2) + google-apis-core (0.11.3) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -148,30 +149,28 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.a) rexml - webrick 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.29.0) + google-apis-storage_v1 (0.31.0) google-apis-core (>= 0.11.0, < 2.a) google-cloud-core (1.6.1) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (2.1.0) - faraday (>= 1.0, < 3.a) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) google-cloud-errors (1.3.1) - google-cloud-storage (1.45.0) + google-cloud-storage (1.47.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.29.0) + google-apis-storage_v1 (~> 0.31.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.9.1) - faraday (>= 1.0, < 3.a) - google-cloud-env (~> 2.1) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) jwt (>= 1.4, < 3.0) multi_json (~> 1.11) os (>= 0.9, < 2.0) @@ -190,7 +189,7 @@ GEM mini_magick (4.12.0) mini_mime (1.1.5) multi_json (1.15.0) - multipart-post (2.3.0) + multipart-post (2.4.0) nanaimo (0.3.0) nap (1.1.0) naturally (2.2.1) @@ -199,7 +198,7 @@ GEM faraday (>= 1, < 3) sawyer (~> 0.9) open4 (1.3.4) - optparse (0.1.1) + optparse (0.4.0) os (1.1.4) plist (3.7.1) public_suffix (5.0.4) @@ -237,9 +236,8 @@ GEM tty-cursor (~> 0.7) uber (0.1.0) unicode-display_width (2.5.0) - webrick (1.8.1) word_wrap (1.0.0) - xcodeproj (1.23.0) + xcodeproj (1.24.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) diff --git a/Sample/Example.xcodeproj/project.pbxproj b/Sample/Example.xcodeproj/project.pbxproj index 1ed95c5..110bb0f 100644 --- a/Sample/Example.xcodeproj/project.pbxproj +++ b/Sample/Example.xcodeproj/project.pbxproj @@ -346,13 +346,13 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 12; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 16; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = ""; - "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; + DEVELOPMENT_TEAM = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -379,7 +379,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -396,13 +395,13 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 12; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 16; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = ""; - "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; + DEVELOPMENT_TEAM = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -429,7 +428,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; diff --git a/Sample/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Sample/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 781d97a..bf41bdf 100644 --- a/Sample/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Sample/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -77,8 +77,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/WalletConnect/WalletConnectSwiftV2", "state" : { - "revision" : "addf9a3688ef5e5d9d148ecbb30ca0fd3132b908", - "version" : "1.9.8" + "revision" : "f2db5e796976e6294b40da01c443f39a16b4732a", + "version" : "1.12.0" } } ], diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 20b52b4..8a61b75 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -36,7 +36,7 @@ platform :ios do project: "Sample/Example.xcodeproj", scheme: ENV["SCHEME"], export_method: "app-store", - xcargs: "PROJECT_ID='#{options[:project_id]}" + xcargs: "PROJECT_ID='#{options[:project_id]}'" ) upload_to_testflight( apple_id: ENV["APPLE_ID"], From 09f775fbf3613932446c4744614d2e5b511d1147 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Wed, 7 Feb 2024 16:42:29 +0100 Subject: [PATCH 5/7] Fix projectId and signing --- .github/workflows/release.yml | 9 +++++++-- Sample/Example.xcodeproj/project.pbxproj | 14 ++++++++++---- fastlane/Fastfile | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90383d2..3445959 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,11 @@ jobs: ${{ runner.os }}-spm- - name: Release - shell: bash + shell: /bin/zsh -e {0} env: + LANGUAGE: en_US.UTF-8 + LC_ALL: en_US.UTF-8 + LANG: en_US.UTF-8 MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_USER: ${{ secrets.GH_USER }} @@ -31,4 +34,6 @@ jobs: APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }} APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }} run: | - make release TOKEN=$(echo -n $GH_USER:$GH_TOKEN | base64) PROJECT_ID=${{ secrets.RELEASE_PROJECT_ID }} + git config --global user.name "radeknovis" + git config --global user.email "radek@walletconnect.com" + make release TOKEN=$(echo -n $GH_USER:$GH_TOKEN | base64) PROJECT_ID=${{ secrets.PROJECT_ID }} diff --git a/Sample/Example.xcodeproj/project.pbxproj b/Sample/Example.xcodeproj/project.pbxproj index 110bb0f..f94fcf1 100644 --- a/Sample/Example.xcodeproj/project.pbxproj +++ b/Sample/Example.xcodeproj/project.pbxproj @@ -347,12 +347,14 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 16; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = W5R8AG9K22; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -379,6 +381,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -396,12 +399,14 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 16; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"Example/Preview Content\""; - DEVELOPMENT_TEAM = W5R8AG9K22; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -428,6 +433,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROJECT_ID = "$(PROJECT_ID)"; PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.walletconnect.web3modal.sample"; SDKROOT = auto; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 8a61b75..900630a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -19,7 +19,7 @@ platform :ios do git_url: "https://github.com/WalletConnect/match-swift.git", git_basic_authorization: options[:token], api_key: api_key, - include_all_certificates: true, + include_all_certificates: false, force_for_new_devices: true, force_for_new_certificates: true ) From c590781a3d98ebc62f23ab6c1c3c6f838fba0346 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Wed, 7 Feb 2024 19:17:59 +0100 Subject: [PATCH 6/7] Add readme --- fastlane/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 fastlane/README.md diff --git a/fastlane/README.md b/fastlane/README.md new file mode 100644 index 0000000..8b40179 --- /dev/null +++ b/fastlane/README.md @@ -0,0 +1,32 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## iOS + +### ios release_testflight + +```sh +[bundle exec] fastlane ios release_testflight +``` + + + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). From 99e0a07e74204893506b637e01c4a66364fa6486 Mon Sep 17 00:00:00 2001 From: Radek Novak Date: Wed, 7 Feb 2024 19:24:02 +0100 Subject: [PATCH 7/7] Cleanup --- fastlane/Fastfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 900630a..97d7075 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -13,15 +13,12 @@ platform :ios do in_house: false, ) match( - readonly: false, + readonly: true, type: "appstore", app_identifier: ENV["MATCH_IDENTIFIERS"], git_url: "https://github.com/WalletConnect/match-swift.git", git_basic_authorization: options[:token], api_key: api_key, - include_all_certificates: false, - force_for_new_devices: true, - force_for_new_certificates: true ) number = latest_testflight_build_number( app_identifier: ENV["APP_IDENTIFIER"],