Skip to content

Commit 543c968

Browse files
committed
Update Test Projects
1 parent 747caef commit 543c968

File tree

11 files changed

+65
-43
lines changed

11 files changed

+65
-43
lines changed

TestProjects/carthage/ios/PinLayout-Carthage-iOS.xcodeproj/project.pbxproj

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
isa = PBXProject;
125125
attributes = {
126126
LastSwiftUpdateCheck = 0830;
127-
LastUpgradeCheck = 0830;
127+
LastUpgradeCheck = 1100;
128128
ORGANIZATIONNAME = Layoutbox;
129129
TargetAttributes = {
130130
24C872FA1EE2D113007BFE47 = {
@@ -136,7 +136,7 @@
136136
};
137137
buildConfigurationList = 24C872F61EE2D113007BFE47 /* Build configuration list for PBXProject "PinLayout-Carthage-iOS" */;
138138
compatibilityVersion = "Xcode 3.2";
139-
developmentRegion = English;
139+
developmentRegion = en;
140140
hasScannedForEncodings = 0;
141141
knownRegions = (
142142
en,
@@ -202,21 +202,30 @@
202202
isa = XCBuildConfiguration;
203203
buildSettings = {
204204
ALWAYS_SEARCH_USER_PATHS = NO;
205+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
205206
CLANG_ANALYZER_NONNULL = YES;
206207
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
207208
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
208209
CLANG_CXX_LIBRARY = "libc++";
209210
CLANG_ENABLE_MODULES = YES;
210211
CLANG_ENABLE_OBJC_ARC = YES;
212+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
211213
CLANG_WARN_BOOL_CONVERSION = YES;
214+
CLANG_WARN_COMMA = YES;
212215
CLANG_WARN_CONSTANT_CONVERSION = YES;
216+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
213217
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
214218
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
215219
CLANG_WARN_EMPTY_BODY = YES;
216220
CLANG_WARN_ENUM_CONVERSION = YES;
217221
CLANG_WARN_INFINITE_RECURSION = YES;
218222
CLANG_WARN_INT_CONVERSION = YES;
223+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
224+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
225+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
219226
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
227+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
228+
CLANG_WARN_STRICT_PROTOTYPES = YES;
220229
CLANG_WARN_SUSPICIOUS_MOVE = YES;
221230
CLANG_WARN_UNREACHABLE_CODE = YES;
222231
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -246,6 +255,7 @@
246255
SDKROOT = iphoneos;
247256
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
248257
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
258+
SWIFT_VERSION = 5.0;
249259
TARGETED_DEVICE_FAMILY = "1,2";
250260
};
251261
name = Debug;
@@ -254,21 +264,30 @@
254264
isa = XCBuildConfiguration;
255265
buildSettings = {
256266
ALWAYS_SEARCH_USER_PATHS = NO;
267+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
257268
CLANG_ANALYZER_NONNULL = YES;
258269
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
259270
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
260271
CLANG_CXX_LIBRARY = "libc++";
261272
CLANG_ENABLE_MODULES = YES;
262273
CLANG_ENABLE_OBJC_ARC = YES;
274+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
263275
CLANG_WARN_BOOL_CONVERSION = YES;
276+
CLANG_WARN_COMMA = YES;
264277
CLANG_WARN_CONSTANT_CONVERSION = YES;
278+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
265279
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
266280
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
267281
CLANG_WARN_EMPTY_BODY = YES;
268282
CLANG_WARN_ENUM_CONVERSION = YES;
269283
CLANG_WARN_INFINITE_RECURSION = YES;
270284
CLANG_WARN_INT_CONVERSION = YES;
285+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
286+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
287+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
271288
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
289+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
290+
CLANG_WARN_STRICT_PROTOTYPES = YES;
272291
CLANG_WARN_SUSPICIOUS_MOVE = YES;
273292
CLANG_WARN_UNREACHABLE_CODE = YES;
274293
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -290,6 +309,7 @@
290309
MTL_ENABLE_DEBUG_INFO = NO;
291310
SDKROOT = iphoneos;
292311
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
312+
SWIFT_VERSION = 5.0;
293313
TARGETED_DEVICE_FAMILY = "1,2";
294314
VALIDATE_PRODUCT = YES;
295315
};
@@ -311,7 +331,7 @@
311331
PRODUCT_NAME = "$(TARGET_NAME)";
312332
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-Carthage-iOS/PinLayout-Carthage-iOS-Bridging-Header.h";
313333
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
314-
SWIFT_VERSION = 3.0;
334+
SWIFT_VERSION = 5.0;
315335
};
316336
name = Debug;
317337
};
@@ -330,7 +350,7 @@
330350
PRODUCT_BUNDLE_IDENTIFIER = "com.layoutbox.project.PinLayout-Carthage-iOS";
331351
PRODUCT_NAME = "$(TARGET_NAME)";
332352
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-Carthage-iOS/PinLayout-Carthage-iOS-Bridging-Header.h";
333-
SWIFT_VERSION = 3.0;
353+
SWIFT_VERSION = 5.0;
334354
};
335355
name = Release;
336356
};

TestProjects/carthage/ios/PinLayout-Carthage-iOS/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
77
var window: UIWindow?
88

99

10-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
10+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1111
// Override point for customization after application launch.
1212
return true
1313
}

TestProjects/cocoapods/ios/PinLayout-iOS.xcodeproj/project.pbxproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,19 +122,19 @@
122122
isa = PBXProject;
123123
attributes = {
124124
LastSwiftUpdateCheck = 0830;
125-
LastUpgradeCheck = 0940;
125+
LastUpgradeCheck = 1100;
126126
ORGANIZATIONNAME = LayoutBox;
127127
TargetAttributes = {
128128
24C872DC1EE2CE0B007BFE47 = {
129129
CreatedOnToolsVersion = 8.3.2;
130-
LastSwiftMigration = 0900;
130+
LastSwiftMigration = 1100;
131131
ProvisioningStyle = Automatic;
132132
};
133133
};
134134
};
135135
buildConfigurationList = 24C872D81EE2CE0B007BFE47 /* Build configuration list for PBXProject "PinLayout-iOS" */;
136136
compatibilityVersion = "Xcode 3.2";
137-
developmentRegion = English;
137+
developmentRegion = en;
138138
hasScannedForEncodings = 0;
139139
knownRegions = (
140140
en,
@@ -241,6 +241,7 @@
241241
isa = XCBuildConfiguration;
242242
buildSettings = {
243243
ALWAYS_SEARCH_USER_PATHS = NO;
244+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
244245
CLANG_ANALYZER_NONNULL = YES;
245246
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
246247
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -300,6 +301,7 @@
300301
isa = XCBuildConfiguration;
301302
buildSettings = {
302303
ALWAYS_SEARCH_USER_PATHS = NO;
304+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
303305
CLANG_ANALYZER_NONNULL = YES;
304306
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
305307
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -361,7 +363,7 @@
361363
PRODUCT_NAME = "$(TARGET_NAME)";
362364
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-iOS/PinLayout-iOS-Bridging-Header.h";
363365
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
364-
SWIFT_VERSION = 4.0;
366+
SWIFT_VERSION = 5.0;
365367
};
366368
name = Debug;
367369
};
@@ -377,7 +379,7 @@
377379
PRODUCT_BUNDLE_IDENTIFIER = "com.layoutbox.project.PinLayout-iOS";
378380
PRODUCT_NAME = "$(TARGET_NAME)";
379381
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-iOS/PinLayout-iOS-Bridging-Header.h";
380-
SWIFT_VERSION = 4.0;
382+
SWIFT_VERSION = 5.0;
381383
};
382384
name = Release;
383385
};

TestProjects/cocoapods/ios/PinLayout-iOS/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
77
var window: UIWindow?
88

99

10-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
10+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1111
// Override point for customization after application launch.
1212
return true
1313
}

TestProjects/cocoapods/macos/PinLayout-macOS.xcodeproj/project.pbxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
isa = PBXProject;
117117
attributes = {
118118
LastSwiftUpdateCheck = 0830;
119-
LastUpgradeCheck = 0940;
119+
LastUpgradeCheck = 1100;
120120
ORGANIZATIONNAME = Linkedin;
121121
TargetAttributes = {
122122
447D4B4E1EA571EC002FDFF4 = {
@@ -128,7 +128,7 @@
128128
};
129129
buildConfigurationList = 447D4B4A1EA571EC002FDFF4 /* Build configuration list for PBXProject "PinLayout-macOS" */;
130130
compatibilityVersion = "Xcode 3.2";
131-
developmentRegion = English;
131+
developmentRegion = en;
132132
hasScannedForEncodings = 0;
133133
knownRegions = (
134134
en,
@@ -181,7 +181,7 @@
181181
files = (
182182
);
183183
inputPaths = (
184-
"${SRCROOT}/Pods/Target Support Files/Pods-PinLayout-macOS/Pods-PinLayout-macOS-frameworks.sh",
184+
"${PODS_ROOT}/Target Support Files/Pods-PinLayout-macOS/Pods-PinLayout-macOS-frameworks.sh",
185185
"${BUILT_PRODUCTS_DIR}/PinLayout/PinLayout.framework",
186186
);
187187
name = "[CP] Embed Pods Frameworks";
@@ -190,7 +190,7 @@
190190
);
191191
runOnlyForDeploymentPostprocessing = 0;
192192
shellPath = /bin/sh;
193-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PinLayout-macOS/Pods-PinLayout-macOS-frameworks.sh\"\n";
193+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PinLayout-macOS/Pods-PinLayout-macOS-frameworks.sh\"\n";
194194
showEnvVarsInLog = 0;
195195
};
196196
/* End PBXShellScriptBuildPhase section */
@@ -212,6 +212,7 @@
212212
isa = XCBuildConfiguration;
213213
buildSettings = {
214214
ALWAYS_SEARCH_USER_PATHS = NO;
215+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
215216
CLANG_ANALYZER_NONNULL = YES;
216217
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
217218
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -263,13 +264,15 @@
263264
SDKROOT = macosx;
264265
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
265266
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
267+
SWIFT_VERSION = 5.0;
266268
};
267269
name = Debug;
268270
};
269271
447D4B5D1EA571EC002FDFF4 /* Release */ = {
270272
isa = XCBuildConfiguration;
271273
buildSettings = {
272274
ALWAYS_SEARCH_USER_PATHS = NO;
275+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
273276
CLANG_ANALYZER_NONNULL = YES;
274277
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
275278
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
@@ -313,6 +316,7 @@
313316
MTL_ENABLE_DEBUG_INFO = NO;
314317
SDKROOT = macosx;
315318
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
319+
SWIFT_VERSION = 5.0;
316320
};
317321
name = Release;
318322
};
@@ -322,6 +326,7 @@
322326
buildSettings = {
323327
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
324328
CLANG_ENABLE_MODULES = YES;
329+
CODE_SIGN_IDENTITY = "-";
325330
COMBINE_HIDPI_IMAGES = YES;
326331
INFOPLIST_FILE = "PinLayout-macOS/Info.plist";
327332
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
@@ -330,7 +335,7 @@
330335
PRODUCT_NAME = "$(TARGET_NAME)";
331336
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-macOS/PinLayout-macOS-Bridging-Header.h";
332337
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
333-
SWIFT_VERSION = 3.0;
338+
SWIFT_VERSION = 5.0;
334339
};
335340
name = Debug;
336341
};
@@ -340,14 +345,15 @@
340345
buildSettings = {
341346
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
342347
CLANG_ENABLE_MODULES = YES;
348+
CODE_SIGN_IDENTITY = "-";
343349
COMBINE_HIDPI_IMAGES = YES;
344350
INFOPLIST_FILE = "PinLayout-macOS/Info.plist";
345351
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
346352
MACOSX_DEPLOYMENT_TARGET = 10.11;
347353
PRODUCT_BUNDLE_IDENTIFIER = "com.layoutbox.project.PinLayout-macOS";
348354
PRODUCT_NAME = "$(TARGET_NAME)";
349355
SWIFT_OBJC_BRIDGING_HEADER = "PinLayout-macOS/PinLayout-macOS-Bridging-Header.h";
350-
SWIFT_VERSION = 3.0;
356+
SWIFT_VERSION = 5.0;
351357
};
352358
name = Release;
353359
};

TestProjects/cocoapods/macos/PinLayout-macOS.xcodeproj/xcshareddata/xcschemes/PinLayout-macOS.xcscheme

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0940"
3+
LastUpgradeVersion = "1100"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -27,8 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
</Testables>
3230
<MacroExpansion>
3331
<BuildableReference
3432
BuildableIdentifier = "primary"
@@ -38,8 +36,8 @@
3836
ReferencedContainer = "container:PinLayout-macOS.xcodeproj">
3937
</BuildableReference>
4038
</MacroExpansion>
41-
<AdditionalOptions>
42-
</AdditionalOptions>
39+
<Testables>
40+
</Testables>
4341
</TestAction>
4442
<LaunchAction
4543
buildConfiguration = "Debug"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:PinLayout-macOS.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- PinLayout (1.8.5)
2+
- PinLayout (1.8.9)
33

44
DEPENDENCIES:
55
- PinLayout (from `../../..`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: "../../.."
1010

1111
SPEC CHECKSUMS:
12-
PinLayout: a4b78dd50eb2e85c31b4418013461fa667764783
12+
PinLayout: f7237c104696f409470947fee3ac82e239cac367
1313

1414
PODFILE CHECKSUM: e4d7a00501eec9097d00e6c5397befb6e16ccaec
1515

16-
COCOAPODS: 1.5.3
16+
COCOAPODS: 1.7.5

0 commit comments

Comments
 (0)