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

Patch not working in MacOS Monterrey 12.3.1 #136

Open supercuerda opened 2 years ago

supercuerda commented 2 years ago

After following all the steps (swift and xcode installed and terminal upgraded), I was unable to install the patch.

I think the patch does not work in this version of macOS. Please upgrade the patch for this version.

Note that the readme file refers to the file

/System/Library/PrivateFrameworks/SidecarCore.framework/Versions/A/SidecarCore

however there is no "SidecarCore" object in that folder.

This is the output that I've got.

2022-04-08 15:38:57.277 xcodebuild[4413:180490] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-04-08 15:38:57.277 xcodebuild[4413:180490] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-04-08 15:38:58.914 xcodebuild[4415:180509] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-04-08 15:38:58.914 xcodebuild[4415:180509] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -interpret /Users/MVU/Downloads/SidecarPatcher-master/main.swift -enable-objc-interop -stack-check -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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.3
  2. Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
  3. Compiling with the current language version
  4. While running user code "/Users/MVU/Downloads/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 0x0000000108033de7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 1 swift-frontend 0x0000000108032e38 llvm::sys::RunSignalHandlers() + 248 2 swift-frontend 0x0000000108034440 SignalHandler(int) + 288 3 libsystem_platform.dylib 0x00007ff81b8afdfd _sigtramp + 29 4 libsystem_platform.dylib 0x00007ff7bd232540 _sigtramp + 18446744072125687648 5 libsystem_platform.dylib 0x000000010d9569c3 _sigtramp + 18446603374641703907 6 libsystem_platform.dylib 0x000000010d951abe _sigtramp + 18446603374641683678 7 swift-frontend 0x0000000102e46560 llvm::orc::runAsMain(int (*)(int, char*), llvm::ArrayRef<std::1::basic_string<char, std::__1::char_traits, std::1::allocator > >, llvm::Optional) + 1792 8 swift-frontend 0x0000000102da2dcd 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 >&&) + 13613 9 swift-frontend 0x0000000102d6a2c3 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) + 2259 10 swift-frontend 0x0000000102d5d953 swift::performFrontend(llvm::ArrayRef<char const>, char const, void, swift::FrontendObserver) + 21107 11 swift-frontend 0x0000000102d1b5d4 swift::mainEntry(int, char const**) + 1108 12 dyld 0x000000010e64e51e start + 462 zsh: illegal hardware instruction sudo swift /Users/MVU/Downloads/SidecarPatcher-master/main.swift
techtonic22 commented 2 years ago

@pookjw

This isn't working for me on macOS Monterey either (Macbook Air 2017). Could you please help us out?

Would be highly grateful :)

shakkamakka commented 2 years ago

@pookjw @supercuerda check out YAM display : https://www.youtube.com/watch?v=2299GO5MKgs

supercuerda commented 2 years ago

@pookjw @supercuerda check out YAM display : https://www.youtube.com/watch?v=2299GO5MKgs

It worked @shakkamakka . Thanks a lot!

timkondratiev commented 1 year ago

OpenCore Legacy Patcher seems to work: https://www.youtube.com/watch?v=8Hctat7Cz9E