Skip to content

Commit aab67dc

Browse files
committed
fix tests
1 parent 4497665 commit aab67dc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/release-automated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [ master, release, alpha, beta ]
55
env:
6-
CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer
6+
CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer
77

88
jobs:
99
release:

.github/workflows/release-manual-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
default: ''
77
description: 'Version tag:'
88
env:
9-
CI_XCODE_16: /Applications/Xcode_16.2.0.app/Contents/Developer
9+
CI_XCODE_16: /Applications/Xcode_16.1.0.app/Contents/Developer
1010

1111
jobs:
1212
publish-docs:

Parse/Parse/Source/ParseClientConfiguration.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ - (void)setClientKey:(NSString *)clientKey {
7070

7171
- (void)setServer:(NSString *)server {
7272
PFParameterAssert(server.length, @"Server should not be `nil`.");
73-
PFParameterAssert([NSURL URLWithString:server], @"Server should be a valid URL.");
73+
NSURL *url = [NSURL URLWithString:server];
74+
PFParameterAssert(url && url.scheme && url.host, @"Server should be a valid URL.");
7475
_server = [server copy];
7576
}
7677

0 commit comments

Comments
 (0)