diff --git a/lime/tools/helpers/AIRHelper.hx b/lime/tools/helpers/AIRHelper.hx index f0ac435f2..0eb7868d8 100644 --- a/lime/tools/helpers/AIRHelper.hx +++ b/lime/tools/helpers/AIRHelper.hx @@ -147,7 +147,7 @@ class AIRHelper { args = args.concat ([ targetPath + extension, applicationXML ]); - if (targetPlatform == IOS && PlatformHelper.hostPlatform == Platform.MAC) { + if (targetPlatform == IOS && PlatformHelper.hostPlatform == Platform.MAC && project.targetFlags.exists ("simulator")) { args.push ("-platformsdk"); args.push (IOSHelper.getSDKDirectory (project)); diff --git a/lime/tools/helpers/IOSHelper.hx b/lime/tools/helpers/IOSHelper.hx index 8eef855d9..eaeb97b2b 100644 --- a/lime/tools/helpers/IOSHelper.hx +++ b/lime/tools/helpers/IOSHelper.hx @@ -177,7 +177,7 @@ class IOSHelper { if (project != null && project.config.exists ("ios.provisioning-profile")) { - return project.config.getString ("ios.provisioning-profile"); + return PathHelper.tryFullPath (project.config.getString ("ios.provisioning-profile")); } else if (PlatformHelper.hostPlatform == Platform.MAC) { diff --git a/templates/air/template/application.xml b/templates/air/template/application.xml index c0a97e643..72a502e4b 100644 --- a/templates/air/template/application.xml +++ b/templates/air/template/application.xml @@ -64,7 +64,7 @@ ]]> - + ::if WIN_ALLOW_HIGH_DPI::high::else::standard::end:: - + \ No newline at end of file