SidecarPatcher
SidecarPatcher copied to clipboard
Fatal error: System Integrity Protection is enabled!
Can you please help me with this issue.
patch.swift:111:5: warning: result of call to 'shell' is unused
shell("xxd -r -p /tmp/SidecarPatcher/output.txt /tmp/SidecarPatcher/SidecarCore")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
patch.swift:114:5: warning: result of call to 'shell' is unused
shell("sudo mount -uw /")
^ ~~~~~~~~~~~~~~~~~~~~
patch.swift:136:5: warning: result of call to 'shell' is unused
shell("sudo codesign -f -s - "(path)/SidecarCore"")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
patch.swift:137:5: warning: result of call to 'shell' is unused
shell("sudo chmod 755 "(path)/SidecarCore"")
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SidecarPatcher (Version 10)
GitHub : https://github.com/pookjw/SidecarPatcher
Fatal error: System Integrity Protection is enabled: file patch.swift, line 65
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret patch.swift -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -color-diagnostics -module-name patch
0 swift 0x0000000113a71eb3 PrintStackTraceSignalHandler(void*) + 51
1 swift 0x0000000113a71686 SignalHandler(int) + 358
2 libsystem_platform.dylib 0x00007fff644a5b1d _sigtramp + 29
3 libsystem_platform.dylib 0x00007ffee05d23c0 _sigtramp + 2081605824
4 libswiftCore.dylib 0x00007fff63732526 $ss16assertionFailure_4file4lineySSyXK_s12StaticStringVSutF + 70
5 libswiftCore.dylib 0x0000000116f1e44b $ss16assertionFailure_4file4lineySSyXK_s12StaticStringVSutF + 3011428203
6 libswiftCore.dylib 0x0000000116f1d46a $ss16assertionFailure_4file4lineySSyXK_s12StaticStringVSutF + 3011424138
7 swift 0x000000010f6f184d llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRefllvm::GenericValue) + 365
8 swift 0x000000010f6f8802 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits
The SIP is disable. System Integrity Protection status: unknown (Custom Configuration).
Configuration: Apple Internal: disabled Kext Signing: disabled Filesystem Protections: disabled Debugging Restrictions: disabled DTrace Restrictions: disabled NVRAM Protections: disabled BaseSystem Verification: disabled
This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
Fixed https://github.com/pookjw/SidecarPatcher/commit/da5b8291623860356465a7d36efc540073403e2c Thanks
It works for me, thank u very much!
getting the same error with version 14. any fix please?