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

macOS BigSur Version 11.6.3 MacBook Pro (Retina, 15-inch, Mid 2014) #133

Open Sami8612 opened 2 years ago

Sami8612 commented 2 years ago

I can't get it to work.

Samis-MacBook-Pro:~ sami$ sudo swift /Users/sami/Desktop/SidecarPatcher-master/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. Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace. Stack dump:

  1. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -interpret /Users/sami/Desktop/SidecarPatcher-master/main.swift -enable-objc-interop -stack-check -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -color-diagnostics -new-driver-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -module-name main -target-sdk-version 12.1.0
  2. Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
  3. While running user code "/Users/sami/Desktop/SidecarPatcher-master/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 0x000000010bb8bc27 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 1 swift-frontend 0x000000010bb8abb8 llvm::sys::RunSignalHandlers() + 248 2 swift-frontend 0x000000010bb8c236 SignalHandler(int) + 278 3 libsystem_platform.dylib 0x00007fff20634d7d _sigtramp + 29 4 libsystem_platform.dylib 0x0000000100000000 _sigtramp + 18446603344267752096 5 libsystem_platform.dylib 0x0000000110fba97c _sigtramp + 18446603344552680476 6 libsystem_platform.dylib 0x0000000110fb5abe _sigtramp + 18446603344552660318 7 swift-frontend 0x0000000106d98220 llvm::orc::runAsMain(int (*)(int, char*), llvm::ArrayRef<std::1::basic_string<char, std::__1::char_traits, std::1::allocator > >, llvm::Optional) + 1408 8 swift-frontend 0x0000000106cf9017 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 >&&) + 12871 9 swift-frontend 0x0000000106ca8700 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) + 2656 10 swift-frontend 0x0000000106c9a6d7 swift::performFrontend(llvm::ArrayRef<char const>, char const, void, swift::FrontendObserver) + 14743 11 swift-frontend 0x0000000106bdab08 main + 1032 12 libdyld.dylib 0x00007fff2060af3d start + 1 13 libdyld.dylib 0x0000000000000011 start + 18446603339972956373 Illegal instruction: 4 Samis-MacBook-Pro:~ sami$
shuruhusky commented 1 year ago

u found the problem?