Skip to content

Commit

Permalink
Update idev_img_mount.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 12, 2024
1 parent bcbcb14 commit d3e11d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ipsw/cmd/idev/idev_img_mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ var idevImgMountCmd = &cobra.Command{
return fmt.Errorf("failed to find iOS_DDI.dmg in '%s' (install NEW XCode.app or Xcode-beta.app)", ddiPath)
}
} else {
// NOTE: XCode 16+ now installs the DDI from Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg
ddiPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"
if _, err := os.Stat(ddiPath); errors.Is(err, os.ErrNotExist) {
return fmt.Errorf("failed to find iOS_DDI.dmg in '%s' (run `%s -runFirstLaunch` and try again)", ddiPath, filepath.Join(xcode, "Contents/Developer/usr/bin/xcodebuild"))
Expand Down

0 comments on commit d3e11d9

Please sign in to comment.