Skip to content

Commit

Permalink
Merge pull request #299 from mstorsjo/search-path
Browse files Browse the repository at this point in the history
Look for the developer disk image using more patterns as well
  • Loading branch information
shazron authored Aug 9, 2017
2 parents b6ee223 + 62c6f09 commit 4124e66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ios-deploy/ios-deploy.m
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ CFStringRef copy_device_support_path(AMDeviceRef device, CFStringRef suffix) {
if (path == NULL) {
path = copy_xcode_path_for(deviceClassPath[i], CFStringCreateWithFormat(NULL, NULL, CFSTR("%@/%@"), version, suffix));
}

if (path == NULL) {
path = copy_xcode_path_for(deviceClassPath[i], CFStringCreateWithFormat(NULL, NULL, CFSTR("%@.*/%@"), version, suffix));
}
}

CFRelease(version);
Expand Down

0 comments on commit 4124e66

Please sign in to comment.