pookjw / SidecarPatcher

Enables Sidecar on old Mac and iPad for macOS 10.15
GNU General Public License v3.0
664 stars 53 forks source link

Fatal error: Failed to load SidecarCore. #106

Open Benedictar opened 3 years ago

Benedictar commented 3 years ago

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:

  1. 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
  2. Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
  3. 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::Optional) + 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_delete >&&) + 6747 9 swift 0x000000010c00df7a performCompileStepsPostSILGen(swift::CompilerInstance&, swift::CompilerInvocation const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete >, 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?

pookjw commented 3 years ago

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

Benedictar commented 3 years ago

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

bgramming commented 3 years ago

any updates on big sir?

POWKSA commented 3 years ago

I would be also interested in an update!

SG-py commented 3 years ago

Same it would be helpful