Author Topic: macOS Monterey  (Read 111 times)

0 Members and 1 Guest are viewing this topic.

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
macOS Monterey
« on: June 23, 2022, 16:01:56 »
Hello,

I have installed Ancestris on my MacBook Pro (running Monterey) and MacBook Air (running Big Sur).

The java installation is up to date.

In both cases, when I launch the App I get a message ..

“You can’t open the application “Ancestris” because this application is not supported on this Mac”

… when I try to run the executable from a terminal with sudo, I get “bad CPU type in executable”

I wonder if anyone has any suggestions?

Thanks in advance.

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 611
    • View Profile
Re: macOS Monterey
« Reply #1 on: June 23, 2022, 17:57:00 »
Which version of Java is installed on your Mac ?

Zurga

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 612
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #2 on: June 23, 2022, 21:28:15 »
Hi,

Thanks for the error message. Apologies for that. I have modified the package a couple of days ago and while it works on my Mac, it does not work on all. There seems to be a ZSH vs BASH difference.
Does Ancestris start if you launch Ancestris.app/Contents/Resources/ancestris/bin/ancestris instead of just clicking on Ancestris.app? It would mean I have to redo the launcher differently...

Best regards,
Frederic

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 612
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #3 on: June 23, 2022, 21:46:44 »
Does any of these solutions work ?

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: macOS Monterey
« Reply #4 on: June 24, 2022, 08:24:44 »
Hi,

When I try running the binary under sudo …

Ancestris.app/Contents/Resources/ancestris/bin/ancestris

… I get a message …

“unable to execute …. bad CPU type in executable”

My Java version is 1.8.0_191

Thanks for responding.

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 612
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #5 on: June 24, 2022, 20:08:21 »
Hi,

I have repackaged both Ancestris v11 and v12.

Can you please re-install and let me know if it fixes the pb?

Cheers,
Frederic

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: macOS Monterey
« Reply #6 on: June 24, 2022, 22:31:00 »
Hi,

Yes, it now launches from both my MacBook Air & Pro. It also runs from the Terminal.

Many thanks, I’m very impressed.

cheers
F1VNC (Keith)

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 612
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #7 on: June 25, 2022, 07:39:53 »
Hi Keith,

Very glad to hear!
If you see anything else, feel free to ask.

Cheers,
Frederic