Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile (swift build) #49

Open
unixb0y opened this issue Jun 21, 2019 · 11 comments
Open

Doesn't compile (swift build) #49

unixb0y opened this issue Jun 21, 2019 · 11 comments

Comments

@unixb0y
Copy link

unixb0y commented Jun 21, 2019

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
Copy link

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

@8enmann
Copy link

8enmann commented Sep 6, 2019

Same

@toninog
Copy link

toninog commented Oct 10, 2019

same

@mtwomey
Copy link

mtwomey commented Nov 25, 2019

+1

@gorBaghdasaryan
Copy link

Same

1 similar comment
@All3xJ
Copy link

All3xJ commented Apr 27, 2020

Same

@redfearnk
Copy link

Me too

@bubez81
Copy link

bubez81 commented Aug 14, 2020

+1

@djdoz
Copy link

djdoz commented Sep 7, 2020

yeap, same here.

@ssjblue-xxx
Copy link

try this command

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

it worked for me

@unixb0y
Copy link
Author

unixb0y commented Mar 25, 2023

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.

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

No branches or pull requests