hcitool
hcitool copied to clipboard
Doesn't compile (swift build)
swift build
leads to this result:
hcitool/Sources/hcitool/main.swift:18:38: error: value of type 'HostController' has no member 'isPowerChangeSupported'
if controller.powerState != .on, controller.isPowerChangeSupported {
^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f '/[...]/hcitool/.build/debug.yaml' main output:
Could it be because I don't have the latest Xcode version?
I have the last Xcode (10.3) released and this is also happening to me.
Same
same
+1
Same
Same
Me too
+1
yeap, same here.
try this command
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer && swift build
it worked for me
try this command
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer && swift build
it worked for me
4 years have come and gone.. moved to other projects by now :D but i will try it.