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

Commit be0eed1

Browse files
committed
[Bug 18461] Recognise correctly if Xcode 8 is used to launch the sim
1 parent a5ca962 commit be0eed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revmobile/src/reviphoneproxy.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ int main(int argc, char *argv[])
276276
id t_service_context;
277277
t_service_context = NSClassFromString(@"SimServiceContext");
278278
// PM-2016-09-19: [[ Bug 18422] We want to use SimServiceContext class *only* in xcode 8
279-
if (t_service_context != nil && [t_service_context respondsToSelector:@selector(sharedServiceContextForDeveloperDir)])
279+
if (t_service_context != nil && [t_service_context respondsToSelector:@selector(sharedServiceContextForDeveloperDir: error:)])
280280
{
281281
NSString *t_dev_dir;
282282
t_dev_dir = [NSString stringWithFormat: @"%s", argv[1]];

0 commit comments

Comments
 (0)