Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public override bool Execute ()
return false;
}

if (os.Value != targetOperatingSystem) {
// user is building the solution for another Apple device, do not build this project for a specific device
if (os.Value != targetOperatingSystem || (architectures & deviceArchitectures) == 0) {
// the TargetiOSDevice property conflicts with the build configuration (*.user file?), do not build this project for a specific device
DeviceSpecificIntermediateOutputPath = IntermediateOutputPath;
DeviceSpecificOutputPath = OutputPath;
TargetArchitectures = Architectures;
Expand All @@ -118,11 +118,6 @@ public override bool Execute ()
return !Log.HasLoggedErrors;
}

if ((architectures & deviceArchitectures) == 0) {
Log.LogError ("The target {0} device architecture {1} is not supported by the build configuration: {2}", targetOperatingSystem, architectures, deviceArchitectures);
return false;
}

for (int bit = 0; bit < 32; bit++) {
var architecture = (TargetArchitecture) (1 << bit);

Expand Down