chuckhoupt / jekyll-apple-help

Easily create Apple Help-Books for your Mac OS X app using this Jekyll template and build system.
MIT License
188 stars 17 forks source link

Jekyll make script trouble? #22

Closed tripledee closed 4 years ago

tripledee commented 4 years ago

Hello. I installed Jekyll-apple-help in a new application, as it is a great tool I used already twice.

When building then running the application, I get a console message:

"Couldn't find a URL for file named index.html in bundle at path /Users/xxx/Library/Developer/Xcode/DerivedData/yyy/Build/Products/Debug/MyApp.app/Contents/Resources/MyAppHelp.help"

And the help window displays: The selected content is currently unavailable

I checked the resulting MyAppHelp.help bundle and discovered that it doesn't contain the English.lprog directory with html files, but instead the _English.lproj with the md files. So it may be a make problem in the script (I used the provided example directory and didn't change any file, to test that my settings are OK)

When building the help bundle, the script doesn't give any error message or warning in XCode's console. I triple-checked every settings, compared with another application where the help system behaves normally, everything seems to be correctly set, so I don't understand this problem. Any idea? Thanks

tripledee commented 4 years ago

Triple-check was not sufficient, a fourth one allow me to discover the problem (bundle name)