ambient-xcode 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2fc8464a1fdb8a69293bc2ecb8f3ee27c2b2df2
4
- data.tar.gz: 54834cfe9ddb47e68637e1f2605ea6734ec75f92
3
+ metadata.gz: a756fbe8cb2849be01704ff1344cc7e9ab2d4206
4
+ data.tar.gz: 392a9931bb0ac9ea6c3a4dd90bd1d6c21ebb023a
5
5
  SHA512:
6
- metadata.gz: fb7776f3a5ff531b09e5438661b4cee2e3aec42a9e787c2d9c7aeddd88c5aec9ad61f7bd6e5076ab4331c1b184d56a8ff4d8f1bacaa671d6f85a0f8c2106e47a
7
- data.tar.gz: 60b59145ca4e6634e54b067e85bb87bb25d692e3953b22e42776845d2437239aabfa66948ac1592637039ed6a5f6722cfc2ad47161cc7e367adfbf4ac2ba995b
6
+ metadata.gz: ddd84ad568265b6ee13432f8f91dba338498ff9ab3d05c4a55e75f884b45399c755417539bf4803fcec2af9f1047fcb828b076fbbd9a8962ee082de84c047a11
7
+ data.tar.gz: e8f4cfb38becad8b60fcf0378539dbb693deb49dc4216bb122bcc39d31c953a5b623f76fcee531115ec00457cb20da794a245116e9b59f662658b1edf00900b3
@@ -3,11 +3,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'ambient-xcode'
6
- gem.version = '0.7.1'
6
+ gem.version = '0.8.0'
7
7
  gem.authors = ['Daniel Inkpen']
8
8
  gem.email = ['dan2552@gmail.com']
9
9
  gem.description = %q{CLI for configuring Xcode projects from a Ruby file.}
10
- gem.summary = %q{Define your envrionment settings all in one easy to read Ruby file, and re-apply it to your Xcode project to ensure settings are correct.}
10
+ gem.summary = %q{Define your environment settings all in one easy to read Ruby file.}
11
11
  gem.homepage = 'https://github.com/Dan2552/ambient'
12
12
  gem.license = 'MIT'
13
13
 
@@ -26,19 +26,20 @@ module Ambient
26
26
  ui_tests = true if ui_test_target
27
27
 
28
28
  option "ALWAYS_SEARCH_USER_PATHS", false
29
- option "CLANG_CXX_LANGUAGE_STANDARD", "gnu++0x"
29
+ option "CLANG_CXX_LANGUAGE_STANDARD", "gnu++14"
30
30
  option "CLANG_CXX_LIBRARY", "libc++"
31
31
  option "CLANG_ENABLE_MODULES", true
32
32
  option "CLANG_ENABLE_OBJC_ARC", true
33
33
 
34
- option "CODE_SIGN_IDENTITY[sdk=iphoneos*]", "iPhone Developer"
34
+ option "CODE_SIGN_IDENTITY", "iPhone Developer"
35
35
  option "COPY_PHASE_STRIP", false
36
36
 
37
37
  option "ENABLE_STRICT_OBJC_MSGSEND", true
38
- option "GCC_C_LANGUAGE_STANDARD", "gnu99"
38
+ option "GCC_C_LANGUAGE_STANDARD", "gnu11"
39
39
  option "GCC_NO_COMMON_BLOCKS", true
40
40
  option "SDKROOT", "iphoneos"
41
- option "IPHONEOS_DEPLOYMENT_TARGET", "9.0"
41
+ option "IPHONEOS_DEPLOYMENT_TARGET", "10.0"
42
+ option "SWIFT_VERSION", "3.0"
42
43
 
43
44
  scheme "Debug" do
44
45
  option "DEBUG_INFORMATION_FORMAT", "dwarf"
@@ -49,6 +50,7 @@ module Ambient
49
50
  option "GCC_OPTIMIZATION_LEVEL", "0"
50
51
  option "GCC_PREPROCESSOR_DEFINITIONS", ["DEBUG=1", "$(inherited)"]
51
52
  option "SWIFT_OPTIMIZATION_LEVEL", "-Onone" if swift
53
+ option "SWIFT_ACTIVE_COMPILATION_CONDITIONS", "DEBUG"
52
54
  end
53
55
 
54
56
  scheme "Release" do
@@ -56,6 +58,7 @@ module Ambient
56
58
  option "ENABLE_NS_ASSERTIONS", false
57
59
  option "MTL_ENABLE_DEBUG_INFO", false
58
60
  option "VALIDATE_PRODUCT", true
61
+ option "SWIFT_OPTIMIZATION_LEVEL", "-Owholemodule"
59
62
  end
60
63
 
61
64
  target project_name do
@@ -114,8 +117,17 @@ module Ambient
114
117
  CLANG_WARN__DUPLICATE_METHOD_MATCH
115
118
  GCC_WARN_64_TO_32_BIT_CONVERSION
116
119
  RUN_CLANG_STATIC_ANALYZER
117
- GCC_TREAT_WARNINGS_AS_ERRORS)
120
+ GCC_TREAT_WARNINGS_AS_ERRORS
121
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
122
+ CLANG_WARN_COMMA
123
+ CLANG_WARN_DOCUMENTATION_COMMENTS
124
+ CLANG_WARN_INFINITE_RECURSION
125
+ CLANG_WARN_RANGE_LOOP_ANALYSIS
126
+ CLANG_WARN_STRICT_PROTOTYPES
127
+ CLANG_WARN_SUSPICIOUS_MOVE)
118
128
  warnings.each { |w| option(w, true) }
129
+
130
+ option "CLANG_WARN_UNGUARDED_AVAILABILITY", "YES_AGGRESSIVE"
119
131
  end
120
132
 
121
133
  def enable_default_warnings!
@@ -3,29 +3,29 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 46;
6
+ objectVersion = 48;
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 37A5F6781D906B01006D972F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37A5F6771D906B01006D972F /* AppDelegate.swift */; };
11
- 37A5F67A1D906B01006D972F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37A5F6791D906B01006D972F /* ViewController.swift */; };
12
- 37A5F67D1D906B01006D972F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 37A5F67B1D906B01006D972F /* Main.storyboard */; };
13
- 37A5F67F1D906B01006D972F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 37A5F67E1D906B01006D972F /* Assets.xcassets */; };
14
- 37A5F6821D906B01006D972F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 37A5F6801D906B01006D972F /* LaunchScreen.storyboard */; };
10
+ AB04CB941EEC68E000947BB1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB04CB931EEC68E000947BB1 /* AppDelegate.swift */; };
11
+ AB04CB961EEC68E000947BB1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB04CB951EEC68E000947BB1 /* ViewController.swift */; };
12
+ AB04CB991EEC68E000947BB1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AB04CB971EEC68E000947BB1 /* Main.storyboard */; };
13
+ AB04CB9B1EEC68E000947BB1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AB04CB9A1EEC68E000947BB1 /* Assets.xcassets */; };
14
+ AB04CB9E1EEC68E000947BB1 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AB04CB9C1EEC68E000947BB1 /* LaunchScreen.storyboard */; };
15
15
  /* End PBXBuildFile section */
16
16
 
17
17
  /* Begin PBXFileReference section */
18
- 37A5F6741D906B01006D972F /* PRODUCTNAME.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PRODUCTNAME.app; sourceTree = BUILT_PRODUCTS_DIR; };
19
- 37A5F6771D906B01006D972F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20
- 37A5F6791D906B01006D972F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
21
- 37A5F67C1D906B01006D972F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
22
- 37A5F67E1D906B01006D972F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23
- 37A5F6811D906B01006D972F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
24
- 37A5F6831D906B01006D972F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
18
+ AB04CB901EEC68E000947BB1 /* PRODUCTNAME.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PRODUCTNAME.app; sourceTree = BUILT_PRODUCTS_DIR; };
19
+ AB04CB931EEC68E000947BB1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
20
+ AB04CB951EEC68E000947BB1 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
21
+ AB04CB981EEC68E000947BB1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
22
+ AB04CB9A1EEC68E000947BB1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
23
+ AB04CB9D1EEC68E000947BB1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
24
+ AB04CB9F1EEC68E000947BB1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25
25
  /* End PBXFileReference section */
26
26
 
27
27
  /* Begin PBXFrameworksBuildPhase section */
28
- 37A5F6711D906B01006D972F /* Frameworks */ = {
28
+ AB04CB8D1EEC68E000947BB1 /* Frameworks */ = {
29
29
  isa = PBXFrameworksBuildPhase;
30
30
  buildActionMask = 2147483647;
31
31
  files = (
@@ -35,31 +35,31 @@
35
35
  /* End PBXFrameworksBuildPhase section */
36
36
 
37
37
  /* Begin PBXGroup section */
38
- 37A5F66B1D906B01006D972F = {
38
+ AB04CB871EEC68E000947BB1 = {
39
39
  isa = PBXGroup;
40
40
  children = (
41
- 37A5F6761D906B01006D972F /* PRODUCTNAME */,
42
- 37A5F6751D906B01006D972F /* Products */,
41
+ AB04CB921EEC68E000947BB1 /* PRODUCTNAME */,
42
+ AB04CB911EEC68E000947BB1 /* Products */,
43
43
  );
44
44
  sourceTree = "<group>";
45
45
  };
46
- 37A5F6751D906B01006D972F /* Products */ = {
46
+ AB04CB911EEC68E000947BB1 /* Products */ = {
47
47
  isa = PBXGroup;
48
48
  children = (
49
- 37A5F6741D906B01006D972F /* PRODUCTNAME.app */,
49
+ AB04CB901EEC68E000947BB1 /* PRODUCTNAME.app */,
50
50
  );
51
51
  name = Products;
52
52
  sourceTree = "<group>";
53
53
  };
54
- 37A5F6761D906B01006D972F /* PRODUCTNAME */ = {
54
+ AB04CB921EEC68E000947BB1 /* PRODUCTNAME */ = {
55
55
  isa = PBXGroup;
56
56
  children = (
57
- 37A5F6771D906B01006D972F /* AppDelegate.swift */,
58
- 37A5F6791D906B01006D972F /* ViewController.swift */,
59
- 37A5F67B1D906B01006D972F /* Main.storyboard */,
60
- 37A5F67E1D906B01006D972F /* Assets.xcassets */,
61
- 37A5F6801D906B01006D972F /* LaunchScreen.storyboard */,
62
- 37A5F6831D906B01006D972F /* Info.plist */,
57
+ AB04CB931EEC68E000947BB1 /* AppDelegate.swift */,
58
+ AB04CB951EEC68E000947BB1 /* ViewController.swift */,
59
+ AB04CB971EEC68E000947BB1 /* Main.storyboard */,
60
+ AB04CB9A1EEC68E000947BB1 /* Assets.xcassets */,
61
+ AB04CB9C1EEC68E000947BB1 /* LaunchScreen.storyboard */,
62
+ AB04CB9F1EEC68E000947BB1 /* Info.plist */,
63
63
  );
64
64
  path = PRODUCTNAME;
65
65
  sourceTree = "<group>";
@@ -67,13 +67,13 @@
67
67
  /* End PBXGroup section */
68
68
 
69
69
  /* Begin PBXNativeTarget section */
70
- 37A5F6731D906B01006D972F /* PRODUCTNAME */ = {
70
+ AB04CB8F1EEC68E000947BB1 /* PRODUCTNAME */ = {
71
71
  isa = PBXNativeTarget;
72
- buildConfigurationList = 37A5F6861D906B01006D972F /* Build configuration list for PBXNativeTarget "PRODUCTNAME" */;
72
+ buildConfigurationList = AB04CBA21EEC68E000947BB1 /* Build configuration list for PBXNativeTarget "PRODUCTNAME" */;
73
73
  buildPhases = (
74
- 37A5F6701D906B01006D972F /* Sources */,
75
- 37A5F6711D906B01006D972F /* Frameworks */,
76
- 37A5F6721D906B01006D972F /* Resources */,
74
+ AB04CB8C1EEC68E000947BB1 /* Sources */,
75
+ AB04CB8D1EEC68E000947BB1 /* Frameworks */,
76
+ AB04CB8E1EEC68E000947BB1 /* Resources */,
77
77
  );
78
78
  buildRules = (
79
79
  );
@@ -81,80 +81,80 @@
81
81
  );
82
82
  name = PRODUCTNAME;
83
83
  productName = PRODUCTNAME;
84
- productReference = 37A5F6741D906B01006D972F /* PRODUCTNAME.app */;
84
+ productReference = AB04CB901EEC68E000947BB1 /* PRODUCTNAME.app */;
85
85
  productType = "com.apple.product-type.application";
86
86
  };
87
87
  /* End PBXNativeTarget section */
88
88
 
89
89
  /* Begin PBXProject section */
90
- 37A5F66C1D906B01006D972F /* Project object */ = {
90
+ AB04CB881EEC68E000947BB1 /* Project object */ = {
91
91
  isa = PBXProject;
92
92
  attributes = {
93
- LastSwiftUpdateCheck = 0730;
94
- LastUpgradeCheck = 0730;
93
+ LastSwiftUpdateCheck = 0900;
94
+ LastUpgradeCheck = 0900;
95
95
  ORGANIZATIONNAME = ORGANIZATION;
96
96
  TargetAttributes = {
97
- 37A5F6731D906B01006D972F = {
98
- CreatedOnToolsVersion = 7.3.1;
97
+ AB04CB8F1EEC68E000947BB1 = {
98
+ CreatedOnToolsVersion = 9.0;
99
99
  };
100
100
  };
101
101
  };
102
- buildConfigurationList = 37A5F66F1D906B01006D972F /* Build configuration list for PBXProject "PRODUCTNAME" */;
103
- compatibilityVersion = "Xcode 3.2";
104
- developmentRegion = English;
102
+ buildConfigurationList = AB04CB8B1EEC68E000947BB1 /* Build configuration list for PBXProject "PRODUCTNAME" */;
103
+ compatibilityVersion = "Xcode 8.0";
104
+ developmentRegion = en;
105
105
  hasScannedForEncodings = 0;
106
106
  knownRegions = (
107
107
  en,
108
108
  Base,
109
109
  );
110
- mainGroup = 37A5F66B1D906B01006D972F;
111
- productRefGroup = 37A5F6751D906B01006D972F /* Products */;
110
+ mainGroup = AB04CB871EEC68E000947BB1;
111
+ productRefGroup = AB04CB911EEC68E000947BB1 /* Products */;
112
112
  projectDirPath = "";
113
113
  projectRoot = "";
114
114
  targets = (
115
- 37A5F6731D906B01006D972F /* PRODUCTNAME */,
115
+ AB04CB8F1EEC68E000947BB1 /* PRODUCTNAME */,
116
116
  );
117
117
  };
118
118
  /* End PBXProject section */
119
119
 
120
120
  /* Begin PBXResourcesBuildPhase section */
121
- 37A5F6721D906B01006D972F /* Resources */ = {
121
+ AB04CB8E1EEC68E000947BB1 /* Resources */ = {
122
122
  isa = PBXResourcesBuildPhase;
123
123
  buildActionMask = 2147483647;
124
124
  files = (
125
- 37A5F6821D906B01006D972F /* LaunchScreen.storyboard in Resources */,
126
- 37A5F67F1D906B01006D972F /* Assets.xcassets in Resources */,
127
- 37A5F67D1D906B01006D972F /* Main.storyboard in Resources */,
125
+ AB04CB9E1EEC68E000947BB1 /* LaunchScreen.storyboard in Resources */,
126
+ AB04CB9B1EEC68E000947BB1 /* Assets.xcassets in Resources */,
127
+ AB04CB991EEC68E000947BB1 /* Main.storyboard in Resources */,
128
128
  );
129
129
  runOnlyForDeploymentPostprocessing = 0;
130
130
  };
131
131
  /* End PBXResourcesBuildPhase section */
132
132
 
133
133
  /* Begin PBXSourcesBuildPhase section */
134
- 37A5F6701D906B01006D972F /* Sources */ = {
134
+ AB04CB8C1EEC68E000947BB1 /* Sources */ = {
135
135
  isa = PBXSourcesBuildPhase;
136
136
  buildActionMask = 2147483647;
137
137
  files = (
138
- 37A5F67A1D906B01006D972F /* ViewController.swift in Sources */,
139
- 37A5F6781D906B01006D972F /* AppDelegate.swift in Sources */,
138
+ AB04CB961EEC68E000947BB1 /* ViewController.swift in Sources */,
139
+ AB04CB941EEC68E000947BB1 /* AppDelegate.swift in Sources */,
140
140
  );
141
141
  runOnlyForDeploymentPostprocessing = 0;
142
142
  };
143
143
  /* End PBXSourcesBuildPhase section */
144
144
 
145
145
  /* Begin PBXVariantGroup section */
146
- 37A5F67B1D906B01006D972F /* Main.storyboard */ = {
146
+ AB04CB971EEC68E000947BB1 /* Main.storyboard */ = {
147
147
  isa = PBXVariantGroup;
148
148
  children = (
149
- 37A5F67C1D906B01006D972F /* Base */,
149
+ AB04CB981EEC68E000947BB1 /* Base */,
150
150
  );
151
151
  name = Main.storyboard;
152
152
  sourceTree = "<group>";
153
153
  };
154
- 37A5F6801D906B01006D972F /* LaunchScreen.storyboard */ = {
154
+ AB04CB9C1EEC68E000947BB1 /* LaunchScreen.storyboard */ = {
155
155
  isa = PBXVariantGroup;
156
156
  children = (
157
- 37A5F6811D906B01006D972F /* Base */,
157
+ AB04CB9D1EEC68E000947BB1 /* Base */,
158
158
  );
159
159
  name = LaunchScreen.storyboard;
160
160
  sourceTree = "<group>";
@@ -162,30 +162,39 @@
162
162
  /* End PBXVariantGroup section */
163
163
 
164
164
  /* Begin XCBuildConfiguration section */
165
- 37A5F6841D906B01006D972F /* Debug */ = {
165
+ AB04CBA01EEC68E000947BB1 /* Debug */ = {
166
166
  isa = XCBuildConfiguration;
167
167
  buildSettings = {
168
168
  ALWAYS_SEARCH_USER_PATHS = NO;
169
169
  CLANG_ANALYZER_NONNULL = YES;
170
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
170
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
171
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
171
172
  CLANG_CXX_LIBRARY = "libc++";
172
173
  CLANG_ENABLE_MODULES = YES;
173
174
  CLANG_ENABLE_OBJC_ARC = YES;
175
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
174
176
  CLANG_WARN_BOOL_CONVERSION = YES;
177
+ CLANG_WARN_COMMA = YES;
175
178
  CLANG_WARN_CONSTANT_CONVERSION = YES;
176
179
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
180
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
177
181
  CLANG_WARN_EMPTY_BODY = YES;
178
182
  CLANG_WARN_ENUM_CONVERSION = YES;
183
+ CLANG_WARN_INFINITE_RECURSION = YES;
179
184
  CLANG_WARN_INT_CONVERSION = YES;
180
185
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
186
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
187
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
188
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
189
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
181
190
  CLANG_WARN_UNREACHABLE_CODE = YES;
182
191
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
183
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
192
+ CODE_SIGN_IDENTITY = "iPhone Developer";
184
193
  COPY_PHASE_STRIP = NO;
185
194
  DEBUG_INFORMATION_FORMAT = dwarf;
186
195
  ENABLE_STRICT_OBJC_MSGSEND = YES;
187
196
  ENABLE_TESTABILITY = YES;
188
- GCC_C_LANGUAGE_STANDARD = gnu99;
197
+ GCC_C_LANGUAGE_STANDARD = gnu11;
189
198
  GCC_DYNAMIC_NO_PIC = NO;
190
199
  GCC_NO_COMMON_BLOCKS = YES;
191
200
  GCC_OPTIMIZATION_LEVEL = 0;
@@ -199,39 +208,48 @@
199
208
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
200
209
  GCC_WARN_UNUSED_FUNCTION = YES;
201
210
  GCC_WARN_UNUSED_VARIABLE = YES;
202
- IPHONEOS_DEPLOYMENT_TARGET = 9.3;
211
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
203
212
  MTL_ENABLE_DEBUG_INFO = YES;
204
213
  ONLY_ACTIVE_ARCH = YES;
205
214
  SDKROOT = iphoneos;
215
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
206
216
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
207
- TARGETED_DEVICE_FAMILY = "1,2";
208
217
  };
209
218
  name = Debug;
210
219
  };
211
- 37A5F6851D906B01006D972F /* Release */ = {
220
+ AB04CBA11EEC68E000947BB1 /* Release */ = {
212
221
  isa = XCBuildConfiguration;
213
222
  buildSettings = {
214
223
  ALWAYS_SEARCH_USER_PATHS = NO;
215
224
  CLANG_ANALYZER_NONNULL = YES;
216
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
225
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
226
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
217
227
  CLANG_CXX_LIBRARY = "libc++";
218
228
  CLANG_ENABLE_MODULES = YES;
219
229
  CLANG_ENABLE_OBJC_ARC = YES;
230
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
220
231
  CLANG_WARN_BOOL_CONVERSION = YES;
232
+ CLANG_WARN_COMMA = YES;
221
233
  CLANG_WARN_CONSTANT_CONVERSION = YES;
222
234
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
235
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
223
236
  CLANG_WARN_EMPTY_BODY = YES;
224
237
  CLANG_WARN_ENUM_CONVERSION = YES;
238
+ CLANG_WARN_INFINITE_RECURSION = YES;
225
239
  CLANG_WARN_INT_CONVERSION = YES;
226
240
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
241
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
242
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
243
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
244
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
227
245
  CLANG_WARN_UNREACHABLE_CODE = YES;
228
246
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
229
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
247
+ CODE_SIGN_IDENTITY = "iPhone Developer";
230
248
  COPY_PHASE_STRIP = NO;
231
249
  DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
232
250
  ENABLE_NS_ASSERTIONS = NO;
233
251
  ENABLE_STRICT_OBJC_MSGSEND = YES;
234
- GCC_C_LANGUAGE_STANDARD = gnu99;
252
+ GCC_C_LANGUAGE_STANDARD = gnu11;
235
253
  GCC_NO_COMMON_BLOCKS = YES;
236
254
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
237
255
  GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
@@ -239,15 +257,15 @@
239
257
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
240
258
  GCC_WARN_UNUSED_FUNCTION = YES;
241
259
  GCC_WARN_UNUSED_VARIABLE = YES;
242
- IPHONEOS_DEPLOYMENT_TARGET = 9.3;
260
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
243
261
  MTL_ENABLE_DEBUG_INFO = NO;
244
262
  SDKROOT = iphoneos;
245
- TARGETED_DEVICE_FAMILY = "1,2";
263
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
246
264
  VALIDATE_PRODUCT = YES;
247
265
  };
248
266
  name = Release;
249
267
  };
250
- 37A5F6871D906B01006D972F /* Debug */ = {
268
+ AB04CBA31EEC68E000947BB1 /* Debug */ = {
251
269
  isa = XCBuildConfiguration;
252
270
  buildSettings = {
253
271
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
@@ -255,10 +273,12 @@
255
273
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
256
274
  PRODUCT_BUNDLE_IDENTIFIER = com.organization.PRODUCTNAME;
257
275
  PRODUCT_NAME = "$(TARGET_NAME)";
276
+ SWIFT_VERSION = 4.0;
277
+ TARGETED_DEVICE_FAMILY = "1,2";
258
278
  };
259
279
  name = Debug;
260
280
  };
261
- 37A5F6881D906B01006D972F /* Release */ = {
281
+ AB04CBA41EEC68E000947BB1 /* Release */ = {
262
282
  isa = XCBuildConfiguration;
263
283
  buildSettings = {
264
284
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
@@ -266,30 +286,32 @@
266
286
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
267
287
  PRODUCT_BUNDLE_IDENTIFIER = com.organization.PRODUCTNAME;
268
288
  PRODUCT_NAME = "$(TARGET_NAME)";
289
+ SWIFT_VERSION = 4.0;
290
+ TARGETED_DEVICE_FAMILY = "1,2";
269
291
  };
270
292
  name = Release;
271
293
  };
272
294
  /* End XCBuildConfiguration section */
273
295
 
274
296
  /* Begin XCConfigurationList section */
275
- 37A5F66F1D906B01006D972F /* Build configuration list for PBXProject "PRODUCTNAME" */ = {
297
+ AB04CB8B1EEC68E000947BB1 /* Build configuration list for PBXProject "PRODUCTNAME" */ = {
276
298
  isa = XCConfigurationList;
277
299
  buildConfigurations = (
278
- 37A5F6841D906B01006D972F /* Debug */,
279
- 37A5F6851D906B01006D972F /* Release */,
300
+ AB04CBA01EEC68E000947BB1 /* Debug */,
301
+ AB04CBA11EEC68E000947BB1 /* Release */,
280
302
  );
281
303
  defaultConfigurationIsVisible = 0;
282
304
  defaultConfigurationName = Release;
283
305
  };
284
- 37A5F6861D906B01006D972F /* Build configuration list for PBXNativeTarget "PRODUCTNAME" */ = {
306
+ AB04CBA21EEC68E000947BB1 /* Build configuration list for PBXNativeTarget "PRODUCTNAME" */ = {
285
307
  isa = XCConfigurationList;
286
308
  buildConfigurations = (
287
- 37A5F6871D906B01006D972F /* Debug */,
288
- 37A5F6881D906B01006D972F /* Release */,
309
+ AB04CBA31EEC68E000947BB1 /* Debug */,
310
+ AB04CBA41EEC68E000947BB1 /* Release */,
289
311
  );
290
312
  defaultConfigurationIsVisible = 0;
291
313
  };
292
314
  /* End XCConfigurationList section */
293
315
  };
294
- rootObject = 37A5F66C1D906B01006D972F /* Project object */;
316
+ rootObject = AB04CB881EEC68E000947BB1 /* Project object */;
295
317
  }
@@ -4,30 +4,30 @@ import UIKit
4
4
  class AppDelegate: UIResponder, UIApplicationDelegate {
5
5
  var window: UIWindow?
6
6
 
7
- func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
7
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
8
8
  // Override point for customization after application launch.
9
9
  return true
10
10
  }
11
11
 
12
- func applicationWillResignActive(application: UIApplication) {
12
+ func applicationWillResignActive(_ application: UIApplication) {
13
13
  // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
14
- // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
14
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
15
15
  }
16
16
 
17
- func applicationDidEnterBackground(application: UIApplication) {
17
+ func applicationDidEnterBackground(_ application: UIApplication) {
18
18
  // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
19
19
  // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
20
20
  }
21
21
 
22
- func applicationWillEnterForeground(application: UIApplication) {
23
- // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
22
+ func applicationWillEnterForeground(_ application: UIApplication) {
23
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
24
24
  }
25
25
 
26
- func applicationDidBecomeActive(application: UIApplication) {
26
+ func applicationDidBecomeActive(_ application: UIApplication) {
27
27
  // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
28
28
  }
29
29
 
30
- func applicationWillTerminate(application: UIApplication) {
30
+ func applicationWillTerminate(_ application: UIApplication) {
31
31
  // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
32
32
  }
33
33
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ambient-xcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Inkpen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcodeproj
@@ -94,9 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.5.1
97
+ rubygems_version: 2.6.8
98
98
  signing_key:
99
99
  specification_version: 4
100
- summary: Define your envrionment settings all in one easy to read Ruby file, and re-apply
101
- it to your Xcode project to ensure settings are correct.
100
+ summary: Define your environment settings all in one easy to read Ruby file.
102
101
  test_files: []