Mystery segfault found, and removed extra / in path.

This commit is contained in:
Cory McWilliams 2012-03-02 09:14:39 -05:00
parent 28f0fed5b6
commit 7b458fd02a

View File

@ -1,4 +1,3 @@
//TODO: find mystery segfault in write_gdb_prep_cmds -> CFURLCreateCopyDeletingLastPathComponent(NULL, disk_app_url)
//TODO: don't copy/mount DeveloperDiskImage.dmg if it's already done - Xcode checks this somehow
#import <CoreFoundation/CoreFoundation.h>
@ -93,7 +92,7 @@ CFStringRef copy_device_support_path(AMDeviceRef device) {
}
if (!found)
{
path = CFStringCreateWithFormat(NULL, NULL, CFSTR("/Applications/Xcode.app/Contents//Developer/Platforms/iPhoneOS.platform/DeviceSupport/%@"), version);
path = CFStringCreateWithFormat(NULL, NULL, CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/%@"), version);
found = path_exists(path);
}