Bug 56719 - [VS2015][F# ]-Link Framework assemblies is not working ,Build fails for F# iOS temple when solution platform = iPhoneSimulator
Summary: [VS2015][F# ]-Link Framework assemblies is not working ,Build fails for F# iO...
Status: RESOLVED FEATURE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: High major
Target Milestone: 15.4
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-22 12:27 UTC by Gaurav Ganorkar
Modified: 2017-06-05 13:49 UTC (History)
4 users (show)

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


Attachments
Attaching IDE logs (7.60 KB, application/x-zip-compressed)
2017-05-22 12:27 UTC, Gaurav Ganorkar
Details


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 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 FEATURE

Description Gaurav Ganorkar 2017-05-22 12:27:52 UTC
Created attachment 22349 [details]
Attaching IDE logs

Description
-Build fails for F# ios single view application when linked Framework assemblies. Getting error : This version of Xamarin.iOS requires the iOS 10.3 SDK (shipped with Xcode 8.3). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).


Build info
-Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise


Xamarin   4.5.0.475 (70f1268)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.3.1.1 (bc24645)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.10.0.35 (4cffddf)
Visual Studio extension to enable development for Xamarin.iOS.

Build info gist - https://gist.github.com/ganorkargaurav/bbde8588b49c21b9f43c6eb2424e772d


Steps to Reproduce
1-Create F# iOS single view application
2-Go to Project properties>Build Options>
3-Set build options to Link Framework sdk only and Now build the application

Actual
-Build fails due to
Error This version of Xamarin.iOS requires the iOS 10.3 SDK (shipped with Xcode 8.3). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).	

Expected
-Project should be build successfully

Screencast link
-https://www.screencast.com/t/08X7p7eKEfWw

build output details
-https://gist.github.com/ganorkargaurav/eb6a89fd9a11d4233ee7a64fe4a86730


Note - 
1-In same case , iOS single view application is getting build successfully
2-Xcode version used 8.1

Logs attached.
Comment 1 Gaurav Ganorkar 2017-05-22 12:31:23 UTC
Observation
-During building the application build fails only When Solution platform is set to "iPhone Simulator".
Comment 2 Joaquin Jares 2017-06-05 13:49:20 UTC
@Gaurav we will build when we can, but if the error states you need xcode 8.3, and you have xcode 8.1 then you need to install xcode 8.3. I'm resolving by design, please reopen if I'm missing something.