AIRHelper: fix failed Adobe AIR for iOS build on Windows
It was incorrectly trying to list simulators from Xcode (and Xcode, obviously, doesn't exist on Windows)
This commit is contained in:
@@ -204,7 +204,7 @@ class AIRHelper
|
|||||||
Sys.putEnv("AIR_NOANDROIDFLAIR", "true");
|
Sys.putEnv("AIR_NOANDROIDFLAIR", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (targetPlatform == IOS)
|
if (targetPlatform == IOS && System.hostPlatform == MAC)
|
||||||
{
|
{
|
||||||
Sys.putEnv("AIR_IOS_SIMULATOR_DEVICE", XCodeHelper.getSimulatorName(project));
|
Sys.putEnv("AIR_IOS_SIMULATOR_DEVICE", XCodeHelper.getSimulatorName(project));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user