pookjw / SidecarPatcher

Enables Sidecar on old Mac and iPad for macOS 10.15

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error: Failed to load SidecarCore.

Benedictar opened this issue · comments

I get the following message when pressing enter after typing "sudo swift SidecarPatcher/main.swift"

Fatal error: Failed to load SidecarCore.: file main/main.swift, line 225
Stack dump:
0. Program arguments: /Library/Developer/CommandLineTools/usr/bin/swift -frontend -interpret SidecarPatcher/main.swift -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -color-diagnostics -target-sdk-version 11.1 -module-name main

  1. Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
  2. While running user code "SidecarPatcher/main.swift"
    0 swift 0x000000011049a615 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
    1 swift 0x0000000110499615 llvm::sys::RunSignalHandlers() + 85
    2 swift 0x000000011049abcf SignalHandler(int) + 111
    3 libsystem_platform.dylib 0x00007fff2036cd7d _sigtramp + 29
    4 libsystem_c.dylib 0x00007fff88987820 __global_locale + 0
    5 libsystem_c.dylib 0x000000011572ca7c __global_locale + 18446603342879281756
    6 libsystem_c.dylib 0x00000001157279e5 __global_locale + 18446603342879261125
    7 swift 0x000000010c055a6f llvm::orc::runAsMain(int ()(int, char**), llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, llvm::Optionalllvm::StringRef) + 2495
    8 swift 0x000000010c032e5b swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&, swift::IRGenOptions const&, swift::SILOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >&&) + 6747
    9 swift 0x000000010c00df7a performCompileStepsPostSILGen(swift::CompilerInstance&, swift::CompilerInvocation const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, llvm::PointerUnion<swift::ModuleDecl
    , swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 2426
    10 swift 0x000000010bffdf4e swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 21134
    11 swift 0x000000010bf7ec27 main + 1255
    12 libdyld.dylib 0x00007fff20343621 start + 1
    13 libdyld.dylib 0x000000000000000c start + 18446603339975870956
    zsh: illegal hardware instruction sudo swift SidecarPatcher/main.swift

What should I do?

This script doesn't support macOS Big Sur (11.0+).

Thanks, but is there another script allowing MacOS Big Sur or is this script being updated?

any updates on big sir?

I would be also interested in an update!

Same it would be helpful