Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Errors while building #3

Open
pappanunny opened this issue Feb 17, 2020 · 0 comments
Open

Errors while building #3

pappanunny opened this issue Feb 17, 2020 · 0 comments

Comments

@pappanunny
Copy link

pappanunny commented Feb 17, 2020

Trying to build Fugu on macos catalina, xcode 10.2, but encountering 13 errors like these :

/Users/csg3206/Documents/Pk/myTools/Fugu-master/checkm8/PwnUSB.swift:30:52: error: expression resolves to an unused property
var device: SimpleUSB! { get { _device } }
^~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:45:34: error: expression resolves to an unused property
var deviceOpen: Bool { get { _deviceOpen } }
^~~~~~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:56:19: error: value of type 'IOUSBDeviceInterface' (aka 'IOUSBDeviceStruct') has no member 'USBGetSerialNumberStringIndex'
guard deviceInterface.USBGetSerialNumberStringIndex(deviceInterfacePtrPtr, &serialNumberIndex) == KERN_SUCCESS else {
^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/csg3206/Documents/Pk/myTools/Fugu-master/USB/IOKitUSB.swift:82:18: error: value of type 'IOUSBDeviceInterface' (aka 'IOUSBDeviceStruct') has no member 'USBDeviceOpenSeize'; did you mean 'USBDeviceOpen'?
let kr = deviceInterface.USBDeviceOpenSeize(deviceInterfacePtrPtr)
^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~

On using xcodebuild command to build, got the following additional error message:

** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)

How can i get past these errors to successfully build Fugu?

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