Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded to Swift 5 #12

Merged
merged 61 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
e0e4130
Fix Swift Lint Errors
ShawnBaek Dec 30, 2018
12e1ac7
Set Travis target to xcode10
ShawnBaek Dec 30, 2018
a723b27
Rollback podspec
ShawnBaek Dec 30, 2018
710d707
Add @discardableResult
ShawnBaek Dec 30, 2018
600fa81
Fix Test Cases
ShawnBaek Dec 30, 2018
d774249
Acted on Reviers comment
ShawnBaek Dec 30, 2018
e527903
Add subscript function for [Any] to fix ParseSwiftTests cases
ShawnBaek Dec 31, 2018
05a86e7
Update Podspec
ShawnBaek Dec 31, 2018
378248c
Revert for @discardableResult
ShawnBaek Jan 1, 2019
7399d37
Acted on @mooshee feedback
ShawnBaek Jan 1, 2019
f866536
remove discardableResult for removeAllObjects
ShawnBaek Jan 1, 2019
15c1d9a
Update Pod Script : pod lib lint --verbose --no-clean
ShawnBaek Jan 2, 2019
e6aeec0
Revert KeychainStore.swift
ShawnBaek Jan 2, 2019
f487baf
Revert travis.yml
ShawnBaek Jan 2, 2019
868ec78
Adds more verbose logs for pod lib lint
flovilmart Jan 5, 2019
f2e18e3
Add Codable Structure to set and get complexObject.
ShawnBaek Jan 6, 2019
dca1bc2
Merge branch 'upstream-master' of github.com:ShawnBaek/Parse-Swift in…
ShawnBaek Jan 6, 2019
fed6eb7
declare ComplexObject Struct in Class
ShawnBaek Jan 6, 2019
e776abb
set IPHONE_DEPLOYMENT_TARGET = 10.0
ShawnBaek Jan 6, 2019
fe0d859
Add test spec in PodSpec
ShawnBaek Jan 6, 2019
47c0932
Revert podspec, print cocoapods version
flovilmart Jan 6, 2019
3b81390
Use cocoapods > 1.6.0 in order to workaround lint issue
flovilmart Jan 6, 2019
3ba6ee4
Revert "set IPHONE_DEPLOYMENT_TARGET = 10.0"
flovilmart Jan 6, 2019
9eb914e
lower pod iOS deployment target
flovilmart Jan 6, 2019
5927703
Revert
ShawnBaek Jan 7, 2019
5899b5a
Merge branch 'upstream-master' of github.com:ShawnBaek/Parse-Swift in…
ShawnBaek Jan 7, 2019
1eee004
revert testSetComplexObject
ShawnBaek Jan 7, 2019
5310345
Add AnyCodable
ShawnBaek Feb 16, 2019
18aae3e
Apply AnyCodable
ShawnBaek Feb 16, 2019
34dca0a
Upgraded and fixed warnings
cbaker6 Jul 9, 2020
908ff2b
attempt to fix cocoapod and get rid of warning from podspec
cbaker6 Jul 9, 2020
ba3717f
switch source of cocoapods when updating
cbaker6 Jul 9, 2020
1070b9a
update travis
cbaker6 Jul 9, 2020
28bc503
revert to xcode11.3 in travis. Newer versions build too slow on Catil…
cbaker6 Jul 9, 2020
98b1c83
see if caching cocoapods speeds build
cbaker6 Jul 9, 2020
fb4ca6e
update cocoapods
cbaker6 Jul 9, 2020
1d80bb0
update cocoapods
cbaker6 Jul 9, 2020
b970043
remove Gemfiles they were installing older versions of cocoapods
cbaker6 Jul 9, 2020
e74ae0f
remove cocoapod install from travis
cbaker6 Jul 9, 2020
f144cb2
still fixing complex test
cbaker6 Jul 10, 2020
8d33245
fix SPM and force unwrapping of some tests
cbaker6 Jul 10, 2020
a53a4bc
see if old spm is what's causing the issue
cbaker6 Jul 10, 2020
3605c6d
bump xcode in travis. SPM 5.1 and 5.2 appear to have differences link…
cbaker6 Jul 10, 2020
d1eacbb
Fix complex testcase
cbaker6 Jul 10, 2020
89e09ec
remove deprecated file
cbaker6 Jul 10, 2020
ec991c2
ignore .swiftpm folder
cbaker6 Jul 10, 2020
c2bd9d6
clean up
cbaker6 Jul 10, 2020
5e8cffe
supress swiftlint complexity warnings for AnyCodable along with some …
cbaker6 Jul 10, 2020
86134be
move AnyCodable files to fit the project file structure
cbaker6 Jul 10, 2020
527d555
removed the rest of force unwraps in tests so they can fail gracefully
cbaker6 Jul 10, 2020
27fc8c7
fix relative path in workspace. Update macOS build to Swift 5
cbaker6 Jul 11, 2020
6186877
fixed playground
cbaker6 Jul 11, 2020
e07221d
moved AnyCodable to seperate folder
cbaker6 Jul 11, 2020
4590783
remove extra initializer in playground
cbaker6 Jul 11, 2020
78b64fd
move AnyCodable tests to the correct folder
cbaker6 Jul 11, 2020
d25873d
get rid of archiver as it's for obj-c NSCoding. Can store JSONEncoded…
cbaker6 Jul 12, 2020
3b745d1
update playground var names
cbaker6 Jul 12, 2020
7ac2c82
Reduce SPM to 5.0
cbaker6 Jul 13, 2020
80fb972
throw ParseError instead of NSError
cbaker6 Jul 13, 2020
c19043f
retrigger travis
cbaker6 Jul 13, 2020
eb62ff2
Update Sources/ParseSwift/AnyCodable/AnyCodable.swift
cbaker6 Jul 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
## Build generated
build/
DerivedData/
.swiftpm

## Various settings
*.pbxuser
Expand Down
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
osx_image: xcode9
language: objective-c
osx_image: xcode11.5
language: swift
stage: Build
env:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:5.0

import PackageDescription

Expand Down
2 changes: 1 addition & 1 deletion Parse.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ PlaygroundPage.current.needsIndefiniteExecution = true

initializeParse()

ParseSwift.initialize(applicationId: "applicationId",
clientKey: "clientKey",
masterKey: "masterKey",
serverURL: URL(string: "http://localhost:1337/1")!)

struct GameScore: ParseSwift.ObjectType {
//: Those are required for Object
var objectId: String?
Expand All @@ -33,18 +28,18 @@ struct GameScore: ParseSwift.ObjectType {

var score = GameScore(score: 10)

guard let score = try? score.save() else { fatalError() }
assert(score.objectId != nil)
assert(score.createdAt != nil)
assert(score.updatedAt != nil)
assert(score.score == 10)
guard let savedScore = try? score.save() else { fatalError() }
assert(savedScore.objectId != nil)
assert(savedScore.createdAt != nil)
assert(savedScore.updatedAt != nil)
assert(savedScore.score == 10)

// Need to make it a var as Value Types
var changedScore = score
var changedScore = savedScore
changedScore.score = 200
guard let savedScore = try? changedScore.save() else { fatalError() }
assert(score.score == 10)
assert(score.objectId == changedScore.objectId)
guard let savedChangedScore = try? changedScore.save() else { fatalError() }
assert(savedChangedScore.score == 200)
assert(savedChangedScore.objectId == changedScore.objectId)

let score2 = GameScore(score: 3)
guard let results = try? GameScore.saveAll(score, score2) else { fatalError() }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//: [Previous](@previous)

import PlaygroundSupport
import Foundation
PlaygroundPage.current.needsIndefiniteExecution = true
Expand Down Expand Up @@ -54,10 +55,8 @@ do {
acl?.publicWrite = true
loggedIn.ACL = acl
try loggedIn.save()
} catch let e {
e
e.localizedDescription
fatalError("\(e.localizedDescription)")
} catch let error {
fatalError("\(error.localizedDescription)")
}

//var acl = ACL()
Expand Down
2 changes: 1 addition & 1 deletion ParseSwift.playground/contents.xcplayground
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='6.0' target-platform='macos' display-mode='raw' executeOnSourceChanges='false' timelineScrubberEnabled='true'>
<playground version='6.0' target-platform='macos' display-mode='raw' timelineScrubberEnabled='true' last-migration='1130'>
<pages>
<page name='1- Your first Object'/>
<page name='2- Finding Objects'/>
Expand Down
4 changes: 3 additions & 1 deletion ParseSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ Pod::Spec.new do |s|
:git => "#{s.homepage}.git",
:tag => "#{s.version}",
}
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.0"
s.swift_versions = ['5.0']
s.source_files = "Sources/ParseSwift/**/*.swift"
s.license = {
:type => "MIT",
Expand All @@ -23,4 +25,4 @@ Pod::Spec.new do |s|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
LICENSE
}
end
end
79 changes: 65 additions & 14 deletions ParseSwift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
4AFDA7351F26DAE1002AE4FC /* Query.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A82B7FE1F256A8F0063D731 /* Query.swift */; };
4AFDA7361F26DAE1002AE4FC /* ObjectType+Query.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A82B8001F256B330063D731 /* ObjectType+Query.swift */; };
4AFDA7391F26DAF8002AE4FC /* Parse.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AB8B4F71F254AE10070F682 /* Parse.h */; settings = {ATTRIBUTES = (Public, ); }; };
709075C724B9117500B95310 /* AnyCodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C424B9117400B95310 /* AnyCodable.swift */; };
709075C824B9117500B95310 /* AnyCodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C424B9117400B95310 /* AnyCodable.swift */; };
709075C924B9117500B95310 /* AnyDecodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C524B9117500B95310 /* AnyDecodable.swift */; };
709075CA24B9117500B95310 /* AnyDecodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C524B9117500B95310 /* AnyDecodable.swift */; };
709075CB24B9117500B95310 /* AnyEncodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C624B9117500B95310 /* AnyEncodable.swift */; };
709075CC24B9117500B95310 /* AnyEncodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709075C624B9117500B95310 /* AnyEncodable.swift */; };
7FFF552E2217E72A007C3B4E /* AnyEncodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FFF552B2217E729007C3B4E /* AnyEncodableTests.swift */; };
7FFF552F2217E72A007C3B4E /* AnyCodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FFF552C2217E729007C3B4E /* AnyCodableTests.swift */; };
7FFF55302217E72A007C3B4E /* AnyDecodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FFF552D2217E729007C3B4E /* AnyDecodableTests.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -134,6 +143,12 @@
4AF85BDC1F783B9800665264 /* API+Commands.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "API+Commands.swift"; sourceTree = "<group>"; };
4AFDA7121F26D9A5002AE4FC /* ParseSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ParseSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4AFDA7151F26D9A5002AE4FC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
709075C424B9117400B95310 /* AnyCodable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyCodable.swift; sourceTree = "<group>"; };
709075C524B9117500B95310 /* AnyDecodable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyDecodable.swift; sourceTree = "<group>"; };
709075C624B9117500B95310 /* AnyEncodable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyEncodable.swift; sourceTree = "<group>"; };
7FFF552B2217E729007C3B4E /* AnyEncodableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyEncodableTests.swift; sourceTree = "<group>"; };
7FFF552C2217E729007C3B4E /* AnyCodableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyCodableTests.swift; sourceTree = "<group>"; };
7FFF552D2217E729007C3B4E /* AnyDecodableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyDecodableTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -253,6 +268,7 @@
4AA8076C1F794C1C008CD551 /* ParseSwiftTests */ = {
isa = PBXGroup;
children = (
7FFF552A2217E729007C3B4E /* AnyCodableTests */,
4AA8076D1F794C1C008CD551 /* Info.plist */,
4AA8076E1F794C1C008CD551 /* KeychainStoreTests.swift */,
4AA8076F1F794C1C008CD551 /* ParseSwiftTests.swift */,
Expand Down Expand Up @@ -291,6 +307,7 @@
4A2F14901F4A41B900A7A7EF /* Asynchronous.swift */,
4AC397761F4895A200DEA9D3 /* Objects Protocols */,
4A82B7FD1F25691B0063D731 /* Types */,
709075CD24B9829600B95310 /* AnyCodable */,
4A2F149C1F4A604900A7A7EF /* Encoder */,
4A99A46A1F2650E200D72A59 /* Mutations */,
4AC397771F4895C000DEA9D3 /* API */,
Expand Down Expand Up @@ -332,6 +349,26 @@
path = "ParseSwift-macOS";
sourceTree = "<group>";
};
709075CD24B9829600B95310 /* AnyCodable */ = {
isa = PBXGroup;
children = (
709075C424B9117400B95310 /* AnyCodable.swift */,
709075C524B9117500B95310 /* AnyDecodable.swift */,
709075C624B9117500B95310 /* AnyEncodable.swift */,
);
path = AnyCodable;
sourceTree = "<group>";
};
7FFF552A2217E729007C3B4E /* AnyCodableTests */ = {
isa = PBXGroup;
children = (
7FFF552B2217E729007C3B4E /* AnyEncodableTests.swift */,
7FFF552C2217E729007C3B4E /* AnyCodableTests.swift */,
7FFF552D2217E729007C3B4E /* AnyDecodableTests.swift */,
);
path = AnyCodableTests;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -435,25 +472,26 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0900;
LastUpgradeCheck = 0900;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = Parse;
TargetAttributes = {
4AA807571F794242008CD551 = {
CreatedOnToolsVersion = 9.0;
LastSwiftMigration = 1130;
ProvisioningStyle = Automatic;
};
4AB8B4F31F254AE10070F682 = {
CreatedOnToolsVersion = 9.0;
LastSwiftMigration = 0900;
LastSwiftMigration = 1130;
};
4AB8B4FC1F254AE10070F682 = {
CreatedOnToolsVersion = 9.0;
LastSwiftMigration = 0900;
LastSwiftMigration = 1130;
TestTargetID = 4AA807571F794242008CD551;
};
4AFDA7111F26D9A5002AE4FC = {
CreatedOnToolsVersion = 9.0;
LastSwiftMigration = 0900;
LastSwiftMigration = 1130;
};
};
};
Expand Down Expand Up @@ -557,6 +595,7 @@
buildActionMask = 2147483647;
files = (
4A2F14961F4A5F2900A7A7EF /* Responses.swift in Sources */,
709075C724B9117500B95310 /* AnyCodable.swift in Sources */,
4AC397741F488FF900DEA9D3 /* API.swift in Sources */,
4A82B7F71F254CCE0063D731 /* ObjectType.swift in Sources */,
4A82B7F51F254CCE0063D731 /* GeoPoint.swift in Sources */,
Expand All @@ -571,6 +610,7 @@
4A82B7FF1F256A8F0063D731 /* Query.swift in Sources */,
4AF85BD81F78144900665264 /* URLSession+sync.swift in Sources */,
4A2F14981F4A5F6900A7A7EF /* ObjectType+Batch.swift in Sources */,
709075CB24B9117500B95310 /* AnyEncodable.swift in Sources */,
4A82B7F41F254CCE0063D731 /* File.swift in Sources */,
4AF85BD31F78011100665264 /* ParseError.swift in Sources */,
4AF85BDA1F781ED000665264 /* Asynchronous.swift in Sources */,
Expand All @@ -580,6 +620,7 @@
4AEBA54D1F26523800628B17 /* DeleteOperation.swift in Sources */,
4AF85BDD1F783B9800665264 /* API+Commands.swift in Sources */,
4A82B7F81F254CCE0063D731 /* Pointer.swift in Sources */,
709075C924B9117500B95310 /* AnyDecodable.swift in Sources */,
4AEBA5491F26519B00628B17 /* AddOperation.swift in Sources */,
4A99A46C1F2650FF00D72A59 /* AddUniqueOperation.swift in Sources */,
4AEBA54B1F2651D900628B17 /* RemoveOperation.swift in Sources */,
Expand All @@ -590,6 +631,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7FFF552E2217E72A007C3B4E /* AnyEncodableTests.swift in Sources */,
7FFF55302217E72A007C3B4E /* AnyDecodableTests.swift in Sources */,
7FFF552F2217E72A007C3B4E /* AnyCodableTests.swift in Sources */,
4AA807701F794C31008CD551 /* KeychainStoreTests.swift in Sources */,
4AA807711F794C33008CD551 /* ParseSwiftTests.swift in Sources */,
);
Expand All @@ -600,6 +644,7 @@
buildActionMask = 2147483647;
files = (
4AFDA72B1F26DAE1002AE4FC /* ObjectType.swift in Sources */,
709075C824B9117500B95310 /* AnyCodable.swift in Sources */,
4AFDA7301F26DAE1002AE4FC /* DeleteOperation.swift in Sources */,
4AFDA7361F26DAE1002AE4FC /* ObjectType+Query.swift in Sources */,
4AFDA7341F26DAE1002AE4FC /* Pointer.swift in Sources */,
Expand All @@ -614,6 +659,7 @@
4AFDA7311F26DAE1002AE4FC /* AddUniqueOperation.swift in Sources */,
4AF85BD91F78145C00665264 /* URLSession+sync.swift in Sources */,
4A2F149B1F4A5FBA00A7A7EF /* ObjectType+Batch.swift in Sources */,
709075CC24B9117500B95310 /* AnyEncodable.swift in Sources */,
4A6511521F48E406005237DF /* GeoPoint.swift in Sources */,
4AF85BD61F7803C100665264 /* ParseError.swift in Sources */,
4AF85BDB1F781ED100665264 /* Asynchronous.swift in Sources */,
Expand All @@ -623,6 +669,7 @@
4AFDA7321F26DAE1002AE4FC /* IncrementOperation.swift in Sources */,
4AF85BDE1F783BB400665264 /* API+Commands.swift in Sources */,
4AFDA72D1F26DAE1002AE4FC /* ParseMutationContainer.swift in Sources */,
709075CA24B9117500B95310 /* AnyDecodable.swift in Sources */,
4AFDA72C1F26DAE1002AE4FC /* UserType.swift in Sources */,
4A6511511F48E406005237DF /* ACL.swift in Sources */,
4AFDA72F1F26DAE1002AE4FC /* RemoveOperation.swift in Sources */,
Expand Down Expand Up @@ -673,7 +720,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.parse.TestHost;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -687,7 +734,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.parse.TestHost;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -706,13 +753,15 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
Expand Down Expand Up @@ -747,7 +796,7 @@
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand All @@ -767,13 +816,15 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
Expand All @@ -800,7 +851,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
Expand All @@ -823,7 +874,7 @@
PRODUCT_NAME = ParseSwift;
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -844,7 +895,7 @@
PRODUCT_NAME = ParseSwift;
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -857,7 +908,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwiftTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestHost.app/TestHost";
};
Expand All @@ -871,7 +922,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwiftTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestHost.app/TestHost";
};
Expand All @@ -896,7 +947,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand All @@ -919,7 +970,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
};
name = Release;
};
Expand Down
Loading