ichm icon indicating copy to clipboard operation
ichm copied to clipboard

No longer working at macOS 10.15

Open lanezhao opened this issue 5 years ago • 14 comments

Great software. I have used it for many years. Hopefully it can be upgraded to run in macOS 10.15. Thanks!

lanezhao avatar Jul 25 '19 20:07 lanezhao

Worried about the same thing as we approach the release of 10.15

KashifZA avatar Aug 07 '19 08:08 KashifZA

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

KashifZA avatar Oct 02 '19 18:10 KashifZA

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)"

  1. PSMTabBarControl - xcconfigs/Base.xcconfig
  2. chm_lib - chm_lib.xcodeproj/project.pbxproj
  3. ichm - ichm.xcodeproj/project.pbxproj

Note the linker change and macOS release target change of the ichm which is mentioned is done in the same file.

KashifZA avatar Oct 02 '19 19:10 KashifZA

Important to clone ichm sources with their submodules:

git clone --recurse-submodules https://github.com/NSGod/ichm

vszakats avatar Oct 02 '19 19:10 vszakats

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

TaiPhamD avatar Apr 22 '20 04:04 TaiPhamD

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.

NSGod avatar Nov 26 '20 16:11 NSGod

There are a lot of valuable and informative chm documents out there so I look forward to seeing this updated for modern machines!

windowswithoutborders avatar Jan 27 '21 23:01 windowswithoutborders

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.

bucanero avatar Nov 30 '21 02:11 bucanero

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

delook avatar Dec 03 '21 06:12 delook

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.

bucanero avatar Dec 03 '21 21:12 bucanero

Thank you so much @bucanero

lanezhao avatar Jan 05 '22 07:01 lanezhao

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.

@bucanero Can't open Compiled HTML Archive file....

txl263 avatar Feb 07 '22 13:02 txl263

Today I tried again installing your signed app, @txl263 This time I could successful install it on macOS 11.7.4 after following steps:

  • sudo spctl --master-disable
  • install it
  • restart PC
  • open all my chm with iChm

Thank you very much for your help and effort!

delook avatar Mar 10 '23 07:03 delook

There actually as a version compatible with recent macOS, which I made since this version is apparently unmaintained: https://github.com/vit9696/iChm/releases

vit9696 avatar Mar 19 '23 19:03 vit9696