fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps

Home Page:https://fastlane.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The provided entity includes an attribute with an invalid value - The 'locale' value is invalid.

tverra opened this issue · comments

New Issue Checklist

Issue Description

I'm setting up fastlane for the first time, and I've run into a problem or two with App Store Connect. The one I'm stuck on is an error from App Store Connect that says The provided entity includes an attribute with an invalid value - The 'locale' value is invalid. - /data/attributes/locale . It appears after the build is finished processing, and it doesn't cause any errors that I have noticed, other than interrupting my fastlane script right before getting to the changelog value. I didn't even notice the error before setting the changelog parameter.

I did manage to work around this by first uploading the app, and then setting the changelog in another separate step by using distribute_only.

Does anyone know what causes this error? I'm not an Apple-expert by any stretch, and so I can't seem to find this invalid "locale" that interrupts my fastlane script. The error message doesn't seem to exist on Google. I've been trying different configurations for days now, but the process is pretty slow. Below are my general findings:

Command executed

Works, because it doesn't need to wait for processing to complete and return error:
fastlane deploy

Works, because the error occurs between the scripts.
fastlane deploy && fastlane distribute

My initial attempt. This does not work, as the script is interrupted before changelog. Output included below.
fastlane test

Complete output when running fastlane, including the stack trace and command used
 
Me@My-Mac-mini my-app % bundle exec fastlane test          
[✔] 🚀 
[15:29:47]: ------------------------------
[15:29:47]: --- Step: default_platform ---
[15:29:47]: ------------------------------
[15:29:47]: Driving the lane 'ios test' 🚀
[15:29:47]: --------------------------------------
[15:29:47]: --- Step: Switch to ios build lane ---
[15:29:47]: --------------------------------------
[15:29:47]: Cruising over to lane 'ios build' 🚖
[15:29:47]: ---------------------------
[15:29:47]: --- Step: flutter clean ---
[15:29:47]: ---------------------------
[15:29:47]: $ flutter clean
[15:29:48]: ▸ Changing current working directory to: /Users/Me/AndroidStudioProjects/my-app
c^C+------------------+----------+
|        Lane Context         |
+------------------+----------+
| DEFAULT_PLATFORM | ios      |
| PLATFORM_NAME    | ios      |
| LANE_NAME        | ios test |
+------------------+----------+

+------+--------------------------+-------------+
| fastlane summary |
+------+--------------------------+-------------+
| Step | Action | Time (in s) |
+------+--------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | Switch to ios build lane | 0 |
| 3 | flutter clean | 1 |
+------+--------------------------+-------------+

[15:29:49]: fastlane finished with errors

Cancelled... use --verbose to show the stack trace
Me@My-Mac-mini my-app %
Me@My-Mac-mini my-app % bundle exec fastlane test scheme:this-app
[✔] 🚀
[15:29:57]: ------------------------------
[15:29:57]: --- Step: default_platform ---
[15:29:57]: ------------------------------
[15:29:57]: Driving the lane 'ios test' 🚀
[15:29:57]: --------------------------------------
[15:29:57]: --- Step: Switch to ios build lane ---
[15:29:57]: --------------------------------------
[15:29:57]: Cruising over to lane 'ios build' 🚖
[15:29:57]: ---------------------------
[15:29:57]: --- Step: flutter clean ---
[15:29:57]: ---------------------------
[15:29:57]: $ flutter clean
[15:29:57]: ▸ Changing current working directory to: /Users/Me/AndroidStudioProjects/my-app
[15:30:05]: ▸ Cleaning Xcode workspace... 7.9s
[15:30:05]: ▸ Deleting build... 5ms
[15:30:05]: ▸ Deleting .dart_tool... 10ms
[15:30:05]: ▸ Deleting .packages... 0ms
[15:30:05]: ▸ Deleting Generated.xcconfig... 0ms
[15:30:05]: ▸ Deleting flutter_export_environment.sh... 0ms
[15:30:05]: ▸ Deleting Flutter.podspec... 0ms
[15:30:05]: ▸ Deleting .flutter-plugins-dependencies... 0ms
[15:30:05]: ▸ Deleting .flutter-plugins... 0ms
[15:30:05]: -----------------------------
[15:30:05]: --- Step: flutter pub get ---
[15:30:05]: -----------------------------
[15:30:05]: $ flutter pub get
[15:30:06]: ▸ Changing current working directory to: /Users/Me/AndroidStudioProjects/my-app
[15:30:08]: ▸ Running "flutter pub get" in my-app... 1,637ms
[15:30:10]: -----------------------
[15:30:10]: --- Step: cocoapods ---
[15:30:10]: -----------------------
[15:30:10]: $ cd 'ios' && pod install
[15:30:11]: ▸ Analyzing dependencies
[15:30:12]: ▸ Downloading dependencies
[15:30:12]: ▸ Installing FMDB (2.7.5)
[15:30:12]: ▸ Installing Flutter (1.0.0)
[15:30:12]: ▸ Installing Protobuf (3.20.1)
[15:30:12]: ▸ Installing Reachability (3.2)
[15:30:12]: ▸ Installing SwiftProtobuf (1.19.0)
[15:30:12]: ▸ Installing connectivity (0.0.1)
[15:30:12]: ▸ Installing device_calendar (0.0.1)
[15:30:12]: ▸ Installing device_info (0.0.1)
[15:30:12]: ▸ Installing flutter_config (0.0.1)
[15:30:12]: ▸ Installing flutter_isolate (0.0.1)
[15:30:12]: ▸ Installing flutter_native_timezone (0.0.1)
[15:30:12]: ▸ Installing image_picker_ios (0.0.1)
[15:30:12]: ▸ Installing libPhoneNumber-iOS (0.9.15)
[15:30:12]: ▸ Installing libphonenumber (0.0.1)
[15:30:12]: ▸ Installing libphonenumber_plugin (0.0.1)
[15:30:12]: ▸ Installing my-package (0.0.1)
[15:30:12]: ▸ Installing open_file (0.0.1)
[15:30:12]: ▸ Installing package_info_plus (0.4.5)
[15:30:12]: ▸ Installing path_provider_ios (0.0.1)
[15:30:12]: ▸ Installing permission_handler_apple (9.0.4)
[15:30:12]: ▸ Installing printing (1.0.0)
[15:30:12]: ▸ Installing reactive_ble_mobile (0.0.1)
[15:30:12]: ▸ Installing share_plus (0.0.1)
[15:30:12]: ▸ Installing shared_preferences_ios (0.0.1)
[15:30:12]: ▸ Installing sqflite (0.0.2)
[15:30:12]: ▸ Installing sqlite3 (3.38.5)
[15:30:12]: ▸ Installing sqlite3_flutter_libs (0.0.1)
[15:30:12]: ▸ Installing store_redirect (0.0.1)
[15:30:12]: ▸ Installing url_launcher_ios (0.0.1)
[15:30:12]: ▸ Installing webview_flutter_wkwebview (0.0.1)
[15:30:12]: ▸ Generating Pods project
[15:30:12]: ▸ Integrating client project
[15:30:12]: ▸ Pod installation complete! There are 24 dependencies from the Podfile and 30 total pods installed.
[15:30:12]: ▸ [!] 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).
[15:30:12]: ---------------------------------
[15:30:12]: --- Step: update_project_team ---
[15:30:12]: ---------------------------------
[15:30:12]: Updating development team (dev-team) for target Runner in the project 'ios/Runner.xcodeproj'
[15:30:12]: Successfully updated project settings to use Developer Team ID 'dev-team' for target Runner
[15:30:12]: -----------------
[15:30:12]: --- Step: gym ---
[15:30:12]: -----------------
[15:30:12]: Resolving Swift Package Manager dependencies...
[15:30:12]: $ xcodebuild -resolvePackageDependencies -workspace ios/Runner.xcworkspace -scheme my
[15:30:12]: ▸ 2022-06-01 15:30:12.702 xcodebuild[31847:164109] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[15:30:12]: ▸ 2022-06-01 15:30:12.703 xcodebuild[31847:164109] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[15:30:12]: ▸ Command line invocation:
[15:30:12]: ▸ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ios/Runner.xcworkspace -scheme my
[15:30:12]: ▸ User defaults from command line:
[15:30:12]: ▸ IDEPackageSupportUseBuiltinSCM = YES
[15:30:13]: ▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[15:30:13]: ▸ { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-000225E83A79001E }
[15:30:13]: ▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[15:30:13]: ▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[15:30:13]: ▸ { platform:iOS Simulator, id:5AE5604D-B60F-4C78-8317-0EF0347F3724, OS:15.5, name:iPad (9th generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:209457BF-BD07-49EF-8DA5-600EE47A0182, OS:15.5, name:iPad Air (5th generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:35CFA4B6-7853-424A-B4EE-5F2BF2CFDF43, OS:15.5, name:iPad Pro (9.7-inch) }
[15:30:13]: ▸ { platform:iOS Simulator, id:2BDE7FFF-16DA-4CE0-9171-85592725EBB2, OS:15.5, name:iPad Pro (11-inch) (3rd generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:EE58D927-E365-4AE3-92C8-2C6AAE5A94F7, OS:15.5, name:iPad Pro (12.9-inch) (5th generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:B6ECD0AD-DAF0-4987-BBE0-E7569EDAE04D, OS:15.5, name:iPad mini (6th generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:83833901-A573-4F50-AAEE-67C1F57BC9AF, OS:15.5, name:iPhone 8 }
[15:30:13]: ▸ { platform:iOS Simulator, id:640505CE-28CF-4817-9AE7-2BEEA3B08EEE, OS:15.5, name:iPhone 8 Plus }
[15:30:13]: ▸ { platform:iOS Simulator, id:05D73D9B-C158-4BCA-B5BA-ED8B4B888C63, OS:15.5, name:iPhone 11 }
[15:30:13]: ▸ { platform:iOS Simulator, id:110E877D-6D74-4509-B868-DD0A3D7AC28F, OS:15.5, name:iPhone 11 Pro }
[15:30:13]: ▸ { platform:iOS Simulator, id:99CB22FC-C170-4FF5-A117-A0074C9DA851, OS:15.5, name:iPhone 11 Pro Max }
[15:30:13]: ▸ { platform:iOS Simulator, id:3D1DABEF-6947-4235-BBA3-84A67CB13E61, OS:15.5, name:iPhone 12 }
[15:30:13]: ▸ { platform:iOS Simulator, id:6CB799FC-86BB-4815-BA18-C5A0A23321E6, OS:15.5, name:iPhone 12 Pro }
[15:30:13]: ▸ { platform:iOS Simulator, id:D3650F04-8891-44C3-9DA5-FFA7A2B7D1C0, OS:15.5, name:iPhone 12 Pro Max }
[15:30:13]: ▸ { platform:iOS Simulator, id:37BA366C-77BF-4713-9F07-1FA34A63F435, OS:15.5, name:iPhone 12 mini }
[15:30:13]: ▸ { platform:iOS Simulator, id:20A082A7-25D8-48F8-B157-4AC385CCE972, OS:15.5, name:iPhone 13 }
[15:30:13]: ▸ { platform:iOS Simulator, id:96E658B4-96FF-4754-BA9C-9FB82A7BFB72, OS:15.5, name:iPhone 13 Pro }
[15:30:13]: ▸ { platform:iOS Simulator, id:597264D8-9A10-4542-AE3D-3A083DB78A5F, OS:15.5, name:iPhone 13 Pro Max }
[15:30:13]: ▸ { platform:iOS Simulator, id:A4B19590-32E8-43EF-AC61-AA7DBFADF37C, OS:15.5, name:iPhone 13 mini }
[15:30:13]: ▸ { platform:iOS Simulator, id:F0DBE4F9-94DC-4835-8055-16C49DB2AD5D, OS:15.5, name:iPhone SE (3rd generation) }
[15:30:13]: ▸ { platform:iOS Simulator, id:FAF7996A-94EF-402E-94CE-06F00120D98D, OS:15.5, name:iPod touch (7th generation) }
[15:30:13]: ▸ resolved source packages:
[15:30:13]: $ xcodebuild -showBuildSettings -workspace ios/Runner.xcworkspace -scheme my
2022-06-01 15:30:13.439 xcodebuild[31855:164168] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-01 15:30:13.439 xcodebuild[31855:164168] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-000225E83A79001E }
{ 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:5AE5604D-B60F-4C78-8317-0EF0347F3724, OS:15.5, name:iPad (9th generation) }
{ platform:iOS Simulator, id:209457BF-BD07-49EF-8DA5-600EE47A0182, OS:15.5, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:35CFA4B6-7853-424A-B4EE-5F2BF2CFDF43, OS:15.5, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:2BDE7FFF-16DA-4CE0-9171-85592725EBB2, OS:15.5, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:EE58D927-E365-4AE3-92C8-2C6AAE5A94F7, OS:15.5, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:B6ECD0AD-DAF0-4987-BBE0-E7569EDAE04D, OS:15.5, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:83833901-A573-4F50-AAEE-67C1F57BC9AF, OS:15.5, name:iPhone 8 }
{ platform:iOS Simulator, id:640505CE-28CF-4817-9AE7-2BEEA3B08EEE, OS:15.5, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:05D73D9B-C158-4BCA-B5BA-ED8B4B888C63, OS:15.5, name:iPhone 11 }
{ platform:iOS Simulator, id:110E877D-6D74-4509-B868-DD0A3D7AC28F, OS:15.5, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:99CB22FC-C170-4FF5-A117-A0074C9DA851, OS:15.5, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:3D1DABEF-6947-4235-BBA3-84A67CB13E61, OS:15.5, name:iPhone 12 }
{ platform:iOS Simulator, id:6CB799FC-86BB-4815-BA18-C5A0A23321E6, OS:15.5, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:D3650F04-8891-44C3-9DA5-FFA7A2B7D1C0, OS:15.5, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:37BA366C-77BF-4713-9F07-1FA34A63F435, OS:15.5, name:iPhone 12 mini }
{ platform:iOS Simulator, id:20A082A7-25D8-48F8-B157-4AC385CCE972, OS:15.5, name:iPhone 13 }
{ platform:iOS Simulator, id:96E658B4-96FF-4754-BA9C-9FB82A7BFB72, OS:15.5, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:597264D8-9A10-4542-AE3D-3A083DB78A5F, OS:15.5, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:A4B19590-32E8-43EF-AC61-AA7DBFADF37C, OS:15.5, name:iPhone 13 mini }
{ platform:iOS Simulator, id:F0DBE4F9-94DC-4835-8055-16C49DB2AD5D, OS:15.5, name:iPhone SE (3rd generation) }
{ platform:iOS Simulator, id:FAF7996A-94EF-402E-94CE-06F00120D98D, OS:15.5, name:iPod touch (7th generation) }

+--------------------------------------+--------------------------------------------------------+
| Summary for gym 2.206.2 |
+--------------------------------------+--------------------------------------------------------+
| output_name | my-app |
| workspace | ios/Runner.xcworkspace |
| scheme | my-app |
| output_directory | fastlane/builds |
| include_bitcode | false |
| include_symbols | true |
| export_xcargs | -allowProvisioningUpdates |
| clean | false |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| build_path | /Users/Me/Library/Developer/Xcode/Archives/2022-06-01 |
| 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 |
+--------------------------------------+--------------------------------------------------------+

[15:30:14]: $ set -o pipefail && xcodebuild -workspace ios/Runner.xcworkspace -scheme my -destination 'generic/platform=iOS' -archivePath /Users/Me/Library/Developer/Xcode/Archives/2022-06-01/my\ 2022-06-01\ 15.30.14.xcarchive archive | tee /Users/Me/Library/Logs/gym/Runner-my.log | xcpretty
[15:30:14]: ▸ 2022-06-01 15:30:14.582 xcodebuild[31879:164307] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[15:30:14]: ▸ 2022-06-01 15:30:14.582 xcodebuild[31879:164307] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[15:30:17]: ▸ Processing webview_flutter_wkwebview-Info.plist
[15:30:17]: ▸ Copying webview-umbrella.h
...
[ omitted ]
...
[15:30:50]: ▸ Touching reactive_ble_mobile.framework (in target 'reactive_ble_mobile' from project 'Pods')
[15:30:50]: ▸ Processing Pods-Runner-Info.plist
[15:30:50]: ▸ Copying Pods-Runner-umbrella.h
[15:30:50]: ▸ Compiling Pods-Runner-dummy.m
[15:30:50]: ▸ Compiling Pods_Runner_vers.c
[15:30:50]: ▸ Touching Pods_Runner.framework (in target 'Pods-Runner' from project 'Pods')
[15:30:50]: ▸ Running script '[CP] Check Pods Manifest.lock'
[15:30:50]: ▸ Running script 'Run Script'
[15:31:33]: ▸ Compiling AppDelegate.swift
[15:31:34]: ▸ Compiling Runner_vers.c
[15:31:34]: ▸ Compiling GeneratedPluginRegistrant.m
[15:31:35]: ▸ Linking Runner
[15:31:35]: ▸ Copying AppFrameworkInfo.plist
[15:31:35]: ▸ Copying InfoPlist.strings
[15:31:35]: ▸ Compiling Main.storyboard
[15:31:36]: ▸ Copying InfoPlist.strings
[15:31:36]: ▸ Compiling LaunchScreen.storyboard
[15:31:36]: ▸ Processing Info.plist
[15:31:36]: ▸ Running script 'Thin Binary'
[15:31:37]: ▸ Generating 'Runner.app.dSYM'
[15:31:37]: ▸ Running script '[CP] Embed Pods Frameworks'
[15:31:40]: ▸ Touching Runner.app (in target 'Runner' from project 'Runner')
[15:31:40]: ▸ no rule to process file '/Users/Me/.pub-cache/hosted/pub.dartlang.org/flutter_config-2.0.0/ios/Classes/BuildDotenvConfig.rb' of type 'text.script.ruby' for architecture 'arm64' (in target 'flutter_config' from project 'Pods')
[15:31:40]: ▸ no rule to process file '/Users/Me/.pub-cache/hosted/pub.dartlang.org/flutter_config-2.0.0/ios/Classes/BuildXCConfig.rb' of type 'text.script.ruby' for architecture 'arm64' (in target 'flutter_config' from project 'Pods')
[15:31:40]: ▸ no rule to process file '/Users/Me/.pub-cache/hosted/pub.dartlang.org/flutter_config-2.0.0/ios/Classes/ReadDotEnv.rb' of type 'text.script.ruby' for architecture 'arm64' (in target 'flutter_config' from project 'Pods')
[15:31:40]: ▸ Archive Succeeded
[15:31:40]: Generated plist file with the following values:
[15:31:40]: ▸ -----------------------------------------
[15:31:40]: ▸ {
[15:31:40]: ▸ "method": "app-store",
[15:31:40]: ▸ "uploadSymbols": true,
[15:31:40]: ▸ "uploadBitcode": false
[15:31:40]: ▸ }
[15:31:40]: ▸ -----------------------------------------
[15:31:40]: $ /usr/bin/xcrun /Users/Me/.gem/gems/fastlane-2.206.2/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/0s/8s48rql50r73bxh5nr10f5mm0000gn/T/gym_config20220601-31573-1emcpm3.plist' -archivePath /Users/Me/Library/Developer/Xcode/Archives/2022-06-01/my\ 2022-06-01\ 15.30.14.xcarchive -exportPath '/var/folders/0s/8s48rql50r73bxh5nr10f5mm0000gn/T/gym_output20220601-31573-fxbuxu' -allowProvisioningUpdates
[15:32:07]: Mapping dSYM(s) using generated BCSymbolMaps
...
[ omitted ]
...
[15:32:12]: ▸ updating: webview_flutter_wkwebview.framework.dSYM/Contents/Resources/DWARF/webview_flutter_wkwebview (deflated 63%)
[15:32:12]: ▸ updating: webview_flutter_wkwebview.framework.dSYM/Contents/Info.plist (deflated 52%)

[15:32:12]: Successfully exported and compressed dSYM file
[15:32:12]: Successfully exported and signed the ipa file:
[15:32:12]: /Users/Me/AndroidStudioProjects/my-app/fastlane/builds/my.ipa
[15:32:12]: Cruising back to lane 'ios test' 🚘
[15:32:12]: ----------------------------------
[15:32:12]: --- Step: upload_to_testflight ---
[15:32:12]: ----------------------------------
[15:32:12]: Login to App Store Connect (mail@example.no)
[15:32:16]: Login successful
[15:32:19]: Ready to upload new build to TestFlight (App: app-id)...
[15:32:31]: iTunes Transporter successfully finished its job
[15:32:31]: Going to upload updated app to App Store Connect
[15:32:31]: This might take a few minutes. Please don't interrupt the script.
[15:33:57]: iTunes Transporter successfully finished its job
[15:33:57]: -------------------------------------------------------------------------------------------------------------
[15:33:57]: Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online.
[15:33:57]: -------------------------------------------------------------------------------------------------------------
[15:33:57]: Successfully uploaded the new binary to App Store Connect
[15:33:57]: If you want to skip waiting for the processing to be finished, use the skip_waiting_for_build_processing option
[15:33:57]: Note that if skip_waiting_for_build_processing is used but a changelog is supplied, this process will wait for the build to appear on AppStoreConnect, update the changelog and then skip the remaining of the processing steps.
[15:33:57]: Waiting for processing on... app_id: app-id, app_version: 1.2.2, build_version: 100, platform: IOS
[15:33:58]: Read more information on why this build isn't showing up yet - #14997
[15:33:58]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:34:29]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:34:59]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:35:30]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:36:01]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:36:31]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:37:02]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
[15:37:36]: Waiting for App Store Connect to finish processing the new build (1.2.2 - 100) for IOS
+--------------------+----------------------------------------------------------+
| Lane Context |
+--------------------+----------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios test |
| IPA_OUTPUT_PATH | /Users/Me/AndroidStudioProjects/my-app/fastlane/builds/ |
| | my.ipa |
| XCODEBUILD_ARCHIVE | /Users/Me/Library/Developer/Xcode/Archives/2022-06-01/ |
| | my 2022-06-01 15.30.14.xcarchive |
| DSYM_OUTPUT_PATH | /Users/Me/AndroidStudioProjects/my-app/fastlane/builds/ |
| | /my.app.dSYM.zip |
+--------------------+----------------------------------------------------------+
[15:37:37]: The provided entity includes an attribute with an invalid value - The 'locale' value is invalid. - /data/attributes/locale

+------+--------------------------+-------------+
| fastlane summary |
+------+--------------------------+-------------+
| Step | Action | Time (in s) |
+------+--------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | Switch to ios build lane | 0 |
| 3 | flutter clean | 8 |
| 4 | flutter pub get | 4 |
| 5 | cocoapods | 1 |
| 6 | update_project_team | 0 |
| 7 | gym | 120 |
| 💥 | upload_to_testflight | 324 |
+------+--------------------------+-------------+

[15:37:37]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡️ Having deliver/upload_to_app_store issues? Install 2.150.0.rc5
#16639 [closed] 116 💬
04 Sep 2020

🔗 You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/Me/.gem/bin/fastlane)
/Users/Me/.gem/gems/fastlane-2.206.2/spaceship/lib/spaceship/connect_api/api_client.rb:204:in handle_response': [!] The provided entity includes an attribute with an invalid value - The 'locale' value is invalid. - /data/attributes/locale (Spaceship::UnexpectedResponse) from /Users/Me/.gem/gems/fastlane-2.206.2/spaceship/lib/spaceship/connect_api/api_client.rb:124:in post'
from /Users/Me/.gem/gems/fastlane-2.206.2/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:148:in post_beta_build_localizations' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in post_beta_build_localizations'
from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:573:in update_localized_build_review_for_lang' from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:561:in block in update_localized_build_review'
from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:557:in each' from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:557:in update_localized_build_review'
from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:270:in update_beta_app_meta' from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:182:in distribute'
from /Users/Me/.gem/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:79:in upload' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in run'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:229:in chdir'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:229:in execute_action' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' from Fastfile:100:in block (2 levels) in parsing_binding'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/lane.rb:33:in call' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:49:in block in execute'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:45:in chdir' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:45:in execute'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run' from /Users/Me/.gem/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
from /Users/Me/.gem/gems/commander-4.6.0/lib/commander/command.rb:157:in run' from /Users/Me/.gem/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' from /Users/Me/.gem/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:354:in run' from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:43:in start'
from /Users/Me/.gem/gems/fastlane-2.206.2/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off' from /Users/Me/.gem/gems/fastlane-2.206.2/bin/fastlane:23:in <top (required)>'
from /Users/Me/.gem/bin/fastlane:25:in load' from /Users/Me/.gem/bin/fastlane:25:in <top (required)>'
from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli/exec.rb:58:in load' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli/exec.rb:58:in kernel_load'
from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli/exec.rb:23:in run' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli.rb:484:in exec'
from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli.rb:31:in dispatch'
from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/cli.rb:25:in start'
from /Users/Me/.gem/gems/bundler-2.3.7/exe/bundle:48:in block in <top (required)>' from /Users/Me/.gem/gems/bundler-2.3.7/lib/bundler/friendly_errors.rb:103:in with_friendly_errors'
from /Users/Me/.gem/gems/bundler-2.3.7/exe/bundle:36:in <top (required)>' from /Users/Me/.gem/bin/bundle:25:in load'
from /Users/Me/.gem/bin/bundle:25:in `

'

Environment

✅ fastlane environment ✅

Stack

Key Value
OS 12.4
Ruby 2.6.8
Bundler? false
Git git version 2.32.1 (Apple Git-133)
Installation Source ~/.gem/bin/fastlane
Host macOS 12.4 (21F79)
Ruby Lib Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
OpenSSL Version LibreSSL 2.8.3
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 13.4
Swift Version 5.6.1

System Locale

Variable Value
LANG en_US.UTF-8 ✅
LC_ALL en_US.UTF-8 ✅
LANGUAGE en_US.UTF-8 ✅

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
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

strings = YAML.load_file('strings.yaml')
strings_nb = strings['nb']
strings_en = strings['en']
File.write('result.txt', '')

platform :ios do
  before_all do |lane, options|
    if options[:scheme]
      scheme = Dir.glob(".env.#{options[:scheme]}")
      Dotenv.overload(scheme[0])
    end
  end

  desc 'Create ipa'
  lane :build do
    sh('flutter clean')
    sh('flutter pub get')
    cocoapods(
      podfile: 'ios/Podfile',
      use_bundle_exec: false
    )

    update_project_team(
      path: 'ios/Runner.xcodeproj',
      teamid: ENV['TEAM_ID'],
    )
    gym(
      output_name: "#{ENV['SCHEME']}.ipa",
      workspace: 'ios/Runner.xcworkspace',
      scheme: ENV['SCHEME'],
      output_directory: 'fastlane/builds',
      include_bitcode: false,
      include_symbols: true,
      export_xcargs: '-allowProvisioningUpdates'
    )
  end

  desc 'Upload to TestFlight'
  lane :upload do
    upload_to_testflight(
      username: 'mail@example.com',
      ipa: "fastlane/builds/#{ENV['SCHEME']}.ipa",
      skip_waiting_for_build_processing: true,
      localized_build_info: {
        'default': {
          whats_new: strings_nb['whats_new']
        },
        'en': {
          whats_new: strings_en['whats_new']
        }
      }
    )
  end

  desc 'Distribute to external testers'
  lane :distribute do
    upload_to_testflight(
      username: 'mail@example.com',
      distribute_external: true,
      notify_external_testers: true,
      groups: ["#{ENV['DISPLAY_NAME']} BETA"],
      changelog: strings_nb['changelog'],
      distribute_only: true,
      app_platform: 'ios'
    )
  end

  desc 'Create ipa and upload to TestFlight'
  lane :deploy do
    build
    upload
  end

  lane :test do
    build
    upload_to_testflight(
      username: 'mail@example.com',
      ipa: "fastlane/builds/#{ENV['SCHEME']}.ipa",
      skip_waiting_for_build_processing: true,
      distribute_external: true,
      notify_external_testers: true,
      groups: ["#{ENV['DISPLAY_NAME']} BETA"],
      changelog: strings_nb['changelog'],
      localized_build_info: {
        'default': {
          whats_new: strings_nb['whats_new']
        },
        'en': {
          whats_new: strings_en['whats_new']
        }
      }
    )
  end

  desc 'Build all apps'
  lane :build_all do
    if ENV['SCHEME'] != nil
      begin
        build

        File.write(
          "result.txt",
          "Successfully built #{ENV['DISPLAY_NAME']}\n",
          mode: 'a'
        )
      rescue => ex
        UI.error(ex)
        File.write(
          "result.txt",
          "Error on building #{ENV['DISPLAY_NAME']}:\n#{ex}\n",
          mode: 'a'
        )
      end
    else
      execute_for_all_envs{ build_all }
    end
  end

  desc 'Upload all apps'
  lane :upload_all do
    if ENV['SCHEME'] != nil
      begin
        upload

        File.write(
          "result.txt",
          "Successfully uploaded #{ENV['DISPLAY_NAME']}\n",
          mode: 'a'
        )
      rescue => ex
        UI.error(ex)
        File.write(
          "result.txt",
          "Error on uploading #{ENV['DISPLAY_NAME']}:\n#{ex}\n",
          mode: 'a'
        )
      end
    else
      execute_for_all_envs{ build_all }
    end
  end

  desc 'Build and upload all apps'
  lane :deploy_all do
    if ENV['SCHEME'] != nil
      begin
        build
        upload

        File.write(
          'result.txt',
          "Successfully deployed #{ENV['DISPLAY_NAME']}\n",
          mode: 'a'
        )
      rescue => ex
        UI.error(ex)
        File.write(
          'result.txt',
          "Error on deploying #{ENV['DISPLAY_NAME']}:\n#{ex}\n",
          mode: 'a'
        )
      end
    else
      execute_for_all_envs{ deploy_all }
    end
  end

  desc 'Distribute all apps'
  lane :distribute_all do
    if ENV['SCHEME'] != nil
      begin
        distribute

        File.write(
          'result.txt',
          "Successfully distributed #{ENV['DISPLAY_NAME']}\n",
          mode: 'a'
        )
      rescue => ex
        UI.error(ex)
        File.write(
          'result.txt',
          "Failed to distribute #{ENV['DISPLAY_NAME']}\n#{ex}\n",
          mode: 'a'
        )
      end
    else
      execute_for_all_envs{ distribute_all }
    end
  end

  def execute_for_all_envs
    schemeList = Dir.glob('.env.*')

    schemeList.each do |file|
      Dotenv.overload(file)
      yield
    end
  end
end
`./fastlane/Appfile`
for_platform :ios do
  app_identifier(ENV['APP_IDENTIFIER_IOS']) # The bundle identifier of your app
  apple_id(ENV['APPLE_ID']) # Your Apple email address

  team_name(ENV['TEAM_NAME'])
  team_id(ENV['TEAM_ID']) # Developer Portal Team ID

  itc_team_name(ENV['TEAM_NAME'])
  itc_team_id(ENV['ITC_TEAM_ID']) # App Store Connect Team ID
end

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

# team_name ("[[TEAM_NAME]]") # Team name

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
atomos 0.1.3
claide 1.1.0
colored2 3.1.2
nanaimo 0.3.0
rexml 3.2.5
xcodeproj 1.21.0
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
unicode-display_width 1.8.0
terminal-table 1.8.0
plist 3.6.0
addressable 2.8.0
multipart-post 2.0.0
word_wrap 1.0.0
optparse 0.1.1
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
artifactory 3.0.15
babosa 1.0.4
colored 1.2
highline 2.0.3
commander 4.6.0
faraday-em_http 1.0.0
faraday-em_synchrony 1.0.0
faraday-excon 1.1.0
faraday-httpclient 1.0.1
faraday-multipart 1.0.3
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.0
faraday-cookie_jar 0.0.7
faraday_middleware 1.2.0
fastimage 2.2.6
gh_inspector 1.1.3
mini_magick 4.11.0
naturally 2.2.1
rubyzip 2.3.2
security 0.1.3
xcpretty-travis-formatter 1.0.1
dotenv 2.7.6
simctl 1.6.8
jwt 2.3.0
google-apis-playcustomapp_v1 0.7.0
emoji_regex 3.2.3
CFPropertyList 3.0.5
public_suffix 4.0.7
excon 0.92.3
unf_ext 0.0.8.2
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.5
json 2.6.2
bundler 2.3.7
webrick 1.7.0
httpclient 2.8.3
multi_json 1.15.0
signet 0.16.1
os 1.1.4
memoist 0.16.2
googleauth 1.1.3
mini_mime 1.1.2
retriable 3.1.2
trailblazer-option 0.1.2
declarative 0.0.20
uber 0.1.0
representable 3.2.0
google-apis-core 0.5.0
google-apis-androidpublisher_v3 0.21.0
rake 13.0.6
digest-crc 0.6.4
google-apis-storage_v1 0.14.0
google-apis-iamcredentials_v1 0.10.0
google-cloud-errors 1.2.0
google-cloud-env 1.6.0
google-cloud-core 1.6.0
google-cloud-storage 1.36.2
aws-eventstream 1.2.0
aws-sigv4 1.5.0
aws-partitions 1.594.0
jmespath 1.6.1
aws-sdk-core 3.131.1
aws-sdk-kms 1.57.0
aws-sdk-s3 1.114.0
libxml-ruby 3.2.1

generated on: 2022-06-01

Did not get this. what you want to say in this section Atlas FUSD.

ezoic increase your site revenue