Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch not working in MacOS Monterrey 12.3.1 #136

Open
supercuerda opened this issue Apr 8, 2022 · 4 comments
Open

Patch not working in MacOS Monterrey 12.3.1 #136

supercuerda opened this issue Apr 8, 2022 · 4 comments

Comments

@supercuerda
Copy link

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:
0. 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

  1. Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
  2. Compiling with the current language version
  3. 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::Optionalllvm::StringRef) + 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_deleteswift::SILModule >&&) + 13613
    9 swift-frontend 0x0000000102d6a2c3 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, 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
Copy link

@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
Copy link

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

@supercuerda
Copy link
Author

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

It worked @shakkamakka . Thanks a lot!

@timkondratev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants