Unable to build rustdesk on MacOS Sonoma #2195

Closed
opened 2026-02-21 00:15:40 -05:00 by deekerman · 1 comment
Owner

Originally created by @Traace on GitHub (Oct 10, 2023).

Bug Description

When building rustdesk for MacOS 14.0 (Sonoma) on Apple Silicion the build failes while compiling apple-sys package.

error: expected item after attributes
 --> /Users/traace/vcpkg/rustdesk/target/debug/build/apple-sys-e12379015496741e/out/CoreFoundation.rs:3:2249
  |
3 | ... } } } use objc :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] 
  |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: expected item after attributes
 --> /Users/traace/vcpkg/rustdesk/target/debug/build/apple-sys-e12379015496741e/out/IOKit.rs:3:2249
  |
3 | ... } } } use objc :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] 
  |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `apple-sys` (lib) due to 2 previous errors

How to Reproduce

  1. Use the guild provided here: https://rustdesk.com/docs/en/dev/build/osx/

Expected Behavior

The build should complete sucessful.

Operating system(s) on local side and remote side

MacOS 14.0

RustDesk Version(s) on local side and remote side

1.2.3

Screenshots

No Screenshot, see error message above.

Additional Context

No response

Originally created by @Traace on GitHub (Oct 10, 2023). ### Bug Description When building rustdesk for MacOS 14.0 (Sonoma) on Apple Silicion the build failes while compiling `apple-sys` package. ``` error: expected item after attributes --> /Users/traace/vcpkg/rustdesk/target/debug/build/apple-sys-e12379015496741e/out/CoreFoundation.rs:3:2249 | 3 | ... } } } use objc :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: expected item after attributes --> /Users/traace/vcpkg/rustdesk/target/debug/build/apple-sys-e12379015496741e/out/IOKit.rs:3:2249 | 3 | ... } } } use objc :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: could not compile `apple-sys` (lib) due to 2 previous errors ``` ### How to Reproduce 1. Use the guild provided here: https://rustdesk.com/docs/en/dev/build/osx/ ### Expected Behavior The build should complete sucessful. ### Operating system(s) on local side and remote side MacOS 14.0 ### RustDesk Version(s) on local side and remote side 1.2.3 ### Screenshots No Screenshot, see error message above. ### Additional Context _No response_
deekerman 2026-02-21 00:15:40 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Oct 10, 2023):

#763

@rustdesk commented on GitHub (Oct 10, 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#2195
No description provided.