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

[BUG]: Error: Download failed on Cask 'xamarin-android' with message: Download failed: https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg #20821

Open
4 of 7 tasks
lhughey opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@lhughey
Copy link

lhughey commented Jan 31, 2025

New issue checklist

Task name

Install Xamarin (Bash script)

Task version

3

Issue Description

I'm getting an error when trying to install Xamarin on a Mac OS 14 machine via the following script:
 
brew install --cask xamarin-ios
brew install --cask xamarin-android

The error message is

Warning: xamarin-android has been deprecated because it is discontinued upstream! It will be disabled on 2025-08-20.
==> Downloading https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg
curl: (56) The requested URL returned error: 403
Error: Download failed on Cask 'xamarin-android' with message: Download failed: https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg

It looks like the Android file is no longer present at the legacy URL.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Mac OS 14, Mac OS 13

Relevant log output

Starting: Install Xamarin
==============================================================================
Task         : Bash
Description  : Run a Bash script on macOS, Linux, or Windows
Version      : 3.250.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
==============================================================================
Generating script.
========================== Starting Command Output ===========================
/bin/bash /Users/runner/work/_temp/97eb3dc3-00e2-4d4d-bad7-6ee11f6d1dc6.sh
Warning: xamarin-ios has been deprecated because it is discontinued upstream! It will be disabled on 2025-08-20.
==> Downloading https://download.visualstudio.microsoft.com/download/pr/ceb0ea3f-4db8-46b4-8dc3-8049d27c0107/3960868aa9b1946a6c77668c3f3334ee/xamarin.ios-16.4.0.23.pkg
==> Installing Cask xamarin-ios
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Running installer for xamarin-ios with sudo; the password may be necessary.
installer: Package name is Xamarin.iOS
installer: Installing at base path /
installer: The install was successful.
🍺  xamarin-ios was successfully installed!
Warning: xamarin-android has been deprecated because it is discontinued upstream! It will be disabled on 2025-08-20.
==> Downloading https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg
curl: (56) The requested URL returned error: 403
Error: Download failed on Cask 'xamarin-android' with message: Download failed: https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg

##[error]Bash exited with code '1'.
Finishing: Install Xamarin

Full task logs with system.debug enabled

xamarin-ios was successfully installed!
##[debug]Agent environment resources - Disk: / Available 135729.84 MB out of 332471.96 MB, Memory: Used 7801.00 MB out of 14331.00 MB, CPU: Usage 68.12%
Warning: xamarin-android has been deprecated because it is discontinued upstream! It will be disabled on 2025-08-20.
==> Downloading https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg
curl: (56) The requested URL returned error: 403
Error: Download failed on Cask 'xamarin-android' with message: Download failed: https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-13.2.2.0.pkg

##[debug]Process exited with code 1 and signal null for tool '/bin/bash'
##[debug]STDIO streams have closed and received exit code 1 and signal null for tool '/bin/bash'
##[error]Bash exited with code '1'.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=2874b013-bc90-4763-95bb-31e2269d79bd;]Bash exited with code '1'.
##[debug]task result: Failed
##[debug]Processed: ##vso[task.complete result=Failed;done=true;]
Finishing: Install Xamarin

Repro steps

@lhughey lhughey added the bug label Jan 31, 2025
@github-actions github-actions bot added Area: Release triage Area: ABTT Akvelon Build Tasks Team area of work Task: Bash labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant