OSDN Git Service

Mac: correct command about when the generated .nib file is a directory
authorEric Branlund <ebranlund@fastmail.com>
Thu, 4 May 2023 13:05:59 +0000 (07:05 -0600)
committerEric Branlund <ebranlund@fastmail.com>
Thu, 4 May 2023 13:05:59 +0000 (07:05 -0600)
src/cocoa/AppDelegate.m

index 90b42ac..78a4cfc 100644 (file)
  *    ~/Library/Developer/Xcode/DerivedData/<product_name>-<some_string>/Build/Products/Debug/<product_name>.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: