Skip to content

[docs] Tauri does not support macOS Catalina (10.15) #15431

@freearhey

Description

@freearhey

Here's what you'll get if you try to build the app on macOS 10.15:

npm run tauri dev

> example@0.1.0 tauri
> tauri dev

     Running DevCommand (`cargo  run --no-default-features --color always --`)
        Info Watching ~/example/src-tauri for changes...
    Updating git repository `https://github.com/tauri-apps/tao`
    Updating git repository `https://github.com/tauri-apps/wry`
    Updating crates.io index
     Locking 477 packages to latest compatible versions
      Adding generic-array v0.14.7 (available: v0.14.9)
      Adding toml v0.8.2 (available: v0.8.23)
      Adding toml_datetime v0.6.3 (available: v0.6.11)
      Adding toml_edit v0.20.2 (available: v0.20.7)
     ...
     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s
     Running `target/debug/example`

thread 'main' (383024) panicked at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.4/src/__macro_helpers/define_class.rs:416:21:
failed overriding protocol method -[WKNavigationDelegate webView:navigationAction:didBecomeDownload:]: method not found
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main' (383024) panicked at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:225:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x10777bff8 - std[b33743bf75a7d9fc]::backtrace_rs::backtrace::libunwind::trace
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1:        0x10777bff8 - std[b33743bf75a7d9fc]::backtrace_rs::backtrace::trace_unsynchronized::<std[b33743bf75a7d9fc]::sys::backtrace::_print_fmt::{closure#1}>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2:        0x10777bff8 - std[b33743bf75a7d9fc]::sys::backtrace::_print_fmt
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:74:9
   3:        0x10777bff8 - <<std[b33743bf75a7d9fc]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[2691a9036f58a443]::fmt::Display>::fmt
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:44:26
   4:        0x107791ed7 - <core[2691a9036f58a443]::fmt::rt::Argument>::fmt
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/fmt/rt.rs:152:76
   5:        0x107791ed7 - core[2691a9036f58a443]::fmt::write
   6:        0x107781721 - std[b33743bf75a7d9fc]::io::default_write_fmt::<std[b33743bf75a7d9fc]::sys::stdio::unix::Stderr>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/io/mod.rs:639:11
   7:        0x107781721 - <std[b33743bf75a7d9fc]::sys::stdio::unix::Stderr as std[b33743bf75a7d9fc]::io::Write>::write_fmt
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/io/mod.rs:1994:13
   8:        0x10775d6b5 - <std[b33743bf75a7d9fc]::sys::backtrace::BacktraceLock>::print
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:47:9
   9:        0x10775d6b5 - std[b33743bf75a7d9fc]::panicking::default_hook::{closure#0}
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:292:27
  10:        0x1077749e7 - std[b33743bf75a7d9fc]::panicking::default_hook
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:319:9
  11:        0x107774d66 - std[b33743bf75a7d9fc]::panicking::panic_with_hook
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:825:13
  12:        0x10775d7b8 - std[b33743bf75a7d9fc]::panicking::panic_handler::{closure#0}
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:691:13
  13:        0x10774f049 - std[b33743bf75a7d9fc]::sys::backtrace::__rust_end_short_backtrace::<std[b33743bf75a7d9fc]::panicking::panic_handler::{closure#0}, !>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:182:18
  14:        0x10775df24 - __rustc[b7974e8690430dd9]::rust_begin_unwind
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:689:5
  15:        0x1077c51dc - core[2691a9036f58a443]::panicking::panic_nounwind_fmt::runtime
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:122:22
  16:        0x1077c51dc - core[2691a9036f58a443]::panicking::panic_nounwind_fmt
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/intrinsics/mod.rs:2447:9
  17:        0x1077c5147 - core[2691a9036f58a443]::panicking::panic_nounwind
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:225:5
  18:        0x1077c52e2 - core[2691a9036f58a443]::panicking::panic_cannot_unwind
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/panicking.rs:337:5
  19:        0x1073d0ff9 - tao::platform_impl::platform::app_delegate::did_finish_launching::hed11f2237996d0c5
                               at ~/.cargo/git/checkouts/tao-acc866d3b4940d67/1080241/src/platform_impl/macos/app_delegate.rs:125:1
  20:     0x7fff31eea549 - ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
  21:     0x7fff31eea4dd - ____CFXRegistrationPost1_block_invoke
  22:     0x7fff31eea452 - __CFXRegistrationPost1
  23:     0x7fff31eea0be - ____CFXNotificationPost_block_invoke
  24:     0x7fff31eba26c - -[_CFXNotificationRegistrar find:object:observer:enumerator:]
  25:     0x7fff31eb9635 - __CFXNotificationPost
  26:     0x7fff3455f096 - -[NSNotificationCenter postNotificationName:object:userInfo:]
  27:     0x7fff2f160873 - -[NSApplication _postDidFinishNotification]
  28:     0x7fff2f1605b2 - -[NSApplication _sendFinishLaunchingNotification]
  29:     0x7fff2f15d673 - -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
  30:     0x7fff2f15d2b8 - -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
  31:     0x7fff3458a336 - -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
  32:     0x7fff3458a1a0 - __NSAppleEventManagerGenericHandler
  33:     0x7fff3328c203 - __AppleEventsCheckInAppWithBlock
  34:     0x7fff3328b929 - __AppleEventsCheckInAppWithBlock
  35:     0x7fff33283bd7 - _aeProcessAppleEvent
  36:     0x7fff30b207ea - _AEProcessAppleEvent
  37:     0x7fff2f157661 - __DPSNextEvent
  38:     0x7fff2f155c10 - -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
  39:     0x7fff2f14791e - -[NSApplication run]
  40:        0x10753f0c0 - <() as objc2::encode::EncodeArguments>::__invoke::h44d80abdf26e2b65
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.4/src/encode.rs:433:26
  41:        0x107537d20 - objc2::runtime::message_receiver::msg_send_primitive::send::h23b80b778377779f
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.4/src/runtime/message_receiver.rs:172:18
  42:        0x10752e560 - objc2::runtime::message_receiver::MessageReceiver::send_message::h39e960cc5307210a
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.4/src/runtime/message_receiver.rs:432:38
  43:        0x1070c08a7 - <MethodFamily as objc2::__macro_helpers::msg_send_retained::MsgSend<Receiver,Return>>::send_message::h23cc29cdd54a5383
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.4/src/__macro_helpers/msg_send_retained.rs:35:28
  44:        0x106e0c320 - tao::platform_impl::platform::event_loop::EventLoop<T>::run_return::h3f8a6eea103e822c
                               at ~/.cargo/git/checkouts/tao-acc866d3b4940d67/1080241/src/platform_impl/macos/event_loop.rs:234:16
  45:        0x106e0c90d - tao::platform_impl::platform::event_loop::EventLoop<T>::run::h269b6b234507a7cb
                               at ~/.cargo/git/checkouts/tao-acc866d3b4940d67/1080241/src/platform_impl/macos/event_loop.rs:201:26
  46:        0x1070992b4 - tao::event_loop::EventLoop<T>::run::h0024f88b856f937d
                               at ~/.cargo/git/checkouts/tao-acc866d3b4940d67/1080241/src/event_loop.rs:224:21
  47:        0x10706980f - <tauri_runtime_wry::Wry<T> as tauri_runtime::Runtime<T>>::run::h6b15465cdc92d5b1
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-runtime-wry-2.11.2/src/lib.rs:3246:21
  48:        0x106f0c757 - tauri::app::App<R>::run::hf284326effead5db
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-2.11.2/src/app.rs:1365:8
  49:        0x106f0cec6 - tauri::app::Builder<R>::run::had8d7a5fb470d3cd
                               at ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tauri-2.11.2/src/app.rs:2442:26
  50:        0x106f70902 - example_lib::run::h109b6e3a4ef603ed
                               at ~/example/src-tauri/src/lib.rs:12:10
  51:        0x106e0bc59 - example::main::h6c355c59cd397a0d
                               at ~/example/src-tauri/src/main.rs:5:5
  52:        0x106e0bbfe - core::ops::function::FnOnce::call_once::h21796de221d4b970
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs:250:5
  53:        0x106e0bca1 - std::sys::backtrace::__rust_begin_short_backtrace::hfa71b55c44551d81
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/sys/backtrace.rs:166:18
  54:        0x106e0bbb4 - std::rt::lang_start::{{closure}}::h20a6061cd8d9375a
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs:206:18
  55:        0x1077736bb - <&dyn core[2691a9036f58a443]::ops::function::Fn<(), Output = i32> + core[2691a9036f58a443]::marker::Sync + core[2691a9036f58a443]::panic::unwind_safe::RefUnwindSafe as core[2691a9036f58a443]::ops::function::FnOnce<()>>::call_once
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/ops/function.rs:287:21
  56:        0x1077736bb - std[b33743bf75a7d9fc]::panicking::catch_unwind::do_call::<&dyn core[2691a9036f58a443]::ops::function::Fn<(), Output = i32> + core[2691a9036f58a443]::marker::Sync + core[2691a9036f58a443]::panic::unwind_safe::RefUnwindSafe, i32>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:581:40
  57:        0x1077736bb - std[b33743bf75a7d9fc]::panicking::catch_unwind::<i32, &dyn core[2691a9036f58a443]::ops::function::Fn<(), Output = i32> + core[2691a9036f58a443]::marker::Sync + core[2691a9036f58a443]::panic::unwind_safe::RefUnwindSafe>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:544:19
  58:        0x1077736bb - std[b33743bf75a7d9fc]::panic::catch_unwind::<&dyn core[2691a9036f58a443]::ops::function::Fn<(), Output = i32> + core[2691a9036f58a443]::marker::Sync + core[2691a9036f58a443]::panic::unwind_safe::RefUnwindSafe, i32>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs:359:14
  59:        0x1077736bb - std[b33743bf75a7d9fc]::rt::lang_start_internal::{closure#0}
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs:175:24
  60:        0x1077736bb - std[b33743bf75a7d9fc]::panicking::catch_unwind::do_call::<std[b33743bf75a7d9fc]::rt::lang_start_internal::{closure#0}, isize>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:581:40
  61:        0x1077736bb - std[b33743bf75a7d9fc]::panicking::catch_unwind::<isize, std[b33743bf75a7d9fc]::rt::lang_start_internal::{closure#0}>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panicking.rs:544:19
  62:        0x1077736bb - std[b33743bf75a7d9fc]::panic::catch_unwind::<std[b33743bf75a7d9fc]::rt::lang_start_internal::{closure#0}, isize>
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/panic.rs:359:14
  63:        0x1077736bb - std[b33743bf75a7d9fc]::rt::lang_start_internal
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs:171:5
  64:        0x106e0bb97 - std::rt::lang_start::h3d18b53742b4b60f
                               at /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/std/src/rt.rs:205:5
  65:        0x106e0bc78 - _main
thread caused non-unwinding panic. aborting.

So I think this lines, at the very least, needs to be updated:

https://v2.tauri.app/start/prerequisites/#:~:text=macOS%20Catalina%20(10.15)%20and%20later
https://github.com/tauri-apps/tauri#:~:text=macOS-,10.15%20and%20above,-Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions