Bug 15645 - DTSDKBuild shows wrong value in info.plist
Summary: DTSDKBuild shows wrong value in info.plist
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 4.0.13
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2013-10-24 05:20 UTC by Silvio Vogel
Modified: 2013-11-06 11:20 UTC (History)
3 users (show)

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

XCode Project (41.96 KB, application/zip)
2013-11-06 07:57 UTC, Silvio Vogel

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:

Description Silvio Vogel 2013-10-24 05:20:51 UTC
The info.plist shows 11B508 in DTSDKBuild with SDK iphoneos6.1
When i build with XCode then it shows 10B141.

Xamarin Studio Build:

XCode Build:
Comment 1 Mikayla Hutchinson [MSFT] 2013-10-24 14:27:51 UTC
What version of Xcode are you using? Do you have multiple version installed?
Comment 2 Silvio Vogel 2013-10-24 15:51:10 UTC
Yes, the latest Beta and the current XCode Version from the AppStore.

In both are the SDK 6.1 included.
Comment 3 Silvio Vogel 2013-10-25 01:47:50 UTC
in Detail:
XCode 5.0.1 (5A2053)
XCode 5 Golden Master 

Xamarin Studio 4.0.13
Comment 4 Mikayla Hutchinson [MSFT] 2013-10-25 03:13:09 UTC
XS gets these values from Xcode, and 11B508 is the build of the SDK in XCode 5.0.1.

I suspect XS is using Xcode 5.0.1 and you are comparing it to an app built by XCode 5 GM.
Comment 5 Silvio Vogel 2013-10-25 04:01:40 UTC
I build the XS App with SDK Version 6.1

And I also Build the other App with XCode 5.0.1 and Base SDK "iOS 6.1"

The XCode 5 GM isn't running at the moment (missing components).
Comment 6 Silvio Vogel 2013-11-06 05:38:58 UTC
Any update on this issue?
Comment 7 Jeffrey Stedfast 2013-11-06 07:35:31 UTC
I have 4 versions of Xcode installed (4.4.1, 4.5, 4.6.3, and 5.0.1) and Xamarin Studio uses the DTSDKBuild from whatever Xcode I point it at in the Preferences/SDK Settings panel.

If you are getting a different DTSDKBuild than you expect, then it's probably because you are pointing Xamarin Studio at the wrong Xcode.
Comment 8 Jeffrey Stedfast 2013-11-06 07:38:40 UTC
As Michael pointed out, 10B141 is from the older Xcode, so Xamarin Studio is using the latest Xcode and your "Xcode build" is not built using the latest Xcode.
Comment 9 Silvio Vogel 2013-11-06 07:57:39 UTC
Created attachment 5349 [details]
XCode Project

I'm using the newest version of XCode and i've been Added the SDK 6.1 from an older Version of XCode.

See this http://blog.spacemanlabs.com/2013/09/how-to-support-old-ios-sdks-in-xcode-5/

And i changed the Base SDK in XCode to "iOS 6.1"
I've attached you the XCode Project
Comment 10 Jeffrey Stedfast 2013-11-06 08:40:44 UTC
Can you explain why this is so important?
Comment 11 Jeffrey Stedfast 2013-11-06 11:20:40 UTC
I think I know what the problem is...

Open up Xcode's Preferences and go to the Locations tab. They have a menu to select where your Xcode gets its command-line tools from (if you have multiple Xcode apps installed).

I bet you have yours set to point to an old Xcode location.