I worked on my Application. I did NOTHING to change the Help Book except change one small bit of text. I did everything listed in this thread:
I deleted the existing version in the Applications folder.
I cleared the Help data bases with hiutil -P ~/Library/Caches/com.apple.help.d.
I have done this many times before but now with MacOS Sonoma 14.0 I get errors:
Received termination response from helpd
HPDHelpDataIsTerminating: Shutdown request successfully sent to helpd
Unable to clear caches at path: /Users/myname/Library/Containers/com.apple.helpviewer
Error: Error Domain=NSCocoaErrorDomain Code=513 "“Help Viewer” couldn’t be removed because you don’t have permission to access it." UserInfo={NSUserStringVariant=(Remove), NSFilePath=/Users/myName/Library/Containers/com.apple.helpviewer, NSUnderlyingError=0x600000d90d80 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Caches not cleared: There was a problem clearing Help Viewer and helpd cache files, see logs for details
There is nothing relevant in the logs. The Help Book is properly registered in the .plist as it has been for years. When my Application calls showHelp the help window appears with no content but if I search for terms in the Help Book they appear in the Show all Help Topics with the name of the section they are in but clicking on them leads to a page with the warning "The Selected Content is not Available". Is this some new bug for help editing?
Also trying to force the Application to load the Help Book with stuff like [[NSHelpManager sharedHelpManager] registerBooksInBundle: [NSBundle mainBundle]]; does nothing.
XCode isn't logging Entering AHSRegistered Help Book as it should either.