summaryrefslogtreecommitdiff
path: root/config/ios.config
diff options
context:
space:
mode:
Diffstat (limited to 'config/ios.config')
-rw-r--r--config/ios.config6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/ios.config b/config/ios.config
index 9bbc496..cc2e507 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -20,6 +20,12 @@ elif target_distro_version == DistroVersion.IOS_6_1:
else:
raise FatalError("Distro version %s not supported" %(target_distro_version))
+if not ios_platform:
+ if target_arch == Architecture.X86:
+ ios_platform = 'iPhoneSimulator'
+ else:
+ ios_platform = 'iPhoneOS'
+
# For Xcode >= 4.3, the SDK is installed in a completely different path
# FIXME This has not been tested, we should check what is the iOS toolchain path
# for xcode 4.3