From b48ec1fbaf6b5bfaf2300c3bd334220a9404be11 Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Thu, 4 May 2023 07:05:59 -0600 Subject: [PATCH] Mac: correct command about when the generated .nib file is a directory --- src/cocoa/AppDelegate.m | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/cocoa/AppDelegate.m b/src/cocoa/AppDelegate.m index 90b42ac69..78a4cfc3c 100644 --- a/src/cocoa/AppDelegate.m +++ b/src/cocoa/AppDelegate.m @@ -65,12 +65,14 @@ * ~/Library/Developer/Xcode/DerivedData/-/Build/Products/Debug/.app * You can use those to replace src/cocoa/Base.lproj/MainMenu.nib and * src/cocoa/Base.lproj/SoundAndMusic.nib in the Hengband source files. - * With Xcode 13 (though seemingly not in Xcode 14), the generated .nib - * files are directories. In the build results from that version of Xcode, - * copy Contents/Resources/Base.lproj/MainMenu.nib/keyedobjects.nib to - * replace src/cocoa/Base.lproj/MainMenu.nib in the Hengband source files - * (the keyedobjects-101300.nib file in the build results is for - * macOS 10.13 or later). + * With Xcode 13 and later and if the development target is macOS 10.13 or + * earlier, the generated .nib files are directories. In that case, copy + * Contents/Resources/Base.lproj/MainMenu.nib/keyedobjects.nib to replace + * src/cocoa/Base.lproj/MainMenu.nib and + * Contents/Resources/Base.lproj/SoundAndMusic.nib/keyedobjects.nib to + * replace src/cocoa/Base.lproj/SoundAndMusic.nib (the + * keyedobjects-101300.nib files in the build results are for macOS 10.13 + * or later). * * This work is free software; you can redistribute it and/or modify it * under the terms of either: -- 2.11.0