Skip to content

Commit

Permalink
Fix 578: Pass in CFNumberRef correctly instead of passing 0 as int (#579
Browse files Browse the repository at this point in the history
)

Awesome! thanks for all the hard work
  • Loading branch information
nisargjhaveri authored Mar 17, 2023
1 parent d623003 commit 1f79f44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ios-deploy/ios-deploy.m
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,10 @@ void setup_lldb(AMDeviceRef device, CFURLRef url) {
NSLogOut(@"[100%%] Listening for lldb connections");
}
else {
create_remote_debug_server_socket(0, device); // start debugserver
int connection_id = 0;
CFNumberRef cf_connection_id = CFAutorelease(CFNumberCreate(NULL, kCFNumberIntType, &connection_id));

create_remote_debug_server_socket(cf_connection_id, device); // start debugserver
write_lldb_prep_cmds(device, url); // dump the necessary lldb commands into a file
NSLogOut(@"[100%%] Connecting to remote debug server");
}
Expand Down

0 comments on commit 1f79f44

Please sign in to comment.