Bug 46179 - Invalid Xcode sdk location in settings results in error "This project type requires Xamarin.iOS to be installed."
Summary: Invalid Xcode sdk location in settings results in error "This project type re...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 10.2 (iOS 10.1)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-31 07:51 UTC by Timothy Risi
Modified: 2016-10-31 18:47 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Timothy Risi 2016-10-31 07:51:27 UTC
If the Apple SDK setting points to an invalid xcode location, instead of getting an error message indicating there's a problem with xcode, you get the much less useful build error message: "This project type requires Xamarin.iOS to be installed." (Xamarin.iOS was already installed).

Environment Info:

Xamarin Studio Enterprise
Version 6.1.1 (build 17)
Installation UUID: 867dab2a-5981-4fcb-a66d-6f0df3f97a4a
Runtime:
	Mono 4.6.1 (mono-4.6.0-branch-c8sr0/ef43c15) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406010005

NuGet
Version: 3.4.3.0

Xamarin.Profiler
Version: 0.38.1
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 7.0.0.18 (Visual Studio Enterprise)
Android SDK: /Users/Tim/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)
		7.0   (API level 24)

SDK Tools Version: 25.1.7
SDK Platform Tools Version: 24.0.2
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Android Player
Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

Apple Developer Tools
Xcode 8.1 (11544)
Build 8B62

Xamarin.Mac
Version: 2.10.0.105 (Visual Studio Enterprise)

Xamarin.iOS
Version: 10.2.0.4 (Visual Studio Enterprise)
Hash: b638977
Branch: xcode8.1
Build date: 2016-10-25 14:38:48-0400

Build Information
Release ID: 601010017
Git revision: 44d481a9be9cf2bf7c01bfb99c59b77dfa08e712
Build date: 2016-10-25 14:27:24-04
Xamarin addins: 19cdb28081bf28d9688698030abb96e04e391f69
Build lane: monodevelop-lion-cycle8-sr0

Operating System
Mac OS X 10.12.1
Darwin Timothys-MacBook-Pro.local 16.1.0 Darwin Kernel Version 16.1.0
    Wed Oct 19 20:31:56 PDT 2016
    root:xnu-3789.21.4~4/RELEASE_X86_64 x86_64
Comment 1 Jeffrey Stedfast 2016-10-31 18:47:56 UTC
This has already been fixed in XS 6.2