Bug 39767 - Enable device specific builds only pushes 32-bit build
Summary: Enable device specific builds only pushes 32-bit build
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 9.4 (iOS 9.2)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2016-03-18 16:46 UTC by Neal
Modified: 2016-04-05 14:51 UTC (History)
2 users (show)

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

settings (141.31 KB, image/png)
2016-03-21 15:15 UTC, Neal

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 Neal 2016-03-18 16:46:57 UTC

Just wanted to make you aware of this, a few months ago when Miguel was working with my app on a 64 bit serialization issue I made him aware that when choosing "device specific builds" in the project options it only pushed 32 bit builds which he didn't think was supposed to be the case.  Anyways, I'm using an iPhone 6S and my app tells me when I'm 32 bit vs. 64 bit.  When I use this option to try and save some time in debugging on the device note that it only pushes 32 bit builds.

=== Xamarin Studio ===

Version 5.10.3 (build 26)
Installation UUID: 73513e37-5013-428d-8378-0897497f2380
	Mono 4.2.3 (explicit/832de4b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402030004

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2.1 (9548.1)
Build 7C1002

=== Xamarin.Mac ===

Version: (Business Edition)

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 58ba2bc
Branch: master
Build date: 2016-03-03 09:05:19-0500

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/Neal/Applications/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		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)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 510030026
Git revision: ac9b7fcba9ee92ac30c8eb90f20c2228ce033efa
Build date: 2016-03-01 18:02:09-05
Xamarin addins: 633fde3bf405e3c402a51980976c431c204cf4f6
Build lane: monodevelop-lion-cycle6-c6sr2

=== Operating System ===

Mac OS X 10.11.3
Darwin iMACRH.local 15.3.0 Darwin Kernel Version 15.3.0
    Thu Dec 10 18:40:58 PST 2015
    root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
Comment 1 Jeffrey Stedfast 2016-03-21 15:11:45 UTC
This seems to work as expected (i.e. I get a 64-bit build using Device-Specific Builds) in the upcoming cycle7 release (XI 9.8.x).

The only way you won't get 64-bit builds is if you have configured your project to only build 32-bit ARM architectures in the iOS Build project options.

That *should* hold true for current stable as well, but perhaps there was a bug that's been fixed in the meantime?
Comment 2 Neal 2016-03-21 15:15:32 UTC
Hi Jeff,

The project is and has always been setup ARMv7 + ARM64 (debug/iphone) if you want to test that specific setup.
Comment 3 Neal 2016-03-21 15:15:46 UTC
Created attachment 15474 [details]
Comment 4 Jeffrey Stedfast 2016-03-21 15:33:39 UTC
ARMv7 + ARM64 is what I tested with as well and it worked (I got a 64-bit build when I targeted my iPhone 6).

I'm using the current alpha release, though, so it's possible there is a bug in the stable release of XI.
Comment 5 Neal 2016-04-05 14:51:58 UTC
I am testing on alpha now and confirmed this is working properly.