M1 Macbook Air not Opening #67

Open
opened 2025-04-17 09:39:01 +08:00 by MattN223 · 12 comments
MattN223 commented 2025-04-17 09:39:01 +08:00 (Migrated from github.com)

I recently tried creating a custom RustDesk Client for my Mac, and for some reason, the application won't open. I tried signing the app, but it still won't open. I will click the application, but nothing happens. Does anyone have any idea why I am experiencing this issue? It works perfectly fine on Windows, just not MacOS.

I recently tried creating a custom RustDesk Client for my Mac, and for some reason, the application won't open. I tried signing the app, but it still won't open. I will click the application, but nothing happens. Does anyone have any idea why I am experiencing this issue? It works perfectly fine on Windows, just not MacOS.
bryangerlach commented 2025-04-17 20:12:26 +08:00 (Migrated from github.com)

I'm not sure about MacOS. My generator signs all the Windows clients, but I do not have a developer license for Apple. It probably won't work to sign the dmg file since the files inside would also need to be signed. There must be some settings to allow unsigned programs to run, but I don't own a MacOS computer to test it with. You can try a separate fork of my generator that will generate signed MacOS clients:

https://creator.nas86.eu/

The creator of that fork uses his Apple developer license to sign the files in the MacOS client. See if that will work for you.

I'm not sure about MacOS. My generator signs all the Windows clients, but I do not have a developer license for Apple. It probably won't work to sign the dmg file since the files inside would also need to be signed. There must be some settings to allow unsigned programs to run, but I don't own a MacOS computer to test it with. You can try a separate fork of my generator that will generate signed MacOS clients: https://creator.nas86.eu/ The creator of that fork uses his Apple developer license to sign the files in the MacOS client. See if that will work for you.
MattN223 commented 2025-04-18 03:03:55 +08:00 (Migrated from github.com)

@bryangerlach I just tried using that generator but it keeps saying the generator failed. What should I do?

@bryangerlach I just tried using that generator but it keeps saying the generator failed. What should I do?
bryangerlach commented 2025-04-18 03:22:28 +08:00 (Migrated from github.com)

I guess you can look into running unsigned code. There must be a way to allow unsigned code to run on MacOS. I have no idea.

I guess you can look into running unsigned code. There must be a way to allow unsigned code to run on MacOS. I have no idea.
VenimK commented 2025-04-19 12:03:31 +08:00 (Migrated from github.com)

Open a Mac app from an unknown developer
On your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.) ...
Go to Security, then click Open.
Click Open Anyway. ...
Enter your login password, then click OK

Open a Mac app from an unknown developer On your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.) ... Go to Security, then click Open. Click Open Anyway. ... Enter your login password, then click OK
Draakoor commented 2025-04-23 14:51:08 +08:00 (Migrated from github.com)

Hello again I sent the mac version to a friend of mine for testing (because I dont own a mac). He said th file is damaged.
I only see two errors in the last successfull build, could that be the problem?
He knows how run unsigned code/applications, but he says its damaged
https://github.com/Draakoor/rdgen/actions/runs/14539959734
Image

Hello again I sent the mac version to a friend of mine for testing (because I dont own a mac). He said th file is damaged. I only see two errors in the last successfull build, could that be the problem? He knows how run unsigned code/applications, but he says its damaged https://github.com/Draakoor/rdgen/actions/runs/14539959734 ![Image](https://github.com/user-attachments/assets/e5e2ae08-2e22-42af-a0e2-e5b7ee3f112a)
VenimK commented 2025-04-23 15:23:23 +08:00 (Migrated from github.com)
There app is not signed https://github.com/VenimK/creator/actions/runs/14547040510/job/40813793852
MattN223 commented 2025-05-01 09:42:34 +08:00 (Migrated from github.com)

Is there any update on this to work with a Mac?

Is there any update on this to work with a Mac?
Draakoor commented 2025-05-14 19:15:21 +08:00 (Migrated from github.com)

Image
I get this error when trying it to run on a macbook m1 max pro,
The system tells me the file is damaged, client is fresh compiled.

![Image](https://github.com/user-attachments/assets/c07dfb5a-0a73-40e4-a9ea-bbb86cc4e572) I get this error when trying it to run on a macbook m1 max pro, The system tells me the file is damaged, client is fresh compiled.
VenimK commented 2025-05-19 12:33:33 +08:00 (Migrated from github.com)
Image

You have the wrong build .....
Or you need to apply in the settings, DO open Anyway

<img width="781" alt="Image" src="https://github.com/user-attachments/assets/b4838a3a-ea9c-4a21-8f29-5de7747cc941" /> You have the wrong build ..... Or you need to apply in the settings, DO open Anyway
LP0815 commented 2025-06-19 20:56:17 +08:00 (Migrated from github.com)

Same here: I am getting the error that the image is damaged when trying to start it under MacOS. I tried nightly build and 140.
I have also activated that apps are allowed from App Store and known developers, like in the screenshot of @VenimK
So I guess the app is really damaged and not a problem of permissions oder signing.

Same here: I am getting the error that the image is damaged when trying to start it under MacOS. I tried nightly build and 140. I have also activated that apps are allowed from App Store and known developers, like in the screenshot of @VenimK So I guess the app is really damaged and not a problem of permissions oder signing.
Efkovole commented 2025-11-03 07:20:20 +08:00 (Migrated from github.com)

Same problem apliacation damaged

Same problem apliacation damaged
VenimK commented 2025-11-03 11:49:32 +08:00 (Migrated from github.com)

Same problem apliacation damaged

can you try this in terminal

xattr -cr "yourrustdesk.app"

edit

if this was your build
https://github.com/bryangerlach/rdgen/actions/runs/19017906263
that app won 't work under M1 or so

> Same problem apliacation damaged can you try this in terminal xattr -cr "yourrustdesk.app" edit if this was your build https://github.com/bryangerlach/rdgen/actions/runs/19017906263 that app won 't work under M1 or so
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/rdgen#67