summaryrefslogtreecommitdiff
path: root/gyp/target-ios.gypi
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-02-18 13:26:44 +0100
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-22 11:56:01 -0700
commitc587eefbb1290cc01e3e14a0ae18a2d316a498fd (patch)
tree85f3ba7e5997fa1d9d1a0305ce563741cb772d5d /gyp/target-ios.gypi
parentdb5ac4785fdc02b4e233201bb3c6f55270e3c65d (diff)
downloadqtlocation-mapboxgl-c587eefbb1290cc01e3e14a0ae18a2d316a498fd.tar.gz
[ios] make unit tests work on iOS and iOS Simulator
Diffstat (limited to 'gyp/target-ios.gypi')
-rw-r--r--gyp/target-ios.gypi27
1 files changed, 27 insertions, 0 deletions
diff --git a/gyp/target-ios.gypi b/gyp/target-ios.gypi
new file mode 100644
index 0000000000..6506ee0622
--- /dev/null
+++ b/gyp/target-ios.gypi
@@ -0,0 +1,27 @@
+{
+ 'product_extension': 'app',
+ 'xcode_settings': {
+ 'SDKROOT': 'iphoneos',
+ 'SUPPORTED_PLATFORMS': 'iphonesimulator iphoneos',
+ 'IPHONEOS_DEPLOYMENT_TARGET': '8.0',
+ 'TARGETED_DEVICE_FAMILY': '1,2',
+ 'COPY_PHASE_STRIP': 'NO',
+ 'CLANG_ENABLE_OBJC_ARC': 'YES',
+ 'CLANG_ENABLE_MODULES': 'YES',
+ },
+ 'configurations': {
+ 'Debug': {
+ 'xcode_settings': {
+ 'CODE_SIGN_IDENTITY': 'iPhone Developer',
+ 'COPY_PHASE_STRIP': 'NO',
+ },
+ },
+ 'Release': {
+ 'xcode_settings': {
+ 'CODE_SIGN_IDENTITY': 'iPhone Distribution',
+ 'ARCHS': [ "armv7", "armv7s", "arm64", "i386", "x86_64" ],
+ 'COPY_PHASE_STRIP': 'YES',
+ },
+ },
+ },
+}