Skip to content

debug build of tour does not run on macOS Tahoe #3057

@slowlydev

Description

@slowlydev

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

cargo run --package tour instantly crashes
similar bug to #3055but its a different error.
works if debug-assertions is set to false for objc2 with this snippet:

[profile.dev.package.objc2]
debug-assertions = false

What is the expected behavior?

iced tour runs and starts

Version

master

Operating System

macOS

Do you have any log output?

▲ slowly - iced [master] : cargo run --package tour
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
     Running `target/debug/tour`
2025-09-16T05:55:41.408345Z  INFO iced_winit: System theme: None

thread 'main' (605477) panicked at /Users/slowly/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-foundation-0.2.2/src/generated/NSEnumerator.rs:7:1:
invalid message send to -[_TtGCs23_ContiguousArrayStorageCSo8NSScreen_$ countByEnumeratingWithState:objects:count:]: expected return to have type code 'q', but found 'Q'
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions