Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Commit

Permalink
Mystery segfault found, and removed extra / in path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McWilliams authored and Cory McWilliams committed Mar 2, 2012
1 parent 28f0fed commit 7b458fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fruitstrap.c
Original file line number Diff line number Diff line change
@@ -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>
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 7b458fd

Please sign in to comment.