pookjw / SidecarPatcher

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

illegal hardware instruction in Macbook Air 7.2 Intel Core i5 #143

Open franklinhoracio opened 10 months ago

franklinhoracio commented 10 months ago

fhrol@Exia-2 SidecarPatcher % sudo swift main.swift Password: SidecarPatcher (Version 14) GitHub : https://github.com/pookjw/SidecarPatcher mount_apfs: volume could not be mounted: Permission denied mount: / failed with 66 main/main.swift:225: Fatal error: Failed to load SidecarCore. Stack dump:

  1. Program arguments: /Library/Developer/CommandLineTools/usr/bin/swift-frontend -frontend -interpret main.swift -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -color-diagnostics -target-sdk-version 13.1 -module-name main
  2. Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
  3. Compiling with the current language version
  4. While running user code "main.swift" Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): 0 swift-frontend 0x0000000108d48fe7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 1 swift-frontend 0x0000000108d48018 llvm::sys::RunSignalHandlers() + 248 2 swift-frontend 0x0000000108d49600 SignalHandler(int) + 288 3 libsystem_platform.dylib 0x00007ff80d960dfd _sigtramp + 29 4 libsystem_platform.dylib 0x00007ff7bc783500 _sigtramp + 18446744072348641056 5 libsystem_platform.dylib 0x000000010e8742ab _sigtramp + 18446603374891709643 6 libsystem_platform.dylib 0x000000010e86fabe _sigtramp + 18446603374891691230 7 swift-frontend 0x0000000104a809c0 llvm::orc::runAsMain(int (*)(int, char*), llvm::ArrayRef<std::1::basic_string<char, std::__1::char_traits, std::1::allocator > >, llvm::Optional) + 1856 8 swift-frontend 0x0000000103b8ff28 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 >&&) + 14104 9 swift-frontend 0x00000001038ff482 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::1::default_delete >, llvm::PointerUnion<swift::ModuleDecl, swift::SourceFile>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver) + 3138 10 swift-frontend 0x0000000103902750 swift::performFrontend(llvm::ArrayRef<char const>, char const, void, swift::FrontendObserver) + 11792 11 swift-frontend 0x0000000103896eaa swift::mainEntry(int, char const**) + 3082 12 dyld 0x000000011ac4552e start + 462 zsh: illegal hardware instruction sudo swift main.swift
franklinhoracio commented 10 months ago

macOS Monterey 12.7.1 xcode 14.2