From 9233ad0127054c30ae45ca784d34ff90f83309a0 Mon Sep 17 00:00:00 2001 From: marc hoffman Date: Thu, 19 Nov 2020 12:14:15 -0400 Subject: [PATCH] Always emit "Symbol Path: ", even when running `--nolldb` (#488) Always emit "Symbol Path: ", even when running `--nolldb` --- src/ios-deploy/ios-deploy.m | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/ios-deploy/ios-deploy.m b/src/ios-deploy/ios-deploy.m index fbfb4d72..32daea19 100644 --- a/src/ios-deploy/ios-deploy.m +++ b/src/ios-deploy/ios-deploy.m @@ -658,7 +658,16 @@ void mount_developer_image(AMDeviceRef device) { on_error(@"Unable to mount developer disk image. (%x)", result); } - + + CFStringRef symbols_path = copy_device_support_path(device, CFSTR("Symbols")); + if (symbols_path != NULL) + { + NSLogOut(@"Symbol Path: %@", symbols_path); + NSLogJSON(@{@"Event": @"MountDeveloperImage", + @"SymbolsPath": (__bridge NSString *)symbols_path + }); CFRelease(symbols_path); + } + CFRelease(image_path); CFRelease(options); }