my prog is not visible anymore on MAC

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

my prog is not visible anymore on MAC

Post by cutecode »

My MAC program stoped showing up on client desktop.

I did not update it for 6 months or so.

The tray shows that it is opened with black dot under it's icon.
dent.png
dent.png (5.02 KiB) Viewed 5607 times
But program is not showing up anymore.

if I run it from terminal no error is shown

Code: Select all

$ /Applications/MAC\ Дентал-Софт/soft_itU64.app/Contents/MacOS/soft_itU64
I tried to execute older versions of this program, but they are not showing up too.

wx 3.1.4
I don't know what happend

Thank you
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: my prog is not visible anymore on MAC

Post by ONEEYEMAN »

Hi,
Can you try:

Code: Select all

open /Applications/MAC\ Дентал-Софт/soft_itU64.app
Thank you.
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: my prog is not visible anymore on MAC

Post by cutecode »

Hi

I disconnected from client till Monday.
As far as I remember this command gave response, something like

Code: Select all

ERR soft_itU64.app is a directory
On my virtual MAC this program runs as expected

On client side even archives of excutables don't run.

Thank you
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: my prog is not visible anymore on MAC

Post by cutecode »

ONEEYEMAN wrote: Sun Jul 11, 2021 4:07 am Hi,
Can you try:

Code: Select all

open /Applications/MAC\ Дентал-Софт/soft_itU64.app
Thank you.

I'll try to use "open"-prefix next time

Thank you
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: my prog is not visible anymore on MAC

Post by ONEEYEMAN »

Hi,
You should use "open" with the Application Bundle.
This is how OSX runs things.

There hacks to allow running the binary, but they are hacks and one is put in master and will be available with next wx release.
But they may not be working in the future.

Thank you.
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: my prog is not visible anymore on MAC

Post by cutecode »

Hello!

I run today on client side

Code: Select all

open /Applications/MAC\ Дентал-Софт/soft_itU64.app
The same affect.
Icon is shown in tray, but program window is not visible.

Now, I think, I have 2 options

1. reinstall OS
2. try to debug my program on client's PC

Is there a way to delete program's data, like Windows REGEDIT?
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: my prog is not visible anymore on MAC

Post by ONEEYEMAN »

Hi,
Is you program signed (by Apple)?
What OSX version you are running it on?
How did you configured wxWidgets?
Try to debug and see if there will be any clues.
What happen if you try Alt+Tab to it? Does it show in that list? Is menu for it available? Activetable?

Thank you.
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: my prog is not visible anymore on MAC

Post by cutecode »

Is you program signed (by Apple)?
not yet, but I already have "Developer ID Application" certificate


What OSX version you are running it on?
10.14.6

How did you configured wxWidgets?

Code: Select all

../configure --enable-unicode  --with-osx_cocoa --with-macosx-version-min=10.12 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/ CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=c++11" OBJCXXFLAGS="-stdlib=libc++ -std=c++11" LDFLAGS=-stdlib=libc++  --disable-mediactrl
Try to debug and see if there will be any clues.
its not easy, the MAC is not mine


What happen if you try Alt+Tab to it? Does it show in that list? Is menu for it available? Activetable?
yes, available, but it is empty by design

I have a message on Apl's account site

Code: Select all

Software Distribution Reminder
If you're generating your first Developer ID certificate, the software that you sign it with must be notarized by Apple in order to run on macOS 10.14.5 or later. Learn how to submit your software for notarization
https://developer.apple.com/developer-id/
so, I'll try to sign my App, and see what happens

Thank you
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
Post Reply