Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID and pilot Unable to upload archive. Failed to authenticate for session #20968

Closed
4 tasks done
Shereef opened this issue Jan 5, 2023 · 6 comments

Comments

@Shereef
Copy link

Shereef commented Jan 5, 2023

New Issue Checklist

Issue Description

uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
10 times then pilot fails because

/Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': \e[31m[!] Error uploading ipa file:  (FastlaneCore::Interface::FastlaneError)
 [Application Loader Error Output]: Error uploading '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa'.\r
[Application Loader Error Output]: Unable to upload archive. Failed to authenticate for session: (\r
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.\e[0m
Command executed

bundle exec fastlane beta

Complete output when running fastlane, including the stack trace and command used
 Shmac:ios shereef.marzouk$ bundle exec fastlane beta --troubleshoot
[✔] 🚀 
[11:45:11]: ---
[11:45:11]: Are you sure you want to enable '--troubleshoot'?
[11:45:11]: All commmands will run in full unfiltered output mode.
[11:45:11]: Sensitive data, like passwords, could be printed to the log.
[11:45:11]: ---
[11:45:11]: Do you really want to enable --troubleshoot (y/n)
y
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
[11:45:18]: -----------------------------
[11:45:18]: --- Step: update_fastlane ---
[11:45:18]: -----------------------------
[11:45:18]: Looking for updates for fastlane...
[11:45:20]: Nothing to update ✅
[11:45:20]: ------------------------------
[11:45:20]: --- Step: default_platform ---
[11:45:20]: ------------------------------
APPLE_ISSUER_ID = '########'
APPLE_KEY_ID = '########'
APPLE_KEY_CONTENT = '########='
FASTLANE_EMAIL = 'dev@########.com'
CONTACT_EMAIL = 'DS-Armada-Team@########.com'
CONTACT_FIRST_NAME = 'Armada'
CONTACT_LAST_NAME = 'Team'
DEMO_ACCOUNT_REQUIRED = 'true'
DEMO_ACCOUNT_NAME = 'dev+1@########.com'
DEMO_ACCOUNT_PASSWORD = 'dev+1@########.com'
TEST_FLIGHT_REVIEW_NOTE = 'Thank you for reviewing! <3'
APP_STORE_APP_DESCRIPTION = 'This is a description of my app'
CHANGE_LOG = 'This is my changelog of things that have changed in a log'
DEVELOPER_APP_ID = '########'
DEVELOPER_APP_IDENTIFIER = 'com.########.mg'
PROVISIONING_PROFILE_SPECIFIER = 'match AppStore com.########.mg'
######## = '########'
########_PASSWORD = '########_PASSWORD'
[11:45:20]: Driving the lane 'ios beta' 🚀
Deleting key chain
[11:45:20]: -----------------------------
[11:45:20]: --- Step: delete_keychain ---
[11:45:20]: -----------------------------
[11:45:20]: $ security delete-keychain /Users/shereef.marzouk/Library/Keychains/########-db
Deleted key chain
Creating key chain
[11:45:20]: -----------------------------
[11:45:20]: --- Step: create_keychain ---
[11:45:20]: -----------------------------
[11:45:20]: $ security create-keychain -p ########_PASSWORD ~/Library/Keychains/########
[11:45:20]: $ security set-keychain-settings ~/Library/Keychains/########
[11:45:20]: $ security list-keychains -d user
[11:45:20]: ▸ "/Users/shereef.marzouk/Library/Keychains/openvpn.keychain-db"
[11:45:20]: ▸ "/Users/shereef.marzouk/Library/Keychains/login.keychain-db"
[11:45:20]: $ security list-keychains -s /Users/shereef.marzouk/Library/Keychains/openvpn.keychain-db /Users/shereef.marzouk/Library/Keychains/login.keychain-db /Users/shereef.marzouk/Library/Keychains/########-db
Created key chain
[11:45:20]: ---------------------------------------
[11:45:20]: --- Step: app_store_connect_api_key ---
[11:45:20]: ---------------------------------------
api_key = '{:key_id=>"########", :issuer_id=>"########", :key=>"########=", :is_key_content_base64=>true, :duration=>1200, :in_house=>false}'
[11:45:20]: -----------------------
[11:45:20]: --- Step: cocoapods ---
[11:45:20]: -----------------------
[11:45:22]: $ bundle exec pod install --clean-install
[11:45:23]: ▸ Analyzing dependencies
[11:45:24]: ▸ Downloading dependencies
[11:45:24]: ▸ Generating Pods project
[11:45:24]: ▸ Integrating client project
[11:45:24]: ▸ Pod installation complete! There are 3 dependencies from the Podfile and 4 total pods installed.
[11:45:24]: ▸ [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
INFO [2023-01-05 11:45:24.51]: -------------------
INFO [2023-01-05 11:45:24.51]: --- Step: match ---
INFO [2023-01-05 11:45:24.51]: -------------------
INFO [2023-01-05 11:45:24.52]: Successfully loaded '/Users/shereef.marzouk/Dev/flutter-app-########/ios/fastlane/Matchfile' 📄

+----------------+-----------------------------------------+
| Detected Values from './fastlane/Matchfile' |
+----------------+-----------------------------------------+
| git_url | git@github.com:########/codesigning.git |
| storage_mode | git |
| type | appstore |
| app_identifier | ["com.########.mg"] |
| username | dev@########.com |
+----------------+-----------------------------------------+

+----------------------------------------+-----------------------------------------+
| Summary for match 2.211.0 |
+----------------------------------------+-----------------------------------------+
| type | appstore |
| app_identifier | ["com.########.mg"] |
| readonly | true |
| keychain_name | ######## |
| keychain_password | ******** |
| verbose | true |
| api_key | ******** |
| generate_apple_certs | true |
| skip_provisioning_profiles | false |
| username | dev@########.com |
| storage_mode | git |
| git_url | git@github.com:########/codesigning.git |
| git_branch | master |
| shallow_clone | false |
| clone_branch_directly | false |
| skip_google_cloud_account_confirmation | false |
| force | false |
| force_for_new_devices | false |
| include_mac_in_profiles | false |
| include_all_certificates | false |
| force_for_new_certificates | false |
| skip_confirmation | false |
| safe_remove_certs | false |
| skip_docs | false |
| platform | ios |
| derive_catalyst_app_identifier | false |
| fail_on_name_taken | false |
| skip_certificate_matching | false |
| skip_set_partition_list | false |
+----------------------------------------+-----------------------------------------+

INFO [2023-01-05 11:45:24.52]: Cloning remote git repo...
INFO [2023-01-05 11:45:24.52]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
INFO [2023-01-05 11:45:24.52]: $ git clone git@github.com:########/codesigning.git /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/d20230105-44714-zpade8
INFO [2023-01-05 11:45:24.70]: ▸ Cloning into '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/d20230105-44714-zpade8'...
INFO [2023-01-05 11:45:25.54]: ▸ remote: Enumerating objects: 25, done.
INFO [2023-01-05 11:45:25.54]: ▸ remote: Counting objects: 100% (25/25), done.
INFO [2023-01-05 11:45:25.54]: ▸ remote: Compressing objects: 100% (20/20), done.
INFO [2023-01-05 11:45:25.61]: ▸ remote: Total 25 (delta 3), reused 24 (delta 2), pack-reused 0
INFO [2023-01-05 11:45:25.64]: ▸ Receiving objects: 100% (25/25), 57.48 KiB | 28.74 MiB/s, done.
INFO [2023-01-05 11:45:28.78]: ▸ Resolving deltas: 100% (3/3), done.
INFO [2023-01-05 11:45:29.96]: $ git --no-pager branch --list origin/master --no-color -r
INFO [2023-01-05 11:45:30.10]: ▸ origin/master
INFO [2023-01-05 11:45:30.10]: Checking out branch master...
INFO [2023-01-05 11:45:30.10]: $ git checkout master
INFO [2023-01-05 11:45:30.48]: ▸ Already on 'master'
INFO [2023-01-05 11:45:30.48]: ▸ Your branch is up to date with 'origin/master'.
INFO [2023-01-05 11:45:30.48]: 🔓 Decrypted '########.cer'
INFO [2023-01-05 11:45:30.48]: 🔓 Decrypted '########.p12'
INFO [2023-01-05 11:45:30.48]: 🔓 Decrypted '########.cer'
INFO [2023-01-05 11:45:30.48]: 🔓 Decrypted '########.p12'
INFO [2023-01-05 11:45:30.49]: 🔓 Decrypted 'AdHoc_com.########.mg.mobileprovision'
INFO [2023-01-05 11:45:30.49]: 🔓 Decrypted 'AppStore_com.########.mg.mobileprovision'
INFO [2023-01-05 11:45:30.49]: 🔓 Decrypted 'Development_com.########.mg.mobileprovision'
INFO [2023-01-05 11:45:30.49]: 🔓 Successfully decrypted certificates repo
DEBUG [2023-01-05 11:45:30.49]: Your certificate '########.cer' is valid
INFO [2023-01-05 11:45:30.49]: Installing certificate...
INFO [2023-01-05 11:45:30.49]: $ security default-keychain -d user
INFO [2023-01-05 11:45:30.61]: ▸ "/Users/shereef.marzouk/Library/Keychains/login.keychain-db"
INFO [2023-01-05 11:45:30.61]: $ security find-certificate -a -c 'Apple Worldwide Developer Relations' -p /Users/shereef.marzouk/Library/Keychains/login.keychain-db
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----BEGIN CERTIFICATE-----
INFO [2023-01-05 11:45:30.74]: ▸ -----END CERTIFICATE-----
ERROR [2023-01-05 11:45:30.89]: There are no local code signing identities found.
You can run security find-identity -v -p codesigning ######## to get this output.
This Stack Overflow thread has more information: https://stackoverflow.com/q/35390072/774.
(Check in Keychain Access for an expired WWDR certificate: https://stackoverflow.com/a/35409835/774 has more info.)
INFO [2023-01-05 11:45:31.15]: $ security import /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/d20230105-44714-zpade8/certs/distribution/########.cer -k '/Users/shereef.marzouk/Library/Keychains/########-db' -P ******** -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild -T /usr/bin/productsign
INFO [2023-01-05 11:45:31.30]: ▸ 1 certificate imported.
[⠋] Setting key partition list... (this can take a minute if there are a lot of keys installed) INFO [2023-01-05 11:45:31.42]: $ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ******** /Users/shereef.marzouk/Library/Keychains/########-db 1> /dev/null
[⠙] Setting key partition list... (this can take a minute if there are a lot of keys installed) ERROR [2023-01-05 11:45:31.58]: security: SecItemCopyMatching: The specified item could not be found in the keychain.
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)
INFO [2023-01-05 11:45:31.58]: $ security import /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/d20230105-44714-zpade8/certs/distribution/########.p12 -k '/Users/shereef.marzouk/Library/Keychains/########-db' -P ******** -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild -T /usr/bin/productsign
INFO [2023-01-05 11:45:31.84]: ▸ 1 key imported.
[⠋] Setting key partition list... (this can take a minute if there are a lot of keys installed) INFO [2023-01-05 11:45:31.96]: $ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ******** /Users/shereef.marzouk/Library/Keychains/########-db 1> /dev/null
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)

+-------------------+----------------------------------------------------------+
| Installed Certificate |
+-------------------+----------------------------------------------------------+
| User ID | ######## |
| Common Name | Apple Distribution: ######## Software, Inc. (########) |
| Organisation Unit | ######## |
| Organisation | ######## Software, Inc. |
| Country | US |
| Start Datetime | 2022-12-21 01:07:48 UTC |
| End Datetime | 2023-12-21 01:07:47 UTC |
+-------------------+----------------------------------------------------------+

INFO [2023-01-05 11:45:32.39]: Installing provisioning profile...
WARN [2023-01-05 11:45:33.13]: Setting environment variable 'sigh_com.########.mg_appstore' to '########'
WARN [2023-01-05 11:45:33.13]: Setting environment variable 'sigh_com.########.mg_appstore_team-id' to '########'
WARN [2023-01-05 11:45:33.13]: Setting environment variable 'sigh_com.########.mg_appstore_certificate-name' to 'Apple Distribution: ######## Software, Inc. (########)'
WARN [2023-01-05 11:45:33.13]: Setting environment variable 'sigh_com.########.mg_appstore_profile-name' to 'match AppStore com.########.mg'
WARN [2023-01-05 11:45:33.13]: Setting environment variable 'sigh_com.########.mg_appstore_profile-path' to '/Users/shereef.marzouk/Library/MobileDevice/Provisioning Profiles/########.mobileprovision'

+---------------------+------------------------------------------------+---------------------------------------------------------------+
| Installed Provisioning Profile |
+---------------------+------------------------------------------------+---------------------------------------------------------------+
| Parameter | Environment Variable | Value |
+---------------------+------------------------------------------------+---------------------------------------------------------------+
| App Identifier | | com.########.mg |
| Type | | appstore |
| Platform | | ios |
| Profile UUID | sigh_com.########.mg_appstore | ######## |
| Profile Name | sigh_com.########.mg_appstore_profile-name | match AppStore com.########.mg |
| Profile Path | sigh_com.########.mg_appstore_profile-path | /Users/shereef.marzouk/Library/MobileDevice/Provisioning |
| | | Profiles/########.mobileprovision |
| Development Team ID | sigh_com.########.mg_appstore_team-id | ######## |
| Certificate Name | sigh_com.########.mg_appstore_certificate-name | Apple Distribution: ######## Software, Inc. (########) |
+---------------------+------------------------------------------------+---------------------------------------------------------------+

INFO [2023-01-05 11:45:33.14]: All required keys, certificates and provisioning profiles are installed 🙌
INFO [2023-01-05 11:45:33.15]: Setting Provisioning Profile type to 'app-store'
INFO [2023-01-05 11:45:33.29]: -----------------
INFO [2023-01-05 11:45:33.29]: --- Step: gym ---
INFO [2023-01-05 11:45:33.29]: -----------------
DEBUG [2023-01-05 11:45:33.29]: Merging provisioning profile mappings
DEBUG [2023-01-05 11:45:33.29]: -------------------------------------
DEBUG [2023-01-05 11:45:33.29]: Primary provisioning profile mapping:
DEBUG [2023-01-05 11:45:33.29]: {"com.########.mg"=>"match AppStore com.########.mg"}
DEBUG [2023-01-05 11:45:33.29]: Secondary provisioning profile mapping:
DEBUG [2023-01-05 11:45:33.29]: {:"com.########.mg"=>"match AppStore com.########.mg"}
DEBUG [2023-01-05 11:45:33.29]: Resulting in the following mapping:
DEBUG [2023-01-05 11:45:33.29]: {:"com.########.mg"=>"match AppStore com.########.mg"}
WARN [2023-01-05 11:45:33.34]: Resolving Swift Package Manager dependencies...
INFO [2023-01-05 11:45:33.34]: $ xcodebuild -resolvePackageDependencies -workspace Runner.xcworkspace -scheme Runner -configuration Release
INFO [2023-01-05 11:45:34.84]: ▸ Command line invocation:
INFO [2023-01-05 11:45:34.84]: ▸ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace Runner.xcworkspace -scheme Runner -configuration Release
INFO [2023-01-05 11:45:34.84]: ▸ User defaults from command line:
INFO [2023-01-05 11:45:34.84]: ▸ IDEPackageSupportUseBuiltinSCM = YES
INFO [2023-01-05 11:45:35.61]: ▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
INFO [2023-01-05 11:45:35.61]: ▸ { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006000-000248811E62801E }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:F7F68951-E2FC-4E6F-83B1-2F027047CA68, OS:16.2, name:iPad (10th generation) }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:C1C3304C-9415-41F2-B01B-F6299EA9F60E, OS:16.2, name:iPad Air (5th generation) }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:8DC1877E-C839-4D56-8CCE-084DFCA2D669, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:B85E645B-2701-4A70-87F5-46B14BD552DA, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:6F32D46B-AFDC-4E7B-B838-A41FE6BD5F65, OS:16.2, name:iPad mini (6th generation) }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:AC36BB85-EC65-4EE2-BD80-C53D254ADBBD, OS:16.2, name:iPhone 14 }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:664FB073-6067-48F5-A6BA-0A15249C05B9, OS:16.2, name:iPhone 14 Plus }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:9F2C53BB-8263-4CA6-8685-A45A56E095B2, OS:16.2, name:iPhone 14 Pro }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:9C9C865F-2E02-408D-B422-A6CB7948BF96, OS:16.2, name:iPhone 14 Pro Max }
INFO [2023-01-05 11:45:35.61]: ▸ { platform:iOS Simulator, id:21EF4C4A-6DCD-4F10-937D-254FB174C017, OS:16.2, name:iPhone SE (3rd generation) }
INFO [2023-01-05 11:45:35.61]: ▸ resolved source packages:
INFO [2023-01-05 11:45:35.62]: $ xcodebuild -showBuildSettings -workspace Runner.xcworkspace -scheme Runner -configuration Release
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006000-000248811E62801E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:F7F68951-E2FC-4E6F-83B1-2F027047CA68, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:C1C3304C-9415-41F2-B01B-F6299EA9F60E, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:8DC1877E-C839-4D56-8CCE-084DFCA2D669, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:B85E645B-2701-4A70-87F5-46B14BD552DA, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:6F32D46B-AFDC-4E7B-B838-A41FE6BD5F65, OS:16.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:AC36BB85-EC65-4EE2-BD80-C53D254ADBBD, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:664FB073-6067-48F5-A6BA-0A15249C05B9, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:9F2C53BB-8263-4CA6-8685-A45A56E095B2, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:9C9C865F-2E02-408D-B422-A6CB7948BF96, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:21EF4C4A-6DCD-4F10-937D-254FB174C017, OS:16.2, name:iPhone SE (3rd generation) }
WARN [2023-01-05 11:45:38.72]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
2023-01-05 11:45:40.516 xcodebuild[44959:15940516] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006000-000248811E62801E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:F7F68951-E2FC-4E6F-83B1-2F027047CA68, OS:16.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:C1C3304C-9415-41F2-B01B-F6299EA9F60E, OS:16.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:8DC1877E-C839-4D56-8CCE-084DFCA2D669, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:B85E645B-2701-4A70-87F5-46B14BD552DA, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:6F32D46B-AFDC-4E7B-B838-A41FE6BD5F65, OS:16.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:AC36BB85-EC65-4EE2-BD80-C53D254ADBBD, OS:16.2, name:iPhone 14 }
{ platform:iOS Simulator, id:664FB073-6067-48F5-A6BA-0A15249C05B9, OS:16.2, name:iPhone 14 Plus }
{ platform:iOS Simulator, id:9F2C53BB-8263-4CA6-8685-A45A56E095B2, OS:16.2, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:9C9C865F-2E02-408D-B422-A6CB7948BF96, OS:16.2, name:iPhone 14 Pro Max }
{ platform:iOS Simulator, id:21EF4C4A-6DCD-4F10-937D-254FB174C017, OS:16.2, name:iPhone SE (3rd generation) }
2023-01-05 11:45:43.575 xcodebuild[44976:15940713] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
DEBUG [2023-01-05 11:45:43.63]: Parsing project file '/Users/shereef.marzouk/Dev/flutter-app-########/ios/Runner.xcodeproj' to find selected provisioning profiles
DEBUG [2023-01-05 11:45:43.63]: Finding provision profiles for 'Release'
DEBUG [2023-01-05 11:45:43.67]: Merging provisioning profile mappings
DEBUG [2023-01-05 11:45:43.67]: -------------------------------------
DEBUG [2023-01-05 11:45:43.67]: Primary provisioning profile mapping:
DEBUG [2023-01-05 11:45:43.67]: {:"com.########.mg"=>"match AppStore com.########.mg"}
DEBUG [2023-01-05 11:45:43.67]: Secondary provisioning profile mapping:
DEBUG [2023-01-05 11:45:43.67]: {}
DEBUG [2023-01-05 11:45:43.67]: Resulting in the following mapping:
DEBUG [2023-01-05 11:45:43.67]: {:"com.########.mg"=>"match AppStore com.########.mg"}
INFO [2023-01-05 11:45:43.67]: Detected provisioning profile mapping: {:"com.########.mg"=>"match AppStore com.########.mg"}

+-----------------------------------------------------+--------------------------------------------------------------------+
| Summary for gym 2.211.0 |
+-----------------------------------------------------+--------------------------------------------------------------------+
| configuration | Release |
| workspace | Runner.xcworkspace |
| scheme | Runner |
| export_method | app-store |
| export_options.provisioningProfiles.com.########.mg | match AppStore com.########.mg |
| clean | false |
| output_directory | . |
| output_name | Runner |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| build_path | /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05 |
| result_bundle | false |
| buildlog_path | ~/Library/Logs/gym |
| destination | generic/platform=iOS |
| xcodebuild_formatter | xcpretty |
| skip_profile_detection | false |
| xcodebuild_command | xcodebuild |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Applications/Xcode.app |
+-----------------------------------------------------+--------------------------------------------------------------------+

+------------------------------------------------------------------------------------------------------------------------+----------------------+
| Generated Build Command |
+------------------------------------------------------------------------------------------------------------------------+----------------------+
| Option | Value |
+------------------------------------------------------------------------------------------------------------------------+----------------------+
| set -o pipefail && | |
| xcodebuild | |
| -workspace Runner.xcworkspace | |
| -scheme Runner | |
| -configuration Release | |
| -destination | generic/platform=iOS |
| -archivePath /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner\ 2023-01-05\ 11.45.43.xcarchive | |
| archive | |
| | tee /Users/shereef.marzouk/Library/Logs/gym/Runner-Runner.log | |
| | xcpretty | |
+------------------------------------------------------------------------------------------------------------------------+----------------------+
INFO [2023-01-05 11:45:43.96]: $ set -o pipefail && xcodebuild -workspace Runner.xcworkspace -scheme Runner -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner\ 2023-01-05\ 11.45.43.xcarchive archive | tee /Users/shereef.marzouk/Library/Logs/gym/Runner-Runner.log | xcpretty
INFO [2023-01-05 11:45:49.09]: ▸ Copying flutter_secure_storage-umbrella.h
INFO [2023-01-05 11:45:49.14]: ▸ Copying FlutterSecureStoragePlugin.h
INFO [2023-01-05 11:45:49.15]: ▸ Processing flutter_secure_storage-Info.plist
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDURLSessionProvider.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDURLQueryComponent.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDTokenUtilities.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDTokenResponse.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDTokenRequest.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDServiceDiscovery.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDServiceConfiguration.h
INFO [2023-01-05 11:45:49.15]: ▸ Copying OIDScopes.h
INFO [2023-01-05 11:45:49.16]: ▸ Copying OIDScopeUtilities.h
INFO [2023-01-05 11:45:49.17]: ▸ Copying OIDResponseTypes.h
INFO [2023-01-05 11:45:49.19]: ▸ Copying OIDRegistrationResponse.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDRegistrationRequest.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDIDToken.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDGrantTypes.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDFieldMapping.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgentSession.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgentRequest.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgentIOSCustomBrowser.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgentIOS.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgentCatalyst.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDExternalUserAgent.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDErrorUtilities.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDError.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDEndSessionResponse.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDEndSessionRequest.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDDefines.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDClientMetadataParameters.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDAuthorizationService.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDAuthorizationService+IOS.h
INFO [2023-01-05 11:45:49.27]: ▸ Copying OIDAuthorizationResponse.h
INFO [2023-01-05 11:45:49.31]: ▸ Copying OIDAuthorizationRequest.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying OIDAuthStateErrorDelegate.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying OIDAuthStateChangeDelegate.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying OIDAuthState.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying OIDAuthState+IOS.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying AppAuthCore.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying AppAuth.h
INFO [2023-01-05 11:45:49.34]: ▸ Copying AppAuth-umbrella.h
INFO [2023-01-05 11:45:49.34]: ▸ Processing AppAuth-Info.plist
INFO [2023-01-05 11:45:49.53]: ▸ Compiling OIDTokenUtilities.m
INFO [2023-01-05 11:45:50.03]: ▸ Compiling OIDURLSessionProvider.m
INFO [2023-01-05 11:45:50.03]: ▸ Compiling OIDScopes.m
INFO [2023-01-05 11:45:50.03]: ▸ Compiling OIDURLQueryComponent.m
INFO [2023-01-05 11:45:50.03]: ▸ Compiling OIDServiceDiscovery.m
INFO [2023-01-05 11:45:50.04]: ▸ Compiling OIDTokenResponse.m
INFO [2023-01-05 11:45:50.08]: ▸ Compiling OIDTokenRequest.m
INFO [2023-01-05 11:45:50.10]: ▸ Compiling OIDServiceConfiguration.m
INFO [2023-01-05 11:45:50.10]: ▸ Compiling OIDScopeUtilities.m
INFO [2023-01-05 11:45:50.10]: ▸ Compiling OIDResponseTypes.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDRegistrationResponse.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDIDToken.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDRegistrationRequest.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDGrantTypes.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDFieldMapping.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDExternalUserAgentIOSCustomBrowser.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDExternalUserAgentIOS.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDExternalUserAgentCatalyst.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDErrorUtilities.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDError.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDEndSessionResponse.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDEndSessionRequest.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDClientMetadataParameters.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthorizationService.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthorizationService+IOS.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthorizationResponse.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthorizationRequest.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthState.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling OIDAuthState+IOS.m
INFO [2023-01-05 11:45:51.48]: ▸ Compiling AppAuth_vers.c
INFO [2023-01-05 11:45:51.48]: ▸ Compiling AppAuth-dummy.m
INFO [2023-01-05 11:45:51.48]: ▸ Linking AppAuth
INFO [2023-01-05 11:45:51.48]: ▸ Generating 'AppAuth.framework.dSYM'
INFO [2023-01-05 11:45:51.48]: ▸ Touching AppAuth.framework (in target 'AppAuth' from project 'Pods')
INFO [2023-01-05 11:45:51.48]: ▸ Copying OIDExternalUserAgentIOSNoSSO.h
INFO [2023-01-05 11:45:51.48]: ▸ Copying flutter_appauth-umbrella.h
INFO [2023-01-05 11:45:51.48]: ▸ Copying FlutterAppauthPlugin.h
INFO [2023-01-05 11:45:51.48]: ▸ Copying FlutterAppAuth.h
INFO [2023-01-05 11:45:51.48]: ▸ Copying AppAuthIOSAuthorization.h
INFO [2023-01-05 11:45:51.48]: ▸ Processing flutter_appauth-Info.plist
INFO [2023-01-05 11:45:51.49]: ▸ Compiling OIDExternalUserAgentIOSNoSSO.m
INFO [2023-01-05 11:45:51.79]: ▸ ⚠️ /Users/shereef.marzouk/Dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_appauth-4.2.1/ios/Classes/OIDExternalUserAgentIOSNoSSO.m:152:58: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
INFO [2023-01-05 11:45:51.79]: ▸ openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
INFO [2023-01-05 11:45:51.79]: ▸ ^~~~~~~
INFO [2023-01-05 11:45:51.88]: ▸ Compiling flutter_appauth-dummy.m
INFO [2023-01-05 11:45:51.88]: ▸ Compiling FlutterAppauthPlugin.m
INFO [2023-01-05 11:45:52.10]: ▸ Compiling FlutterAppAuth.m
INFO [2023-01-05 11:45:52.19]: ▸ Compiling AppAuthIOSAuthorization.m
INFO [2023-01-05 11:45:52.48]: ▸ Compiling flutter_appauth_vers.c
INFO [2023-01-05 11:45:52.48]: ▸ Compiling flutter_secure_storage_vers.c
INFO [2023-01-05 11:45:52.48]: ▸ Compiling flutter_secure_storage-dummy.m
INFO [2023-01-05 11:45:52.48]: ▸ Compiling FlutterSecureStoragePlugin.m
INFO [2023-01-05 11:45:52.48]: ▸ Linking flutter_secure_storage
INFO [2023-01-05 11:45:52.48]: ▸ Generating 'flutter_secure_storage.framework.dSYM'
INFO [2023-01-05 11:45:52.48]: ▸ Touching flutter_secure_storage.framework (in target 'flutter_secure_storage' from project 'Pods')
INFO [2023-01-05 11:45:52.48]: ▸ Linking flutter_appauth
INFO [2023-01-05 11:45:52.73]: ▸ Generating 'flutter_appauth.framework.dSYM'
INFO [2023-01-05 11:45:52.81]: ▸ Touching flutter_appauth.framework (in target 'flutter_appauth' from project 'Pods')
INFO [2023-01-05 11:45:52.83]: ▸ Copying Pods-Runner-umbrella.h
INFO [2023-01-05 11:45:52.83]: ▸ Processing Pods-Runner-Info.plist
INFO [2023-01-05 11:45:52.83]: ▸ Compiling Pods-Runner-dummy.m
INFO [2023-01-05 11:45:52.91]: ▸ Compiling Pods_Runner_vers.c
INFO [2023-01-05 11:45:52.95]: ▸ Touching Pods_Runner.framework (in target 'Pods-Runner' from project 'Pods')
INFO [2023-01-05 11:45:52.95]: ▸ Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
INFO [2023-01-05 11:45:52.95]: ▸ Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
INFO [2023-01-05 11:45:52.97]: ▸ Running script '[CP] Check Pods Manifest.lock'
INFO [2023-01-05 11:45:53.15]: ▸ Running script 'Run Script'
INFO [2023-01-05 11:46:10.22]: ▸ Copying AppFrameworkInfo.plist
INFO [2023-01-05 11:46:11.05]: ▸ Compiling LaunchScreen.storyboard
INFO [2023-01-05 11:46:11.05]: ▸ Compiling Main.storyboard
INFO [2023-01-05 11:46:11.05]: ▸ Compiling AppDelegate.swift
INFO [2023-01-05 11:46:11.35]: ▸ Processing Info.plist
INFO [2023-01-05 11:46:11.36]: ▸ Compiling GeneratedPluginRegistrant.m
INFO [2023-01-05 11:46:12.00]: ▸ Compiling Runner_vers.c
INFO [2023-01-05 11:46:12.00]: ▸ Linking Runner
INFO [2023-01-05 11:46:12.30]: ▸ Generating 'Runner.app.dSYM'
INFO [2023-01-05 11:46:12.47]: ▸ Running script 'Thin Binary'
INFO [2023-01-05 11:46:13.22]: ▸ Running script '[CP] Embed Pods Frameworks'
INFO [2023-01-05 11:46:15.25]: ▸ Touching Runner.app (in target 'Runner' from project 'Runner')
INFO [2023-01-05 11:46:15.51]: ▸ Archive Succeeded
DEBUG [2023-01-05 11:46:15.68]: Stored the archive in: /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner 2023-01-05 11.45.43.xcarchive
WARN [2023-01-05 11:46:15.79]: Generated plist file with the following values:
INFO [2023-01-05 11:46:15.79]: ▸ -----------------------------------------
INFO [2023-01-05 11:46:15.79]: ▸ {
INFO [2023-01-05 11:46:15.79]: ▸ "provisioningProfiles": {
INFO [2023-01-05 11:46:15.79]: ▸ "com.########.mg": "match AppStore com.########.mg"
INFO [2023-01-05 11:46:15.79]: ▸ },
INFO [2023-01-05 11:46:15.79]: ▸ "method": "app-store",
INFO [2023-01-05 11:46:15.79]: ▸ "signingStyle": "manual"
INFO [2023-01-05 11:46:15.79]: ▸ }
INFO [2023-01-05 11:46:15.79]: ▸ -----------------------------------------
INFO [2023-01-05 11:46:15.79]: This results in the following plist file:
INFO [2023-01-05 11:46:15.79]: ▸ -----------------------------------------
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸ method
INFO [2023-01-05 11:46:15.79]: ▸ app-store
INFO [2023-01-05 11:46:15.79]: ▸ provisioningProfiles
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸ com.########.mg
INFO [2023-01-05 11:46:15.79]: ▸ match AppStore com.########.mg
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸ signingStyle
INFO [2023-01-05 11:46:15.79]: ▸ manual
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸
INFO [2023-01-05 11:46:15.79]: ▸ -----------------------------------------
+----------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| Generated Package Command |
+----------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| Option | Value |
+----------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
| /usr/bin/xcrun | |
| /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh | |
| -exportArchive | |
| -exportOptionsPlist | /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_config20230105-44714-6dorqf.plist |
| -archivePath /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner\ 2023-01-05\ 11.45.43.xcarchive | |
| -exportPath | /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_output20230105-44714-hwasin |
+----------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+
INFO [2023-01-05 11:46:15.80]: $ /usr/bin/xcrun /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_config20230105-44714-6dorqf.plist' -archivePath /Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner\ 2023-01-05\ 11.45.43.xcarchive -exportPath '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_output20230105-44714-hwasin'
INFO [2023-01-05 11:46:15.99]: ▸ rbenv detected, removing env variables
INFO [2023-01-05 11:46:16.01]: ▸ rbenv: shell integration not enabled. Run `rbenv init' for instructions.
INFO [2023-01-05 11:46:16.01]: ▸ + xcodebuild -exportArchive -exportOptionsPlist /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_config20230105-44714-6dorqf.plist -archivePath '/Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner 2023-01-05 11.45.43.xcarchive' -exportPath /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_output20230105-44714-hwasin
INFO [2023-01-05 11:46:17.44]: ▸ 2023-01-05 11:46:17.444 xcodebuild[45549:15943449] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/Runner_2023-01-05_11-46-17.444.xcdistributionlogs".
INFO [2023-01-05 11:46:37.17]: ▸ Exported Runner to: /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/gym_output20230105-44714-hwasin
INFO [2023-01-05 11:46:37.17]: ▸ ** EXPORT SUCCEEDED **
INFO [2023-01-05 11:46:37.21]: Compressing 4 dSYM(s)
INFO [2023-01-05 11:46:37.21]: $ cd '/Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner 2023-01-05 11.45.43.xcarchive/dSYMs' && zip -r '/Users/shereef.marzouk/Dev/flutter-app-########/ios/Runner.app.dSYM.zip' *.dSYM
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/Contents/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/Contents/Resources/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/Contents/Resources/DWARF/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/Contents/Resources/DWARF/AppAuth (deflated 64%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: AppAuth.framework.dSYM/Contents/Info.plist (deflated 52%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/Contents/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/Contents/Resources/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/Contents/Resources/DWARF/Runner (deflated 58%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: Runner.app.dSYM/Contents/Info.plist (deflated 52%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/Contents/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/Contents/Resources/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/Contents/Resources/DWARF/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/Contents/Resources/DWARF/flutter_appauth (deflated 62%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_appauth.framework.dSYM/Contents/Info.plist (deflated 52%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/Contents/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/Contents/Resources/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/Contents/Resources/DWARF/ (stored 0%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/Contents/Resources/DWARF/flutter_secure_storage (deflated 59%)
INFO [2023-01-05 11:46:37.59]: ▸ updating: flutter_secure_storage.framework.dSYM/Contents/Info.plist (deflated 52%)

INFO [2023-01-05 11:46:37.59]: Successfully exported and compressed dSYM file
INFO [2023-01-05 11:46:37.60]: Successfully exported and signed the ipa file:
INFO [2023-01-05 11:46:37.60]: /Users/shereef.marzouk/Dev/flutter-app-########/ios/Runner.ipa
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
uninitialized constant CredentialsManager::AppfileConfig::APP_STORE_CONNECT_TEAM_ID
INFO [2023-01-05 11:46:37.70]: -------------------
INFO [2023-01-05 11:46:37.70]: --- Step: pilot ---
INFO [2023-01-05 11:46:37.70]: -------------------
INFO [2023-01-05 11:46:37.71]: Creating authorization token for App Store Connect API
INFO [2023-01-05 11:46:37.71]: Ready to upload new build to TestFlight (App: ########)...
DEBUG [2023-01-05 11:46:37.72]: App Platform (ios)
INFO [2023-01-05 11:46:38.33]: Wrote XML data to '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/d20230105-44714-azckd4/########-0f2bd4a4-3784-4404-a749-a5cc9f9cab0b.itmsp'
DEBUG [2023-01-05 11:46:38.33]: Using altool as transporter.
INFO [2023-01-05 11:46:38.39]: Going to upload updated app to App Store Connect
INFO [2023-01-05 11:46:38.39]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2023-01-05 11:46:38.39]: API_PRIVATE_KEYS_DIR=YourTmpP8KeyDir xcrun altool --upload-app --apiKey YourKeyID --apiIssuer YourIssuerID -t ios -f /var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa -k 100000
DEBUG [2023-01-05 11:46:38.60]: [altool]: 2023-01-05 11:46:38.607 Starting altool...

DEBUG [2023-01-05 11:46:38.60]: [altool]: 2023-01-05 11:46:38.609 Initializing bundle from: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Looking for Transporter at path: /Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.611 Using default transporter location: /usr/local/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Looking for Transporter at path: /Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 Using default transporter location: /usr/local/itms/bin/iTMSTransporter

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.612 iTMSTransporter is not available. Using REST APIs.

DEBUG [2023-01-05 11:46:38.61]: [altool]: 2023-01-05 11:46:38.616 *** SESSION AUTH: Webservice call to create a transporter session.

DEBUG [2023-01-05 11:46:38.65]: [altool]: 2023-01-05 11:46:38.657 jsonURL = https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZContentDeliveryService

DEBUG [2023-01-05 11:46:38.65]: [altool]: 2023-01-05 11:46:38.658 jsonRequest as dictionary = {

DEBUG [2023-01-05 11:46:38.65]: [altool]: id = "20230105114638-754";

DEBUG [2023-01-05 11:46:38.65]: [altool]: jsonrpc = "2.0";

DEBUG [2023-01-05 11:46:38.65]: [altool]: method = authenticateForSession;

DEBUG [2023-01-05 11:46:38.65]: [altool]: params = {

DEBUG [2023-01-05 11:46:38.65]: [altool]: Application = altool;

DEBUG [2023-01-05 11:46:38.65]: [altool]: ApplicationBundleId = "com.apple.itunes.altool";

DEBUG [2023-01-05 11:46:38.65]: [altool]: FrameworkVersions = {

DEBUG [2023-01-05 11:46:38.65]: [altool]: "com.apple.itunes.connect.ITunesConnectFoundation" = "6.043 (14043)";

DEBUG [2023-01-05 11:46:38.65]: [altool]: "com.apple.itunes.connect.ITunesConnectFoundationExtras" = "6.043 (14043)";

DEBUG [2023-01-05 11:46:38.65]: [altool]: "com.apple.itunes.connect.ITunesPackage" = "6.043 (14043)";

DEBUG [2023-01-05 11:46:38.65]: [altool]: };

DEBUG [2023-01-05 11:46:38.65]: [altool]: OSIdentifier = "Mac OS X 13.0.1 (Unknown)";

DEBUG [2023-01-05 11:46:38.65]: [altool]: Version = "6.043 (14043)";

DEBUG [2023-01-05 11:46:38.65]: [altool]: };

DEBUG [2023-01-05 11:46:38.65]: [altool]: }

DEBUG [2023-01-05 11:46:38.65]: [altool]: 2023-01-05 11:46:38.658 Setting request length to: 447

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.013 Web service call (authenticateForSession) result: {

DEBUG [2023-01-05 11:46:39.01]: [altool]: ErrorCode = 401;

DEBUG [2023-01-05 11:46:39.01]: [altool]: ErrorMessage = "Failure to authenticate.";

DEBUG [2023-01-05 11:46:39.01]: [altool]: Errors = (

DEBUG [2023-01-05 11:46:39.01]: [altool]: "Failure to authenticate."

DEBUG [2023-01-05 11:46:39.01]: [altool]: );

DEBUG [2023-01-05 11:46:39.01]: [altool]: NSUnderlyingError = "Error Domain=MZJSONServiceClientErrorDomain Code=401 "Failure to authenticate." \U2026";

DEBUG [2023-01-05 11:46:39.01]: [altool]: }

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 {

DEBUG [2023-01-05 11:46:39.01]: [altool]: ErrorCode = 401;

DEBUG [2023-01-05 11:46:39.01]: [altool]: ErrorMessage = "Failure to authenticate.";

DEBUG [2023-01-05 11:46:39.01]: [altool]: Errors = (

DEBUG [2023-01-05 11:46:39.01]: [altool]: "Failure to authenticate."

DEBUG [2023-01-05 11:46:39.01]: [altool]: );

DEBUG [2023-01-05 11:46:39.01]: [altool]: NSUnderlyingError = "Error Domain=MZJSONServiceClientErrorDomain Code=401 "Failure to authenticate." UserInfo={NSLocalizedDescription=Failure to authenticate., NSLocalizedFailureReason=Authentication failed.}";

DEBUG [2023-01-05 11:46:39.01]: [altool]: }

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.01]: [altool]: 2023-01-05 11:46:39.015 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.03]: [altool]: 2023-01-05 11:46:39.034 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.03]: [altool]: 2023-01-05 11:46:39.034 Non-localized server string received: 'Failure to authenticate.'.

DEBUG [2023-01-05 11:46:39.05]: [altool]: "Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 "Failure to authenticate." UserInfo={NSLocalizedRecoverySuggestion=Failure to authenticate., NSLocalizedDescription=Failure to authenticate., NSLocalizedFailureReason=App Store operation failed.}"

DEBUG [2023-01-05 11:46:39.05]: [altool]: ) (-1011)

DEBUG [2023-01-05 11:46:39.05]: [altool]: {

DEBUG [2023-01-05 11:46:39.05]: [altool]: NSLocalizedDescription = "Unable to upload archive.";

DEBUG [2023-01-05 11:46:39.05]: [altool]: NSLocalizedFailureReason = "Failed to authenticate for session: (\n "Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \"Failure to authenticate.\" UserInfo={NSLocalizedRecoverySuggestion=Failure to authenticate., NSLocalizedDescription=Failure to authenticate., NSLocalizedFailureReason=App Store operation failed.}"\n)";

DEBUG [2023-01-05 11:46:39.05]: [altool]: }

WARN [2023-01-05 11:46:39.05]: [altool] 2023-01-05 11:46:39.057 *** Error: Unable to upload archive. Failed to authenticate for session: (

WARN [2023-01-05 11:46:39.05]: [altool] "Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 "Failure to authenticate." UserInfo={NSLocalizedRecoverySuggestion=Failure to authenticate., NSLocalizedDescription=Failure to authenticate., NSLocalizedFailureReason=App Store operation failed.}"

WARN [2023-01-05 11:46:39.05]: [altool] ) (-1011)

WARN [2023-01-05 11:46:39.05]: [altool] {

WARN [2023-01-05 11:46:39.05]: [altool] NSLocalizedDescription = "Unable to upload archive.";

WARN [2023-01-05 11:46:39.05]: [altool] NSLocalizedFailureReason = "Failed to authenticate for session: (\n "Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \"Failure to authenticate.\" UserInfo={NSLocalizedRecoverySuggestion=Failure to authenticate., NSLocalizedDescription=Failure to authenticate., NSLocalizedFailureReason=App Store operation failed.}"\n)";

WARN [2023-01-05 11:46:39.05]: [altool] }

INFO [2023-01-05 11:46:39.05]: Application Loader output above ^
ERROR [2023-01-05 11:46:39.05]: Error uploading '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa'.
ERROR [2023-01-05 11:46:39.05]: Unable to upload archive. Failed to authenticate for session: (
ERROR [2023-01-05 11:46:39.05]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
ERROR [2023-01-05 11:46:39.06]: Could not download/upload from App Store Connect!
WARN [2023-01-05 11:46:39.06]: Lane Context:
INFO [2023-01-05 11:46:39.06]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :KEYCHAIN_PATH=>"~/Library/Keychains/########", :SIGH_PROFILE_TYPE=>"app-store", :MATCH_PROVISIONING_PROFILE_MAPPING=>{"com.########.mg"=>"match AppStore com.########.mg"}, :IPA_OUTPUT_PATH=>"/Users/shereef.marzouk/Dev/flutter-app-########/ios/Runner.ipa", :XCODEBUILD_ARCHIVE=>"/Users/shereef.marzouk/Library/Developer/Xcode/Archives/2023-01-05/Runner 2023-01-05 11.45.43.xcarchive", :DSYM_OUTPUT_PATH=>"/Users/shereef.marzouk/Dev/flutter-app-########/ios/Runner.app.dSYM.zip"}
ERROR [2023-01-05 11:46:39.06]: Error uploading ipa file:
[Application Loader Error Output]: Error uploading '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa'.
[Application Loader Error Output]: Unable to upload archive. Failed to authenticate for session: (
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
INFO [2023-01-05 11:46:39.06]: Successfully generated documentation at path '/Users/shereef.marzouk/Dev/flutter-app-########/ios/fastlane/README.md'

+------+---------------------------+-------------+
| fastlane summary |
+------+---------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------+-------------+
| 1 | update_fastlane | 2 |
| 2 | default_platform | 0 |
| 3 | delete_keychain | 0 |
| 4 | create_keychain | 0 |
| 5 | app_store_connect_api_key | 0 |
| 6 | cocoapods | 3 |
| 7 | match | 8 |
| 8 | gym | 64 |
| 💥 | pilot | 1 |
+------+---------------------------+-------------+

ERROR [2023-01-05 11:46:39.07]: fastlane finished with errors
bundler: failed to load command: fastlane (/Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane)
/Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in user_error!': \e[31m[!] Error uploading ipa file: (FastlaneCore::Interface::FastlaneError) [Application Loader Error Output]: Error uploading '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa'.\r [Application Loader Error Output]: Unable to upload archive. Failed to authenticate for session: (\r [Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.\e[0m from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/pilot/lib/pilot/build_manager.rb:55:in upload' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in chdir'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in execute_action' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' from Fastfile:147:in block (2 levels) in parsing_binding'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane.rb:33:in call' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:45:in chdir' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:45:in execute'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:354:in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:43:in start'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/bin/fastlane:23:in <top (required)>'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane:25:in load' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane:25:in <top (required)>'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in load' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in kernel_load'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:23:in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:486:in exec'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in dispatch' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:31:in dispatch'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in start' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:25:in start'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:48:in block in <top (required)>' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/friendly_errors.rb:120:in with_friendly_errors'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:36:in <top (required)>' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/bin/bundle:25:in load'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/bin/bundle:25:in <main>' /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in user_error!': Error uploading ipa file: (FastlaneCore::Interface::FastlaneError)
[Application Loader Error Output]: Error uploading '/var/folders/_f/ttmy11913fv62d6sz_6hkjlm0000gq/T/fd58e987-bc80-4048-b746-0c28c347c4cb.ipa'.\r
[Application Loader Error Output]: Unable to upload archive. Failed to authenticate for session: (\r
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/pilot/lib/pilot/build_manager.rb:55:in upload'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in run' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in chdir' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
from Fastfile:147:in block (2 levels) in parsing_binding' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane.rb:33:in call'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:45:in execute' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:354:in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:43:in start' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/fastlane-2.211.0/bin/fastlane:23:in <top (required)>' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane:25:in load'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane:25:in <top (required)>' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in load'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in kernel_load' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli/exec.rb:23:in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:486:in exec' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in run'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:31:in dispatch' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in start'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/cli.rb:25:in start' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:48:in block in <top (required)>'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/3.1.0/bundler/friendly_errors.rb:120:in with_friendly_errors' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:36:in <top (required)>'
from /Users/shereef.marzouk/.rbenv/versions/3.1.3/bin/bundle:25:in load' from /Users/shereef.marzouk/.rbenv/versions/3.1.3/bin/bundle:25:in

'

Environment

 
✅ fastlane environment ✅

Stack

Key Value
OS 13.0.1
Ruby 3.1.3
Bundler? true
Git git version 2.39.0
Installation Source ~/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/bin/fastlane
Host macOS 13.0.1 (22A400)
Ruby Lib Dir ~/.rbenv/versions/3.1.3/lib
OpenSSL Version OpenSSL 3.0.7 1 Nov 2022
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 14.2
Swift Version 5.7.2

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

update_fastlane

default_platform(:ios)

def mask(string, all_but = 4, char = '#')
  "#{string}".gsub(/.(?=.{#{all_but}})/, char)
end

def printLn(name, value)
  print("#{name} = '#{value}'\n")
end

def print_masked(name, value, all_but = 4)
  value = mask(value, all_but) if ENV['CI']
  printLn(name, value)
end

def delete_temp_keychain(name)
  print("Deleting key chain\n")
  delete_keychain(
    name: name
  ) if File.exist? File.expand_path("~/Library/Keychains/#{name}-db")
  print("Deleted key chain\n")
end

def create_temp_keychain(name, password)
  print("Creating key chain\n")
  create_keychain(
    name: name,
    password: password,
    unlock: false,
    timeout: 0
  )
  print("Created key chain\n")
end

def ensure_temp_keychain(name, password)
  delete_temp_keychain(name)
  create_temp_keychain(name, password)
end

_APPLE_ISSUER_ID = ENV["APPLE_ISSUER_ID"]
print_masked('APPLE_ISSUER_ID', _APPLE_ISSUER_ID)
_APPLE_KEY_ID = ENV["APPLE_KEY_ID"]
print_masked('APPLE_KEY_ID', _APPLE_KEY_ID)
_APPLE_KEY_CONTENT = ENV["APPLE_KEY_CONTENT"]
print_masked('APPLE_KEY_CONTENT', _APPLE_KEY_CONTENT)
_FASTLANE_EMAIL = ENV["FASTLANE_EMAIL"]
print_masked('FASTLANE_EMAIL', _FASTLANE_EMAIL)
_CONTACT_EMAIL = "DS-Armada-Team@########.com"
printLn('CONTACT_EMAIL', _CONTACT_EMAIL)
_CONTACT_FIRST_NAME = "Armada"
printLn('CONTACT_FIRST_NAME', _CONTACT_FIRST_NAME)
_CONTACT_LAST_NAME = "Team"
printLn('CONTACT_LAST_NAME', _CONTACT_LAST_NAME)
_DEMO_ACCOUNT_REQUIRED = true
printLn('DEMO_ACCOUNT_REQUIRED', _DEMO_ACCOUNT_REQUIRED)
_DEMO_ACCOUNT_NAME = "dev+1@########.com"
printLn('DEMO_ACCOUNT_NAME', _DEMO_ACCOUNT_NAME)
_DEMO_ACCOUNT_PASSWORD = _DEMO_ACCOUNT_NAME
print_masked('DEMO_ACCOUNT_PASSWORD', _DEMO_ACCOUNT_PASSWORD)
_TEST_FLIGHT_REVIEW_NOTE = "Thank you for reviewing! <3"
printLn('TEST_FLIGHT_REVIEW_NOTE', _TEST_FLIGHT_REVIEW_NOTE)
_APP_STORE_APP_DESCRIPTION = "This is a description of my app"
printLn('APP_STORE_APP_DESCRIPTION', _APP_STORE_APP_DESCRIPTION)
_CHANGE_LOG = "This is my changelog of things that have changed in a log"
printLn('CHANGE_LOG', _CHANGE_LOG)

_DEVELOPER_APP_ID = ENV["DEVELOPER_APP_ID"]
printLn('DEVELOPER_APP_ID', _DEVELOPER_APP_ID)
_DEVELOPER_APP_IDENTIFIER = ENV["DEVELOPER_APP_IDENTIFIER"]
printLn('DEVELOPER_APP_IDENTIFIER', _DEVELOPER_APP_IDENTIFIER)
_PROVISIONING_PROFILE_SPECIFIER = ENV["PROVISIONING_PROFILE_SPECIFIER"] || "match AppStore #{_DEVELOPER_APP_IDENTIFIER}"
printLn('PROVISIONING_PROFILE_SPECIFIER', _PROVISIONING_PROFILE_SPECIFIER)


_TEMP_KEYCHAIN_NAME = ENV["TEMP_KEYCHAIN_NAME"]
print_masked('TEMP_KEYCHAIN_NAME', _TEMP_KEYCHAIN_NAME)
_TEMP_KEYCHAIN_PASSWORD = ENV["TEMP_KEYCHAIN_PASSWORD"]
print_masked('TEMP_KEYCHAIN_PASSWORD', _TEMP_KEYCHAIN_PASSWORD)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do

    ensure_temp_keychain(_TEMP_KEYCHAIN_NAME, _TEMP_KEYCHAIN_PASSWORD)

    unless _APPLE_KEY_CONTENT.to_s.strip.empty?
      api_key = app_store_connect_api_key(
        key_id: _APPLE_KEY_ID,
        issuer_id: _APPLE_ISSUER_ID,
        key_content: "#{_APPLE_KEY_CONTENT}",
        is_key_content_base64: true,
        duration: 1200,
        in_house: false
      )
      print_masked('api_key', api_key, 10)
    else
      print("APPLE_KEY_CONTENT was empty skipping auth\n")
    end
        
    cocoapods(
      clean_install: true
    )

    match(
      type: 'appstore',
      app_identifier: "#{_DEVELOPER_APP_IDENTIFIER}",
      readonly: true,
      keychain_name: _TEMP_KEYCHAIN_NAME,
      keychain_password: _TEMP_KEYCHAIN_PASSWORD,
      verbose: true,
    )

    # cert(

    # )

    # sigh(
    #   force: true
    # )

    gym(
      configuration: "Release",
      workspace: "Runner.xcworkspace", 
      scheme: "Runner",
      export_method: "app-store",
      export_options: {
        provisioningProfiles: { 
            _DEVELOPER_APP_IDENTIFIER => _PROVISIONING_PROFILE_SPECIFIER
        }
      }
    )

    pilot(
      app_identifier: _DEVELOPER_APP_IDENTIFIER,
      beta_app_review_info: {
        contact_email: _CONTACT_EMAIL,
        contact_first_name: _CONTACT_FIRST_NAME,
        contact_last_name: _CONTACT_LAST_NAME,
        demo_account_name: _DEMO_ACCOUNT_NAME,
        demo_account_password: _DEMO_ACCOUNT_PASSWORD,
        notes: _TEST_FLIGHT_REVIEW_NOTE
      },
      beta_app_feedback_email: _CONTACT_EMAIL,
      beta_app_description: _APP_STORE_APP_DESCRIPTION,
      changelog: _CHANGE_LOG,
      demo_account_required: _DEMO_ACCOUNT_REQUIRED,
      notify_external_testers: true,
      distribute_external: true,
      submit_beta_review: true,
      team_id: "########",
      #username: _FASTLANE_EMAIL,
      apple_id: _DEVELOPER_APP_ID,
      api_key: api_key
    )

    delete_temp_keychain(_TEMP_KEYCHAIN_NAME)
  end
end
`./fastlane/Appfile`
_DEVELOPER_APP_IDENTIFIER = ENV["DEVELOPER_APP_IDENTIFIER"] 
_FASTLANE_EMAIL =  ENV["FASTLANE_EMAIL"] 
_APP_STORE_CONNECT_TEAM_ID = APP_STORE_CONNECT_TEAM_ID 
_DEVELOPER_PORTAL_TEAM_ID = ENV["DEVELOPER_PORTAL_TEAM_ID"]

app_identifier(_DEVELOPER_APP_IDENTIFIER)
apple_id(_FASTLANE_EMAIL)
itc_team_id(_APP_STORE_CONNECT_TEAM_ID)
team_id(_DEVELOPER_PORTAL_TEAM_ID)

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.211.0 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
error_highlight 0.3.0
did_you_mean 1.6.1
bundler 2.3.26
pathname 0.2.0
rake 13.0.6
rexml 3.2.5
CFPropertyList 3.0.5
concurrent-ruby 1.1.10
i18n 1.12.0
minitest 5.16.3
thread_safe 0.3.6
tzinfo 1.2.10
activesupport 5.2.8.1
public_suffix 5.0.1
addressable 2.8.1
httpclient 2.8.3
json 2.6.3
algoliasearch 1.27.5
artifactory 3.0.15
atomos 0.1.3
aws-eventstream 1.2.0
aws-partitions 1.681.0
aws-sigv4 1.5.2
jmespath 1.6.2
aws-sdk-core 3.168.4
aws-sdk-kms 1.61.0
aws-sdk-s3 1.117.2
babosa 1.0.4
claide 1.1.0
fuzzy_match 2.0.4
nap 1.1.0
netrc 0.11.0
ffi 1.15.5
ethon 0.16.0
typhoeus 1.4.0
cocoapods-core 1.10.2
cocoapods-deintegrate 1.0.5
cocoapods-downloader 1.6.3
cocoapods-plugins 1.0.0
cocoapods-search 1.0.1
cocoapods-trunk 1.6.0
cocoapods-try 1.2.0
colored2 3.1.2
escape 0.0.4
fourflusher 2.3.1
gh_inspector 1.1.3
molinillo 0.6.6
ruby-macho 1.4.0
nanaimo 0.3.0
xcodeproj 1.22.0
cocoapods 1.10.2
colored 1.2
highline 2.0.3
commander 4.6.0
declarative 0.0.20
digest-crc 0.6.4
unf_ext 0.0.8.2
unf 0.1.4
domain_name 0.5.20190701
dotenv 2.8.1
emoji_regex 3.2.3
excon 0.95.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
multipart-post 2.0.0
faraday-multipart 1.0.4
faraday-net_http 1.0.1
faraday-net_http_persistent 1.2.0
faraday-patron 1.0.0
faraday-rack 1.0.0
faraday-retry 1.0.3
ruby2_keywords 0.0.5
faraday 1.10.2
http-cookie 1.0.5
faraday-cookie_jar 0.0.7
faraday_middleware 1.2.0
fastimage 2.2.6
jwt 2.5.0
memoist 0.16.2
multi_json 1.15.0
os 1.1.4
signet 0.17.0
googleauth 1.3.0
mini_mime 1.1.2
trailblazer-option 0.1.2
uber 0.1.0
representable 3.2.0
retriable 3.1.2
webrick 1.7.0
google-apis-core 0.9.2
google-apis-androidpublisher_v3 0.32.0
google-apis-playcustomapp_v1 0.12.0
google-apis-iamcredentials_v1 0.16.0
google-apis-storage_v1 0.19.0
google-cloud-env 1.6.0
google-cloud-errors 1.3.0
google-cloud-core 1.6.0
google-cloud-storage 1.44.0
mini_magick 4.12.0
naturally 2.2.1
optparse 0.1.1
plist 3.6.0
rubyzip 2.3.2
security 0.1.3
simctl 1.6.8
terminal-notifier 2.0.0
unicode-display_width 1.8.0
terminal-table 1.8.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.1

generated on: 2023-01-05

@Shereef
Copy link
Author

Shereef commented Jan 5, 2023

https://docs.fastlane.tools/actions/team_id/ this didn't help at all

@mdgeist
Copy link

mdgeist commented Jan 6, 2023

Something may be up with your environment variable, DEVELOPER_PORTAL_TEAM_ID .

Is this set to the correct value? You can obtain this by logging into https://developer.apple.com/account

The Team ID is available on the main page and you can set it in your Appfile or if you want you could try setting an environment variable in the environment . At work we set the env var, FASTLANE_TEAM_ID. This is picked up by Fastlane itself. Hope this helps.

@Shereef
Copy link
Author

Shereef commented Jan 10, 2023

Something may be up with your environment variable, DEVELOPER_PORTAL_TEAM_ID .

Is this set to the correct value? You can obtain this by logging into https://developer.apple.com/account

The Team ID is available on the main page and you can set it in your Appfile or if you want you could try setting an environment variable in the environment . At work we set the env var, FASTLANE_TEAM_ID. This is picked up by Fastlane itself. Hope this helps.

image

This is the ID I am already using
I am going to try with the env var and let you know

@Shereef
Copy link
Author

Shereef commented Jan 10, 2023

I tried the env var instead and it doesn't work

@Shereef
Copy link
Author

Shereef commented Jan 10, 2023

My mistake was a typo in APPLE_ISSUER_ID

Everything works fine now

Thanks all

@Shereef Shereef closed this as completed Jan 10, 2023
@Androz2091
Copy link

Androz2091 commented Aug 5, 2023

(same issue, resolved because I thought the issuer ID was the ID of the Apple Developer account, and it was not, the issuer ID has to be retrieved on the keys page)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants