fastlane: Error upload to AppStore TestFlight using fastlane v2.198.0 (An error occurred while processing the json request. (1268)) using Azure Devops
Issue Description
Can not upload .ipa to TestFlight with version 2.198.0 but when I switch back to 2.197.0 it working…
Complete output when running fastlane, including the stack trace and command used
2021-11-16T12:58:46.6255080Z ==============================================================================
2021-11-16T12:58:46.6255470Z Task : Apple App Store Release
2021-11-16T12:58:46.6255790Z Description : Release an app to TestFlight or the Apple App Store
2021-11-16T12:58:46.6256080Z Version : 1.189.0
2021-11-16T12:58:46.6256320Z Author : Microsoft Corporation
2021-11-16T12:58:46.6257840Z Help : More Information
2021-11-16T12:58:46.6258310Z ==============================================================================
2021-11-16T12:58:49.1510240Z [command]/usr/local/opt/ruby@2.7/bin/gem install fastlane
2021-11-16T12:59:23.0450540Z Successfully installed fastlane-2.198.0
2021-11-16T12:59:23.0451520Z Parsing documentation for fastlane-2.198.0
2021-11-16T12:59:23.0457530Z Installing ri documentation for fastlane-2.198.0
2021-11-16T12:59:23.0458260Z Done installing documentation for fastlane after 29 seconds
2021-11-16T12:59:23.0458640Z 1 gem installed
2021-11-16T12:59:23.0818030Z [command]/usr/local/opt/ruby@2.7/bin/gem update fastlane -i /Users/runner/.gem-cache
2021-11-16T12:59:26.7363040Z Updating installed gems
2021-11-16T12:59:26.7464960Z Nothing to update
2021-11-16T12:59:26.7854080Z ##[warning]You specified releaseNotes - so you need to provide fastlane session, app specific password only won’t work
2021-11-16T12:59:26.7890900Z [command]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane pilot upload --api_key_path /Users/runner/work/_temp/api_keyMyKey.json -i /Users/runner/work/r1/a/$(Pipeline.Workspace)/ios_drop/myIpa.ipa --changelog MyChages
2021-11-16T12:59:26.7896820Z - App framework updated to version 2.x -a com.xxx.xxx --distribute_external true --groups AppGroups
2021-11-16T12:59:29.2059060Z [12:59:29]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile[0m
2021-11-16T12:59:34.0076090Z [12:59:34]: Sending anonymous analytics information
2021-11-16T12:59:34.0077420Z [12:59:34]: Learn more at https://docs.fastlane.tools/#metrics
2021-11-16T12:59:34.0079650Z [12:59:34]: No personal or sensitive data is sent.
2021-11-16T12:59:34.0080130Z [12:59:34]: You can disable this by adding opt_out_usage at the top of your Fastfile
2021-11-16T12:59:34.0341370Z [12:59:34]: Creating authorization token for App Store Connect API
2021-11-16T12:59:39.6942440Z [12:59:39]: Ready to upload new build to TestFlight (App: 1************)…
2021-11-16T12:59:41.0207620Z [12:59:41]: Going to upload updated app to App Store Connect
2021-11-16T12:59:41.0211430Z [12:59:41]: This might take a few minutes. Please don’t interrupt the script.
2021-11-16T13:00:45.2154010Z [13:00:45]: Transporter transfer failed.
2021-11-16T13:00:45.2255890Z [13:00:45]:
2021-11-16T13:00:45.2357840Z [13:00:45]: An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3766610Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> DBG-X: parameter ErrorMessage = An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3814960Z
2021-11-16T13:00:45.3817380Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> DBG-X: parameter ShouldUseRESTAPIs = false
2021-11-16T13:00:45.3822960Z
2021-11-16T13:00:45.3825170Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> DBG-X: parameter Success = false
2021-11-16T13:00:45.3826310Z
2021-11-16T13:00:45.3835020Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> ERROR: An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3835420Z
2021-11-16T13:00:45.3836250Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> DBG-X: The error code is: 1268
2021-11-16T13:00:45.3836560Z
2021-11-16T13:00:45.3837470Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:44 UTC] <main> INFO: Done performing authentication.
2021-11-16T13:00:45.3837790Z
2021-11-16T13:00:45.3838090Z [13:00:45]: [iTMSTransporter]
2021-11-16T13:00:45.3838250Z
2021-11-16T13:00:45.3838540Z [13:00:45]: [iTMSTransporter]
2021-11-16T13:00:45.3838690Z
2021-11-16T13:00:45.3838950Z [13:00:45]: [iTMSTransporter]
2021-11-16T13:00:45.3839110Z
2021-11-16T13:00:45.3839430Z [13:00:45]: [iTMSTransporter] Package Summary:
2021-11-16T13:00:45.3839630Z
2021-11-16T13:00:45.3839890Z [13:00:45]: [iTMSTransporter]
2021-11-16T13:00:45.3840050Z
2021-11-16T13:00:45.3840460Z [13:00:45]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:
2021-11-16T13:00:45.3840750Z
2021-11-16T13:00:45.3841890Z [13:00:45]: [iTMSTransporter] /var/folders/24/8k4gn/T/myIpa.ipa (/var/folders/24/8k4gn/T/DeveloperAPIUpload****/***.itmsp) - Error Messages:
2021-11-16T13:00:45.3842470Z
2021-11-16T13:00:45.3842870Z [13:00:45]: [iTMSTransporter] An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3843140Z
2021-11-16T13:00:45.3843900Z [13:00:45]: [iTMSTransporter] [2021-11-16 13:00:45 UTC] <main> DBG-X: Returning 1
2021-11-16T13:00:45.3844190Z
2021-11-16T13:00:45.3844500Z [13:00:45]: iTunes Transporter output above ^
2021-11-16T13:00:45.3844930Z [13:00:45]: An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3845460Z Return status of iTunes Transporter was 1: An error occurred while processing the json request. (1268)
2021-11-16T13:00:45.3846420Z The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
2021-11-16T13:00:45.4166640Z
2021-11-16T13:00:45.4167740Z [!] Error uploading ipa file:
2021-11-16T13:00:45.4168310Z
2021-11-16T13:00:45.4488750Z ##[error]Error: The process ‘/usr/local/lib/ruby/gems/2.7.0/bin/fastlane’ failed with exit code 1
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 27 (8 by maintainers)
+1
use previous version it work!
gem uninstall fastlane --all --executables gem install fastlane --version 2.197.0 --no-document
✨ Official Update
#19620 has a fix if anybody is able to try that out ❤️
fastlane 2.199.0 error upload .ipa file in my case use   with app name and use app name for name of .ipa file upload to app store when use deliver get error 1268 after change .ipa file name to app bundle id it worked not error though before 2.198.0 not found error 1268
yes or Arabic characters as well might be the issue, but what is guaranteed is that the issue started happening on 2.198 and wasn’t completely fixed in 2.198.1 as 2.197.0 is working fine
And just a little favor it ask 😇
And if any
+1s in the future could get turned into a 👍 on the issue that would be 🔥 Its hard to look for relevant information in the comments when there are a lot of+1s 😉@robbypontas This is super useful! Thank you 😊 Will have a fix out for this soon!
Encountered the same issue. Reverting to 2.197.0 works. Same error as the message above.