Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Unsupported OS X version 13.4. Krypton requires 10.11+ #16

Closed
geoffwalmsley opened this issue Jun 21, 2023 · 1 comment
Closed

Unsupported OS X version 13.4. Krypton requires 10.11+ #16

geoffwalmsley opened this issue Jun 21, 2023 · 1 comment

Comments

@geoffwalmsley
Copy link

On a macbook pro, M2 Max and trying to run curl https://krypt.co/kr | sh

and receive this error: kr: Unsupported OS X version 13.4. Krypton requires 10.11+

I also tried brew install kryptco/tap/kr which gives this error

wift:769:52: note: use 'compactMap(_:)' instead
    let uuids = cache.components(separatedBy: ",").flatMap({UUID(uuidString: $0)}).map({CBUUID(nsuuid: $0)})
                                                   ^~~~~~~
                                                   compactMap

** BUILD FAILED **


The following build commands failed:
	CompileSwift normal x86_64 (in target 'krbtle' from project 'krbtle')
	SwiftCompile normal x86_64 Compiling\ Bluetooth.swift,\ Globals.swift,\ Log.swift,\ Mutex.swift,\ NetworkProtocol.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Bluetooth.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Globals.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Log.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Mutex.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/NetworkProtocol.swift /Users/gw/Library/Developer/Xcode/DerivedData/krbtle-fabepsyoyxwciueucmrddeimkacj/Build/Intermediates.noindex/PrecompiledHeaders/krbtle.pch (in target 'krbtle' from project 'krbtle')
	CompileSwift normal arm64 (in target 'krbtle' from project 'krbtle')
	SwiftCompile normal arm64 Compiling\ Bluetooth.swift,\ Globals.swift,\ Log.swift,\ Mutex.swift,\ NetworkProtocol.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Bluetooth.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Globals.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Log.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/Mutex.swift /tmp/kr-20230621-1504-a3v0sz/src/github.com/kryptco/kr/krbtle/krbtle/NetworkProtocol.swift /Users/gw/Library/Developer/Xcode/DerivedData/krbtle-fabepsyoyxwciueucmrddeimkacj/Build/Intermediates.noindex/PrecompiledHeaders/krbtle.pch (in target 'krbtle' from project 'krbtle')
(4 failures)
make: *** [all] Error 65

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/kryptco/homebrew-tap/issues

These open issues may also help:
fixes `brew install kr --HEAD` https://github.com/kryptco/homebrew-tap/pull/14

Then attempting the suggested fix: brew install kr --HEAD gives me this error:

Error: An exception occurred within a child process:
  Errno::EINVAL: Invalid argument @ rb_file_s_rename - (/private/tmp/kr-20230621-2655-jmq4ib/src, /private/tmp/kr-20230621-2655-jmq4ib/src/github.com/kryptco/kr/src)
@geoffwalmsley
Copy link
Author

geoffwalmsley commented Jun 21, 2023

So the solution (mentioned here) is to use sed with curl. For OS X 13.4 it's:

curl https://krypt.co/kr | sed "s/11.0/13.4/g" | sh

Would be good to get the brew commands working though :)

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

No branches or pull requests

1 participant