Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 0c7cfb0

Browse files
committed
[Bug 19826] Fix iOS simulator deployment with Xcode 8.3.3
1 parent 033b760 commit 0c7cfb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

revmobile/src/reviphone.mm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ static bool fetch_named_simulator_root(const char *p_display_name, DTiPhoneSimul
187187
if ([[t_candidate name] caseInsensitiveCompare: t_sdk_string] == NSOrderedSame ||
188188
[[t_candidate identifier] caseInsensitiveCompare: t_sdk_string] == NSOrderedSame ||
189189
[[t_candidate root] caseInsensitiveCompare: t_sdk_string] == NSOrderedSame ||
190-
[[t_candidate versionString] caseInsensitiveCompare: t_sdk_string] == NSOrderedSame)
190+
[[t_candidate versionString] caseInsensitiveCompare: t_sdk_string] == NSOrderedSame ||
191+
[[t_candidate versionString] hasPrefix: t_sdk_string])
191192
{
192193
t_runtime = t_candidate;
193194
t_root = [s_simulator_proxy getRootWithSimRuntime: t_runtime];

0 commit comments

Comments
 (0)