Open lanezhao opened 5 years ago
Worried about the same thing as we approach the release of 10.15
Found a blog post mentioning how to recompile on your own machine to make it 64bit..
http://heardofaudio.com/musings/blog/files/7ba3a4c9c2e9bd496ed23817bf3249ea-28.php
The following changes need to be made made for each of the framework dependencies to compile vs 64bit. For each of the following, change the dependencies from "ARCHS = $(ARCHS_STANDARD_32_64_BIT)" to "ARCHS = $(ARCHS_STANDARD_64_BIT)"
Note the linker change and macOS release target change of the ichm which is mentioned is done in the same file.
Important to clone ichm
sources with their submodules:
git clone --recurse-submodules https://github.com/NSGod/ichm
I just recently build this for catalina and it works great. I had to do brew install openssl libxml2 and update the xcode project to link those 2 libs or else it will error out
Just a quick note. Up until now, I haven't had a Mac capable of running anything beyond High Sierra (10.13). I recently acquired a new (used) Mac and have Mojave (10.14), Catalina (10.15), and Big Sur (11.x) installed, so I'll be able to look into these open issues when I get a chance.
There are a lot of valuable and informative chm documents out there so I look forward to seeing this updated for modern machines!
For those who might want to avoid the mess of rebuilding this app from sources, I have rebuilt iChm using the latest XCode 13.1 on macOS Monterey. (Target was set to macOS 10.9). Compiling it was a bit painful, many fixes to list/remember to get XCode 13.1 to build without complaining. Binaries should work with Intel/M1 macs but I didn't test it beyond my own Macbook.
Binaries:
I hope it helps!
Note: Depending on your security settings your Mac might refuse to run it, so you might need to remove the quarantine flags.
Thank you for your effort, bucanero. And sorry my newbie question: I installed ichm in a sandbox but it don't want to open my chm files? macos 10.15.7
Thank you for your effort, bucanero. And sorry my newbie question: I installed ichm in a sandbox but it don't want to open my chm files? macos 10.15.7
I can't really say, I tried it with one big chm
file (over 200 Mb) and it worked just fine. I suggest trying with a few other chm files to see if it's a specific issue with that file, or not. Perhaps it has some format compatibility issue.
Thank you so much @bucanero
For those who might want to avoid the mess of rebuilding this app from sources, I have rebuilt iChm using the latest XCode 13.1 on macOS Monterey. (Target was set to macOS 10.9). Compiling it was a bit painful, many fixes to list/remember to get XCode 13.1 to build without complaining. Binaries should work with Intel/M1 macs but I didn't test it beyond my own Macbook.
Binaries:
- iChm_local.zip built with no signing for local run
- iChm_sign.zip built and signed with personal development signing cert
I hope it helps!
Note: Depending on your security settings your Mac might refuse to run it, so you might need to remove the quarantine flags.
@bucanero Can't open Compiled HTML Archive file....
Today I tried again installing your signed app, @txl263 This time I could successful install it on macOS 11.7.4 after following steps:
Thank you very much for your help and effort!
There actually as a version compatible with recent macOS, which I made since this version is apparently unmaintained: https://github.com/vit9696/iChm/releases
Great software. I have used it for many years. Hopefully it can be upgraded to run in macOS 10.15. Thanks!