microsoft / app-store-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the App Store store from your automated CI builds
Other
93 stars 53 forks source link

iOS app deployment to Beta is not working #226

Closed Aiswarya26-ui closed 3 years ago

Aiswarya26-ui commented 3 years ago

Hi

I tried to run the beta deployment task using "distribute to external testers" option and I can see a build deployed to testflight, it was sent to apple store for review but I don't see it available under 'external testers' group. Can we publish the build to testflight first, review/test it and then deploy it to beta using pipeline?

image image

Aiswarya26-ui commented 3 years ago

Hi,

Is there any update on this?

Thanks, Aiswarya

anatolybolshakov commented 3 years ago

Hi @Aiswarya26-ui could you please share your yaml file and pipeline logs?

Aiswarya26-ui commented 3 years ago

Hi @anatolybolshakov

Please find the below logs. Also, please note that we're trying to publish the binary to external 'beta' and not to testflight.

2021-03-23T06:37:52.7101860Z ##[debug]Evaluating condition for step: 'Publish to the App Store TestFlight track' 2021-03-23T06:37:52.7103890Z ##[debug]Evaluating: succeeded() 2021-03-23T06:37:52.7104480Z ##[debug]Evaluating succeeded: 2021-03-23T06:37:52.7105730Z ##[debug]=> True 2021-03-23T06:37:52.7106450Z ##[debug]Result: True 2021-03-23T06:37:52.7107290Z ##[section]Starting: Publish to the App Store TestFlight track 2021-03-23T06:37:52.7120350Z ============================================================================== 2021-03-23T06:37:52.7121130Z Task : Apple App Store Release 2021-03-23T06:37:52.7121450Z Description : Release an app to TestFlight or the Apple App Store 2021-03-23T06:37:52.7121750Z Version : 1.183.0 2021-03-23T06:37:52.7121990Z Author : Microsoft Corporation 2021-03-23T06:37:52.7123060Z Help : More Information 2021-03-23T06:37:52.7123550Z ============================================================================== 2021-03-23T06:37:52.7292530Z ##[debug]Using node path: /Users/runner/runners/2.183.1/externals/node10/bin/node 2021-03-23T06:37:53.3115600Z ##[debug]agent.TempDirectory=/Users/runner/work/_temp 2021-03-23T06:37:53.3150910Z ##[debug]loading inputs and endpoints 2021-03-23T06:37:53.3171730Z ##[debug]loading INPUT_AUTHTYPE 2021-03-23T06:37:53.3201120Z ##[debug]loading INPUT_APIKEYID 2021-03-23T06:37:53.3203950Z ##[debug]loading INPUT_APIKEYISSUERID 2021-03-23T06:37:53.3205730Z ##[debug]loading INPUT_APITOKEN 2021-03-23T06:37:53.3207570Z ##[debug]loading INPUT_APIKEYINHOUSE 2021-03-23T06:37:53.3209150Z ##[debug]loading INPUT_ISTWOFACTORAUTH 2021-03-23T06:37:53.3210900Z ##[debug]loading INPUT_APPIDENTIFIER 2021-03-23T06:37:53.3212390Z ##[debug]loading INPUT_APPTYPE 2021-03-23T06:37:53.3213990Z ##[debug]loading INPUT_RELEASETRACK 2021-03-23T06:37:53.3215780Z ##[debug]loading INPUT_SKIPBINARYUPLOAD 2021-03-23T06:37:53.3217180Z ##[debug]loading INPUT_IPAPATH 2021-03-23T06:37:53.3218940Z ##[debug]loading INPUT_UPLOADMETADATA 2021-03-23T06:37:53.3220410Z ##[debug]loading INPUT_METADATAPATH 2021-03-23T06:37:53.3222200Z ##[debug]loading INPUT_UPLOADSCREENSHOTS 2021-03-23T06:37:53.3223510Z ##[debug]loading INPUT_SCREENSHOTSPATH 2021-03-23T06:37:53.3225170Z ##[debug]loading INPUT_SHOULDSUBMITFORREVIEW 2021-03-23T06:37:53.3226560Z ##[debug]loading INPUT_SHOULDAUTORELEASE 2021-03-23T06:37:53.3228280Z ##[debug]loading INPUT_RELEASENOTES 2021-03-23T06:37:53.3229660Z ##[debug]loading INPUT_SHOULDSKIPWAITINGFORPROCESSING 2021-03-23T06:37:53.3231190Z ##[debug]loading INPUT_SHOULDSKIPSUBMISSION 2021-03-23T06:37:53.3233110Z ##[debug]loading INPUT_DISTRIBUTEDTOEXTERNALTESTERS 2021-03-23T06:37:53.3234470Z ##[debug]loading INPUT_EXTERNALTESTERSGROUPS 2021-03-23T06:37:53.3236330Z ##[debug]loading INPUT_INSTALLFASTLANE 2021-03-23T06:37:53.3237490Z ##[debug]loading INPUT_FASTLANETOOLSVERSION 2021-03-23T06:37:53.3239320Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION 2021-03-23T06:37:53.3240750Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION 2021-03-23T06:37:53.3242630Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN 2021-03-23T06:37:53.3248580Z ##[debug]loading SECRET_APIKEY 2021-03-23T06:37:53.3251490Z ##[debug]loaded 28 2021-03-23T06:37:53.3257170Z ##[debug]Agent.ProxyUrl=undefined 2021-03-23T06:37:53.3258290Z ##[debug]Agent.CAInfo=undefined 2021-03-23T06:37:53.3258860Z ##[debug]Agent.ClientCert=undefined 2021-03-23T06:37:53.3259450Z ##[debug]Agent.SkipCertValidation=undefined 2021-03-23T06:37:53.3273470Z ##[debug]check path : /Users/runner/work/_tasks/AppStoreRelease_2e371150-da5e-11e5-83da-0943b1acc572/1.183.0/task.json 2021-03-23T06:37:53.3283410Z ##[debug]adding resource file: /Users/runner/work/_tasks/AppStoreRelease_2e371150-da5e-11e5-83da-0943b1acc572/1.183.0/task.json 2021-03-23T06:37:53.3284540Z ##[debug]system.culture=en-US 2021-03-23T06:37:53.3308920Z ##[debug]authType=ApiKey 2021-03-23T06:37:53.3311690Z ##[debug]apiKeyId=xxxxxxxxx 2021-03-23T06:37:53.3312540Z ##[debug]Agent.TempDirectory=/Users/runner/work/_temp 2021-03-23T06:37:53.3314220Z ##[debug]apiKeyId=xxxxxxxxxxxxxx 2021-03-23T06:37:53.3316400Z ##[debug]apiKeyIssuerId=xxxxxxxxxxxx 2021-03-23T06:37:53.3318370Z ##[debug]apitoken=* 2021-03-23T06:37:53.3319180Z ##[debug]apiKeyInHouse=false 2021-03-23T06:37:53.3321150Z ##[debug]ipaPath=/Users/runner/work/r1/a/*/.ipa 2021-03-23T06:37:53.3322390Z ##[debug]skipBinaryUpload=false 2021-03-23T06:37:53.3323840Z ##[debug]uploadMetadata=false 2021-03-23T06:37:53.3325180Z ##[debug]metadataPath=/Users/runner/work/r1/a 2021-03-23T06:37:53.3326510Z ##[debug]uploadScreenshots=false 2021-03-23T06:37:53.3328110Z ##[debug]screenshotsPath=/Users/runner/work/r1/a 2021-03-23T06:37:53.3329470Z ##[debug]releaseNotes=/Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ReleaseNote.txt 2021-03-23T06:37:53.3330650Z ##[debug]releaseTrack=TestFlight 2021-03-23T06:37:53.3332040Z ##[debug]shouldSkipWaitingForProcessing=false 2021-03-23T06:37:53.3333440Z ##[debug]shouldSubmitForReview=false 2021-03-23T06:37:53.3334730Z ##[debug]shouldAutoRelease=false 2021-03-23T06:37:53.3336070Z ##[debug]shouldSkipSubmission=false 2021-03-23T06:37:53.3336700Z ##[debug]teamId=undefined 2021-03-23T06:37:53.3337230Z ##[debug]teamName=undefined 2021-03-23T06:37:53.3337740Z ##[debug]appSpecificId=undefined 2021-03-23T06:37:53.3338290Z ##[debug]appType=iOS 2021-03-23T06:37:53.3339880Z ##[debug]installFastlane=true 2021-03-23T06:37:53.3341060Z ##[debug]fastlaneToolsVersion=LatestVersion 2021-03-23T06:37:53.3341700Z ##[debug]GEM_CACHE=undefined 2021-03-23T06:37:53.3342660Z ##[debug]gemCache=/Users/runner/.gem-cache 2021-03-23T06:37:53.3346560Z ##[debug]system.defaultWorkingDirectory=/Users/runner/work/r1/a 2021-03-23T06:37:53.3347560Z ##[debug]defaultRoot: '/Users/runner/work/r1/a' 2021-03-23T06:37:53.3348490Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'true' 2021-03-23T06:37:53.3349400Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true' 2021-03-23T06:37:53.3350390Z ##[debug]findOptions.followSymbolicLinks: 'true' 2021-03-23T06:37:53.3351320Z ##[debug]matchOptions.debug: 'false' 2021-03-23T06:37:53.3352120Z ##[debug]matchOptions.nobrace: 'true' 2021-03-23T06:37:53.3352980Z ##[debug]matchOptions.noglobstar: 'false' 2021-03-23T06:37:53.3353850Z ##[debug]matchOptions.dot: 'true' 2021-03-23T06:37:53.3354680Z ##[debug]matchOptions.noext: 'false' 2021-03-23T06:37:53.3355470Z ##[debug]matchOptions.nocase: 'false' 2021-03-23T06:37:53.3356320Z ##[debug]matchOptions.nonull: 'false' 2021-03-23T06:37:53.3357170Z ##[debug]matchOptions.matchBase: 'false' 2021-03-23T06:37:53.3358000Z ##[debug]matchOptions.nocomment: 'false' 2021-03-23T06:37:53.3358900Z ##[debug]matchOptions.nonegate: 'false' 2021-03-23T06:37:53.3359770Z ##[debug]matchOptions.flipNegate: 'false' 2021-03-23T06:37:53.3360630Z ##[debug]pattern: '/Users/runner/work/r1/a//*.ipa' 2021-03-23T06:37:53.3382910Z ##[debug]findPath: '/Users/runner/work/r1/a' 2021-03-23T06:37:53.3383800Z ##[debug]statOnly: 'false' 2021-03-23T06:37:53.3384970Z ##[debug]findPath: '/Users/runner/work/r1/a' 2021-03-23T06:37:53.3385910Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'true' 2021-03-23T06:37:53.3386790Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true' 2021-03-23T06:37:53.3387710Z ##[debug]findOptions.followSymbolicLinks: 'true' 2021-03-23T06:37:53.3390240Z ##[debug] /Users/runner/work/r1/a (directory) 2021-03-23T06:37:53.3396240Z ##[debug] /Users/runner/work/r1/a/_DevopsTest (directory) 2021-03-23T06:37:53.3399570Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test (directory) 2021-03-23T06:37:53.3401950Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32 (directory) 2021-03-23T06:37:53.3404610Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/TestMob.ipa (file) 2021-03-23T06:37:53.3405660Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/app-release.apk (file) 2021-03-23T06:37:53.3406460Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata (directory) 2021-03-23T06:37:53.3409120Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ReleaseNote.txt (file) 2021-03-23T06:37:53.3410580Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/android (directory) 2021-03-23T06:37:53.3411880Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/android/en-US (directory) 2021-03-23T06:37:53.3415100Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/android/en-US/changelogs (directory) 2021-03-23T06:37:53.3418030Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/android/en-US/changelogs/ReleaseNote.txt (file) 2021-03-23T06:37:53.3419550Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ios (directory) 2021-03-23T06:37:53.3421270Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ios/en-US (directory) 2021-03-23T06:37:53.3424300Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ios/en-US/changelogs (directory) 2021-03-23T06:37:53.3427360Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/metadata/ios/en-US/changelogs/ReleaseNote.txt (file) 2021-03-23T06:37:53.3428320Z ##[debug]16 results 2021-03-23T06:37:53.3429100Z ##[debug]found 16 paths 2021-03-23T06:37:53.3429890Z ##[debug]applying include pattern 2021-03-23T06:37:53.3440240Z ##[debug]1 matches 2021-03-23T06:37:53.3441700Z ##[debug]1 final results 2021-03-23T06:37:53.3442530Z ##[debug]Checking for ruby install... 2021-03-23T06:37:53.3444070Z ##[debug]which 'ruby' 2021-03-23T06:37:53.3460970Z ##[debug]found: '/usr/local/opt/ruby@2.7/bin/ruby' 2021-03-23T06:37:53.3461830Z ##[debug]Installing fastlane... 2021-03-23T06:37:53.3462870Z ##[debug]which 'gem' 2021-03-23T06:37:53.3464370Z ##[debug]found: '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:37:53.3466220Z ##[debug]which '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:37:53.3467320Z ##[debug]found: '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:37:53.3474230Z ##[debug]/usr/local/opt/ruby@2.7/bin/gem arg: ["install","fastlane"] 2021-03-23T06:37:53.3477070Z ##[debug]exec tool: /usr/local/opt/ruby@2.7/bin/gem 2021-03-23T06:37:53.3477910Z ##[debug]arguments: 2021-03-23T06:37:53.3478660Z ##[debug] install 2021-03-23T06:37:53.3479350Z ##[debug] fastlane 2021-03-23T06:37:53.3482370Z [command]/usr/local/opt/ruby@2.7/bin/gem install fastlane 2021-03-23T06:38:19.1325930Z Successfully installed fastlane-2.178.0 2021-03-23T06:38:19.1327010Z Parsing documentation for fastlane-2.178.0 2021-03-23T06:38:19.1327790Z Installing ri documentation for fastlane-2.178.0 2021-03-23T06:38:19.1328330Z Done installing documentation for fastlane after 21 seconds 2021-03-23T06:38:19.1328690Z 1 gem installed 2021-03-23T06:38:19.1654330Z ##[debug]Exit code 0 received from tool '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:19.1673220Z ##[debug]STDIO streams have closed for tool '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:19.1687780Z ##[debug]Updating fastlane... 2021-03-23T06:38:19.1688710Z ##[debug]which 'gem' 2021-03-23T06:38:19.1692880Z ##[debug]found: '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:19.1693920Z ##[debug]which '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:19.1694770Z ##[debug]found: '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:19.1695790Z ##[debug]/usr/local/opt/ruby@2.7/bin/gem arg: ["update","fastlane","-i","/Users/runner/.gem-cache"] 2021-03-23T06:38:19.1696560Z ##[debug]exec tool: /usr/local/opt/ruby@2.7/bin/gem 2021-03-23T06:38:19.1697130Z ##[debug]arguments: 2021-03-23T06:38:19.1697600Z ##[debug] update 2021-03-23T06:38:19.1698130Z ##[debug] fastlane 2021-03-23T06:38:19.1698900Z ##[debug] -i 2021-03-23T06:38:19.1699630Z ##[debug] /Users/runner/.gem-cache 2021-03-23T06:38:19.1700650Z [command]/usr/local/opt/ruby@2.7/bin/gem update fastlane -i /Users/runner/.gem-cache 2021-03-23T06:38:21.8618620Z Updating installed gems 2021-03-23T06:38:21.8619060Z Nothing to update 2021-03-23T06:38:21.8871160Z ##[debug]Exit code 0 received from tool '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:21.8874220Z ##[debug]STDIO streams have closed for tool '/usr/local/opt/ruby@2.7/bin/gem' 2021-03-23T06:38:21.8875880Z ##[debug]fastlaneArguments=undefined 2021-03-23T06:38:21.8882880Z ##[debug]which 'fastlane' 2021-03-23T06:38:21.8886160Z ##[debug]found: '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' 2021-03-23T06:38:21.8888050Z ##[debug]appIdentifier=xxxxxxxxx 2021-03-23T06:38:21.8889320Z ##[debug]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane arg: ["pilot","upload","--api_key_path","/Users/runner/work/_temp/api_keyxxxxxxxxxxxxx.json","-i","/Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/TestMob.ipa"] 2021-03-23T06:38:21.8933210Z ##[warning]You specified releaseNotes - so you need to provide fastlane session, app specific password only won't work 2021-03-23T06:38:21.8944100Z ##[debug]Processed: ##vso[task.issue type=warning;]You specified releaseNotes - so you need to provide fastlane session, app specific password only won't work 2021-03-23T06:38:21.8945660Z ##[debug]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane arg: ["--changelog","Release note from metadata folder"] 2021-03-23T06:38:21.8946840Z ##[debug]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane arg: ["-a","xxxxxxxxxxxx"] 2021-03-23T06:38:21.8947580Z ##[debug]distributedToExternalTesters=true 2021-03-23T06:38:21.8948170Z ##[debug]Distributing to external testers 2021-03-23T06:38:21.8949060Z ##[debug]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane arg: ["--distribute_external","true"] 2021-03-23T06:38:21.8949780Z ##[debug]externalTestersGroups="Beta" 2021-03-23T06:38:21.8950690Z ##[debug]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane arg: ["--groups","\"Beta\""] 2021-03-23T06:38:21.8951440Z ##[debug]exec tool: /usr/local/lib/ruby/gems/2.7.0/bin/fastlane 2021-03-23T06:38:21.8952000Z ##[debug]arguments: 2021-03-23T06:38:21.8952520Z ##[debug] pilot 2021-03-23T06:38:21.8953010Z ##[debug] upload 2021-03-23T06:38:21.8953730Z ##[debug] --api_key_path 2021-03-23T06:38:21.8954370Z ##[debug] /Users/runner/work/_temp/api_keyxxxxxxxxxxx.json 2021-03-23T06:38:21.8955180Z ##[debug] -i 2021-03-23T06:38:21.8955770Z ##[debug] /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/TestMob.ipa 2021-03-23T06:38:21.8956620Z ##[debug] --changelog 2021-03-23T06:38:21.8957220Z ##[debug] Release note from metadata folder 2021-03-23T06:38:21.8957950Z ##[debug] -a 2021-03-23T06:38:21.8958520Z ##[debug] xxxxxxxxxxxxxxxx 2021-03-23T06:38:21.8959310Z ##[debug] --distribute_external 2021-03-23T06:38:21.8959870Z ##[debug] true 2021-03-23T06:38:21.8960560Z ##[debug] --groups 2021-03-23T06:38:21.8961120Z ##[debug] "Beta" 2021-03-23T06:38:21.8962600Z [command]/usr/local/lib/ruby/gems/2.7.0/bin/fastlane pilot upload --api_key_path /Users/runner/work/_temp/api_keyxxxxxxxxxx.json -i /Users/runner/work/r1/a/_DevopsTest/Test/1.2.32/TestMob.ipa --changelog Release note from metadata folder -a xxxxxxxxxxxxx --distribute_external true --groups "Beta" 2021-03-23T06:38:24.6823900Z [06:38:24]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile [0m 2021-03-23T06:38:30.0893000Z [06:38:30]: Sending anonymous analytics information 2021-03-23T06:38:30.0894160Z [06:38:30]: Learn more at https://docs.fastlane.tools/#metrics 2021-03-23T06:38:30.0894860Z [06:38:30]: No personal or sensitive data is sent. 2021-03-23T06:38:30.0895630Z [06:38:30]: You can disable this by adding opt_out_usage at the top of your Fastfile 2021-03-23T06:38:30.1083030Z [06:38:30]: Creating authorization token for App Store Connect API 2021-03-23T06:38:34.6819660Z [06:38:34]: Ready to upload new build to TestFlight (App: 1499464014)... 2021-03-23T06:38:34.7824750Z [06:38:34]: Going to upload updated app to App Store Connect 2021-03-23T06:38:34.7826450Z [06:38:34]: This might take a few minutes. Please don't interrupt the script. 2021-03-23T06:39:02.8573800Z [06:39:02]: Transporter transfer failed. 2021-03-23T06:39:02.8574910Z [06:39:02]: 2021-03-23T06:39:02.8576930Z [06:39:02]: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." 2021-03-23T06:39:03.0085640Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]

DBG-X: parameter ErrorMessage = ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4). 2021-03-23T06:39:03.0087630Z 2021-03-23T06:39:03.0087960Z [06:39:03]: [iTMSTransporter] (1102) 2021-03-23T06:39:03.0088200Z 2021-03-23T06:39:03.0089090Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]
DBG-X: parameter ShouldUseRESTAPIs = false 2021-03-23T06:39:03.0089420Z 2021-03-23T06:39:03.0091070Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]
ERROR: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." 2021-03-23T06:39:03.0091980Z 2021-03-23T06:39:03.0092840Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]
DBG-X: The error code is: 1102 2021-03-23T06:39:03.0093160Z 2021-03-23T06:39:03.0093950Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]
INFO: Done performing authentication. 2021-03-23T06:39:03.0094320Z 2021-03-23T06:39:03.0094640Z [06:39:03]: [iTMSTransporter] 2021-03-23T06:39:03.0094800Z 2021-03-23T06:39:03.0095110Z [06:39:03]: [iTMSTransporter] 2021-03-23T06:39:03.0095390Z 2021-03-23T06:39:03.0095670Z [06:39:03]: [iTMSTransporter] 2021-03-23T06:39:03.0095820Z 2021-03-23T06:39:03.0096180Z [06:39:03]: [iTMSTransporter] Package Summary: 2021-03-23T06:39:03.0096390Z 2021-03-23T06:39:03.0096640Z [06:39:03]: [iTMSTransporter]
2021-03-23T06:39:03.0096840Z 2021-03-23T06:39:03.0097230Z [06:39:03]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems: 2021-03-23T06:39:03.0097510Z 2021-03-23T06:39:03.0098570Z [06:39:03]: [iTMSTransporter] /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/d20210323-4721-z2woig/1499464014-e455f107-015a-4b1b-adbb-e13dd0592aed.itmsp - Error Messages: 2021-03-23T06:39:03.0099020Z 2021-03-23T06:39:03.0100510Z [06:39:03]: [iTMSTransporter] ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." 2021-03-23T06:39:03.0101370Z 2021-03-23T06:39:03.0102120Z [06:39:03]: [iTMSTransporter] [2021-03-23 06:39:02 UTC]
DBG-X: Returning 1 2021-03-23T06:39:03.0102420Z 2021-03-23T06:39:03.0102810Z [06:39:03]: iTunes Transporter output above ^ 2021-03-23T06:39:03.0104310Z [06:39:03]: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." 2021-03-23T06:39:03.0106530Z Return status of iTunes Transporter was 1: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." 2021-03-23T06:39:03.0108120Z The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure. 2021-03-23T06:39:03.0296060Z 2021-03-23T06:39:03.0296730Z [!] Error uploading ipa file: 2021-03-23T06:39:03.0299240Z [Transporter Error Output]: ERROR ITMS-90189: Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4). 2021-03-23T06:39:03.0301640Z [Transporter Error Output]: Return status of iTunes Transporter was 1: ERROR ITMS-90189: Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4). 2021-03-23T06:39:03.0303820Z [Transporter Error Output]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure. 2021-03-23T06:39:03.0570630Z ##[debug]Exit code 1 received from tool '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' 2021-03-23T06:39:03.0572350Z ##[debug]STDIO streams have closed for tool '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' 2021-03-23T06:39:03.0604610Z ##[debug]task result: Failed 2021-03-23T06:39:03.0606630Z ##[error]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1 2021-03-23T06:39:03.0608800Z ##[debug]Processed: ##vso[task.issue type=error;]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1 2021-03-23T06:39:03.0611610Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1 2021-03-23T06:39:03.0612800Z ##[debug]Clearing API Key file 2021-03-23T06:39:03.0653900Z ##[section]Finishing: Publish to the App Store TestFlight track

image

max-zaytsev commented 3 years ago

Hi @Aiswarya26-ui,

From the logs you sent, I see that you have not increased the build number:

2021-03-23T06:39:02.8576930Z [06:39:02]: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1.2.32' for version number '1.2.32'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)."

So, the task failed.

And also on the last screenshot, I can see that you are trying to add "Beta" external group. Could you please remove the double quotes here and run the pipeline again?

Aiswarya26-ui commented 3 years ago

Hi @max-zaytsev,

Thank you for your response. I do see the binary under beta environment after removing the double quotes.

But is it possible to deploy it to testflight first and then to beta? When I try to do that I see the below error;

"ERROR ITMS-90189: Redundant Binary Upload. You've already uploaded a build with build number '1.2.34' for version number '1.2.34'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help"

I was trying to deploy the binary to Testflight first and do the testing. From testflight, I wanted to deploy it to beta using the pipeline. Is there a way to achieve this? Please suggest.

image

Thanks, Aiswarya

max-zaytsev commented 3 years ago

Hi @Aiswarya26-ui, the behavior you described is not supported by app store release task. I opened another issue to provide this ability: https://github.com/microsoft/app-store-vsts-extension/issues/236

Closing this one since the task works as expected.