Skip to content

Commit 7b52e79

Browse files
authored
fix: Build for visionOS (#160)
* fix: Build for visionOS when adding in Xcode workspace * Update changelog * fix build constant
1 parent 8d3bb4b commit 7b52e79

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

CHANGELOG.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
# Parse-Swift Changelog
33

44
### main
5-
[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.9.0...main), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/main/documentation/parseswift)
5+
[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.9.1...main), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/main/documentation/parseswift)
66
* _Contributing to this repo? Add info about your change here to be included in the next release_
77

8+
9+
### 5.9.1
10+
[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.9.0...5.9.1), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/5.9.1/documentation/parseswift)
11+
12+
__Fixes__
13+
* Build for visionOS properly ([#160](https://github.com/netreconlab/Parse-Swift/pull/160)), thanks to [Corey Baker](https://github.com/cbaker6).
14+
* Cocoapods now defaults to Swift 5.10 ([#159](https://github.com/netreconlab/Parse-Swift/pull/159)), thanks to [Corey Baker](https://github.com/cbaker6).
15+
816
### 5.9.0
917
[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.8.2...5.9.0), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/5.9.0/documentation/parseswift)
1018

@@ -14,8 +22,8 @@ __New features__
1422
* Add fetchAll method to array of Parse Pointer Object's ([#141](https://github.com/netreconlab/Parse-Swift/pull/141)), thanks to [Corey Baker](https://github.com/cbaker6).
1523

1624
__Fixes__
17-
* Improve mutiple types conformance to Equatable and Hashable ([#148](https://github.com/netreconlab/Parse-Swift/pull/147)), thanks to [Corey Baker](https://github.com/cbaker6).
18-
* Updates to ParseUser password now persist the updated sessionToken from the server to the client Keychain ([#147](https://github.com/netreconlab/Parse-Swift/pull/148)), thanks to [Corey Baker](https://github.com/cbaker6).
25+
* Improve mutiple types conformance to Equatable and Hashable ([#148](https://github.com/netreconlab/Parse-Swift/pull/148)), thanks to [Corey Baker](https://github.com/cbaker6).
26+
* Updates to ParseUser password now persist the updated sessionToken from the server to the client Keychain ([#147](https://github.com/netreconlab/Parse-Swift/pull/147)), thanks to [Corey Baker](https://github.com/cbaker6).
1927

2028
### 5.8.2
2129
[Full Changelog](https://github.com/netreconlab/Parse-Swift/compare/5.8.1...5.8.2), [Documentation](https://swiftpackageindex.com/netreconlab/Parse-Swift/5.8.2/documentation/parseswift)

ParseSwift.xcodeproj/project.pbxproj

+6-4
Original file line numberDiff line numberDiff line change
@@ -1923,6 +1923,7 @@
19231923
VERSIONING_SYSTEM = "apple-generic";
19241924
VERSION_INFO_PREFIX = "";
19251925
WATCHOS_DEPLOYMENT_TARGET = 6.0;
1926+
XROS_DEPLOYMENT_TARGET = 1.0;
19261927
};
19271928
name = Debug;
19281929
};
@@ -1987,6 +1988,7 @@
19871988
VERSIONING_SYSTEM = "apple-generic";
19881989
VERSION_INFO_PREFIX = "";
19891990
WATCHOS_DEPLOYMENT_TARGET = 6.0;
1991+
XROS_DEPLOYMENT_TARGET = 1.0;
19901992
};
19911993
name = Release;
19921994
};
@@ -2014,7 +2016,7 @@
20142016
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
20152017
PRODUCT_NAME = ParseSwift;
20162018
SKIP_INSTALL = YES;
2017-
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
2019+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
20182020
SUPPORTS_MACCATALYST = YES;
20192021
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
20202022
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
@@ -2049,7 +2051,7 @@
20492051
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
20502052
PRODUCT_NAME = ParseSwift;
20512053
SKIP_INSTALL = YES;
2052-
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
2054+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
20532055
SUPPORTS_MACCATALYST = YES;
20542056
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
20552057
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
@@ -2080,7 +2082,7 @@
20802082
PRODUCT_NAME = "$(TARGET_NAME)";
20812083
PROVISIONING_PROFILE_SPECIFIER = "";
20822084
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
2083-
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
2085+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xrsimulator xros";
20842086
SUPPORTS_MACCATALYST = YES;
20852087
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
20862088
SWIFT_VERSION = 5.0;
@@ -2109,7 +2111,7 @@
21092111
PRODUCT_NAME = "$(TARGET_NAME)";
21102112
PROVISIONING_PROFILE_SPECIFIER = "";
21112113
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
2112-
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
2114+
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xrsimulator xros";
21132115
SUPPORTS_MACCATALYST = YES;
21142116
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
21152117
SWIFT_VERSION = 5.0;

Sources/ParseSwift/ParseConstants.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Foundation
1010

1111
enum ParseConstants {
1212
static let sdk = "swift"
13-
static let version = "5.9.0"
13+
static let version = "5.9.1"
1414
static let fileManagementDirectory = "parse/"
1515
static let fileManagementPrivateDocumentsDirectory = "Private Documents/"
1616
static let fileManagementLibraryDirectory = "Library/"
@@ -26,6 +26,8 @@ enum ParseConstants {
2626
static let deviceType = "tvos"
2727
#elseif os(watchOS)
2828
static let deviceType = "applewatch"
29+
#elseif os(visionOS)
30+
static let deviceType = "visionos"
2931
#elseif os(Linux)
3032
static let deviceType = "linux"
3133
#elseif os(Android)

0 commit comments

Comments
 (0)