fastlane icon indicating copy to clipboard operation
fastlane copied to clipboard

[Bug] Wont distribute to internal groups

Open shovelmn12 opened this issue 1 year ago • 1 comments

New Issue Checklist

Issue Description

I am trying to upload a build to a specific internal group in azure pipelines using:

fastlane pilot upload --api_key_path key -i app.ipa -a my.app.id --submit_beta_review false --skip_waiting_for_build_processing true --groups "Dev"

But it wont work.

As a side note, I see no mentions of that in the docs, it might not be possible to do? if it is possible to do please make it easier!! On android we just select a track and your done, on ios it's so cimplicated I spent like 2 days trying to do that. No mentions on fastlane docs or app store connect docs.

Command executed

I tried multiple commands setting skip_waiting_for_build_processing to false, skip_submission to true, the latest one I am trying is:

fastlane pilot upload --api_key_path key -i app.ipa -a my.app.id --submit_beta_review false --skip_waiting_for_build_processing true --groups "Dev"
Complete output when running fastlane, including the stack trace and command used
 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

 [REPLACE THIS WITH YOUR INFORMATION] 

shovelmn12 avatar May 17 '24 07:05 shovelmn12

I'm also seeing this as well and can't for the life of me figure out what's going on. I've got an internal group called Internal and tried all the things I've seen on #19735 (the PR which implemented it).

My setup in particular is in a monorepo of several apps with a centralized build/distribute lane. Here's the code I'm running:

distribution_groups = options.fetch(:groups, nil)
if distribution_groups.nil?
  pilot
else
  pilot(changelog: 'New Build', submit_beta_review: false, groups: distribution_groups)
end

I've tried with the beta app review as true/false, and I've tried distribute_external set to true as well. All of these yield the same result: a build uploaded but with no groups assigned.

And here's my Pilot output

[21:43:35]: -------------------
[21:43:35]: --- Step: pilot ---
[21:43:35]: -------------------
[21:43:35]: Creating authorization token for App Store Connect API
[21:43:36]: Ready to upload new build to TestFlight (App: 6664061528)...
[21:43:36]: Going to upload updated app to App Store Connect
[21:43:36]: This might take a few minutes. Please don't interrupt the script.
[21:44:10]: ------------------------------------------------------------------------------------------------------------------
[21:44:10]: --- Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online. ---
[21:44:10]: ------------------------------------------------------------------------------------------------------------------
[21:44:10]: Successfully uploaded the new binary to App Store Connect
[21:44:10]: `skip_waiting_for_build_processing` used and `changelog` supplied - will wait until build appears on App Store Connect, update the changelog and then skip the rest of the remaining of the processing steps.
[21:44:10]: Waiting for processing on... app_id: 6664061528, app_version: 1.0, build_version: 21, platform: IOS
[21:44:10]: Read more information on why this build isn't showing up yet - https://github.com/fastlane/fastlane/issues/14997
[21:44:10]: 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)
[21:44:40]: 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)
[21:45:11]: Waiting for App Store Connect to finish processing the new build (1.0 - 21) for IOS
[21:45:11]: Successfully set the changelog for build
[21:45:11]: Using App Store Connect's default for notifying external testers (which is true) - set `notify_external_testers` for full control
[21:45:11]: Cruising back to lane 'ios vocabulary_build' 🚘 

jsorge avatar Sep 24 '24 04:09 jsorge