can't build for mac both using github actions and locally using the documentation #1529

Closed
opened 2026-02-20 23:29:18 -05:00 by deekerman · 1 comment
Owner

Originally created by @AnassKartit on GitHub (Mar 15, 2023).

Bug Description

locally I get:
error: /Library/Developer/CommandLineTools/usr/bin/strip: can't open file: target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk (No such file or directory)
Error occurred when executing: strip target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk. Exiting

Mac M2.

How to Reproduce

followed the documentation:https://rustdesk.com/docs/en/dev/build/osx/

Expected Behavior

rustdesk.app or pkg to be built

Operating system(s) on local side and remote side

osx

RustDesk Version(s) on local side and remote side

latest

Screenshots

warning: src/platform/macos.mm:86:30: warning: 'CGDisplayModeCopyPixelEncoding' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations]
warning: CFStringRef pixelEncoding = CGDisplayModeCopyPixelEncoding(mode);
warning: ^
warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:177:34: note: 'CGDisplayModeCopyPixelEncoding' has been explicitly marked deprecated here
warning: CG_EXTERN CFStringRef __nullable CGDisplayModeCopyPixelEncoding(
warning: ^
warning: 1 warning generated.
Finished release [optimized] target(s) in 1m 59s
error: /Library/Developer/CommandLineTools/usr/bin/strip: can't open file: target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk (No such file or directory)
Error occurred when executing: strip target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk. Exiting.

Additional Context

No response

Originally created by @AnassKartit on GitHub (Mar 15, 2023). ### Bug Description locally I get: error: /Library/Developer/CommandLineTools/usr/bin/strip: can't open file: target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk (No such file or directory) Error occurred when executing: strip target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk. Exiting Mac M2. ### How to Reproduce followed the documentation:https://rustdesk.com/docs/en/dev/build/osx/ ### Expected Behavior rustdesk.app or pkg to be built ### Operating system(s) on local side and remote side osx ### RustDesk Version(s) on local side and remote side latest ### Screenshots warning: src/platform/macos.mm:86:30: warning: 'CGDisplayModeCopyPixelEncoding' is deprecated: first deprecated in macOS 10.11 - No longer supported [-Wdeprecated-declarations] warning: CFStringRef pixelEncoding = CGDisplayModeCopyPixelEncoding(mode); warning: ^ warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:177:34: note: 'CGDisplayModeCopyPixelEncoding' has been explicitly marked deprecated here warning: CG_EXTERN CFStringRef __nullable CGDisplayModeCopyPixelEncoding( warning: ^ warning: 1 warning generated. Finished release [optimized] target(s) in 1m 59s error: /Library/Developer/CommandLineTools/usr/bin/strip: can't open file: target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk (No such file or directory) Error occurred when executing: strip target/release/bundle/osx/RustDesk.app/Contents/MacOS/rustdesk. Exiting. ### Additional Context _No response_
deekerman 2026-02-20 23:29:18 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Mar 15, 2023):

#763

@rustdesk commented on GitHub (Mar 15, 2023): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#1529
No description provided.