hcitool icon indicating copy to clipboard operation
hcitool copied to clipboard

Doesn't compile (swift build)

Open unixb0y opened this issue 5 years ago • 11 comments

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?

unixb0y avatar Jun 21 '19 00:06 unixb0y

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

LeoValentim avatar Aug 02 '19 21:08 LeoValentim

Same

8enmann avatar Sep 06 '19 05:09 8enmann

same

toninog avatar Oct 10 '19 07:10 toninog

+1

mtwomey avatar Nov 25 '19 23:11 mtwomey

Same

gorBaghdasaryan avatar Jan 18 '20 10:01 gorBaghdasaryan

Same

All3xJ avatar Apr 27 '20 14:04 All3xJ

Me too

redfearnk avatar May 11 '20 21:05 redfearnk

+1

bubez81 avatar Aug 14 '20 09:08 bubez81

yeap, same here.

djdoz avatar Sep 07 '20 11:09 djdoz

try this command

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

it worked for me

ssjblue-xxx avatar Mar 15 '23 17:03 ssjblue-xxx

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.

unixb0y avatar Mar 25 '23 14:03 unixb0y