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

Build error on El Capitain #9

Open
nielsbos opened this issue Jun 1, 2016 · 1 comment
Open

Build error on El Capitain #9

nielsbos opened this issue Jun 1, 2016 · 1 comment

Comments

@nielsbos
Copy link

nielsbos commented Jun 1, 2016

Hi there. I'm having an issue building the xcode project. I get:

Wi-Fi Crack/WFCInterfaceSelectionViewController.m:122:43: Property 'deviceAttached' not found on object of type 'CWInterface *'

I'm running on a MacbookPro 11,3, fully up to date: El Capitain, OSX version 10.11.5. xcode version 7.3.1.

I tried compilation within xcode and through bash "xcodebuild".

I'm not that familiar with xcode or mac development, so if I might be overlooking something.

Thanks!
Niels

EDIT: I see that Apple removed it: https://developer.apple.com/library/mac/documentation/General/Reference/APIDiffsMacOSX10_10SeedDiff/frameworks/CoreWLAN.html

@nielsbos
Copy link
Author

nielsbos commented Jun 1, 2016

Got it to run by replacing the line (122 in WFCInterfaceSelectionViewController.m) with:
checkBox.integerValue = interface.hardwareAddress != nil;
No idea if this is correct for detecting attachment as I don't have a wifi dongle nearby! I couldn't find a quick replacement property for deviceAttached on CWInterface. My assumption is that the hardwareAddress would be nil if the device is not attached, but I'm not sure and there's probably a better way.

No results on the scan though (no errors, just no results). Tried when connected to a wifi-network and also when not connected (wifi still powered).

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

1 participant