Bug 54687 - Device-specific builds doesn't work for extensions
Summary: Device-specific builds doesn't work for extensions
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 10.10 (d15-2)
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.3
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2017-04-07 07:06 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-07-14 07:35 UTC (History)
3 users (show)

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:

Description Rolf Bjarne Kvinge [MSFT] 2017-04-07 07:06:58 UTC
Enabling device-specific builds for extensions doesn't work.

Sample output from log:

Target "_ComputeTargetArchitectures" in file "/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets":
  Task "ParseDeviceSpecificBuildInformation" skipped, due to false condition; ('$(DeviceSpecificBuild)' == 'true' And '$(TargetiOSDevice)' != '' And '$(_CanDeployToDeviceOrSimulator)' == 'true') was evaluated as ('true' == 'true' And '<?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  		<string>ARMv6, ARMv7, ARMv7s, ARM64</string>
  ' != '' And 'False' == 'true').

It's skipped because '_CanDeployToDeviceOrSimulator' is 'False'.

this happened when building ios10/IceCreamBuilder/IceCreamBuilder.sln from the xamarin/ios-samples repository.
Comment 1 Jeffrey Stedfast 2017-04-07 19:45:26 UTC
PR: https://github.com/xamarin/xamarin-macios/pull/1974
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-04-11 06:18:29 UTC
Fixed (master): https://github.com/xamarin/xamarin-macios/commit/52aba009f1e25bdc2e324fe437971c09ca9dbf80
Comment 3 Gaurav Ganorkar 2017-07-14 07:35:41 UTC
Verified this issue on the build

Build info gist- https://gist.github.com/ganorkargaurav/9d7d0d67c6a36c7f332fbd1b90bb9d95

Screencast link

Issue is fixed now i am not able to deploy and work on the message extension app with the enable device specific builds checked.