NSGod / ichm

iChm is a CHM reader for Mac OS X
http://www.robinlu.com/blog/ichm
108 stars 26 forks source link

No longer working at macOS 10.15 #5

Open lanezhao opened 5 years ago

lanezhao commented 5 years ago

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

KashifZA commented 5 years ago

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

KashifZA commented 5 years ago

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 commented 5 years ago

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.

vszakats commented 5 years ago

Important to clone ichm sources with their submodules:

git clone --recurse-submodules https://github.com/NSGod/ichm
TaiPhamD commented 4 years ago

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

NSGod commented 3 years ago

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.

windowswithoutborders commented 3 years ago

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

bucanero commented 2 years ago

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.

delook commented 2 years ago

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

bucanero commented 2 years ago

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.

lanezhao commented 2 years ago

Thank you so much @bucanero

txl263 commented 2 years ago

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....

delook commented 1 year ago

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!

vit9696 commented 1 year ago

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