MillerTechnologyPeru / hcitool

Bluetooth Host Controller Interface Command Line Tool for for sending HCI commands on macOS and Linux
https://millertechnologyperu.github.io/hcitool/
MIT License
93 stars 11 forks source link

Doesn't compile (swift build) #49

Open unixb0y opened 5 years ago

unixb0y commented 5 years ago

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?

LeoValentim commented 5 years ago

I have the last Xcode (10.3) released and this is also happening to me.

8enmann commented 5 years ago

Same

toninog commented 5 years ago

same

mtwomey commented 4 years ago

+1

gorBaghdasaryan commented 4 years ago

Same

All3xJ commented 4 years ago

Same

redfearnk commented 4 years ago

Me too

bubez81 commented 4 years ago

+1

djdoz commented 4 years ago

yeap, same here.

ssjblue-xxx commented 1 year ago

try this command

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer && swift build

it worked for me

unixb0y commented 1 year ago

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.