tags:

views:

550

answers:

1

hi all, i new for iphone development, i try stumbler to get ssid with iphone os 2.0 and 3.0, i'm getting error and i found that few framework is missing, can anyone tell me how to recover this, i found from stackoverflow mentioning about PrivateFrameworks/Apple80211.Framework, how to install this, or anyone can give me the step to apply this stumbler for iphone os 3.0

thanks

+2  A: 

The library is now located at: /System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager

So you'll need to change your libhandle to:

libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager",RTLD_LAZY);

I should also mention that this is a private Apple framework and as such is likely to be buggy/not very usable - anything you do with it is at your own risk

James Raybould
how about the handle, keep remaining as before or have to modify open = dlsym(libHandle, "Apple80211Open"); bind = dlsym(libHandle, "Apple80211BindToInterface"); close = dlsym(libHandle, "Apple80211Close"); associate = dlsym(libHandle, "Apple80211Associate"); scan = dlsym(libHandle, "Apple80211Scan"); open( bind(airportHandle, @"en0");thanks
Apache