2

I am creating a private App in Xcode 7.3 ( iOS 9.3) , where I am going to utilize the WiFi Info.

I have Followed this link , Bluetooth Private Framework works fine However:

I am trying to implement Private Framework "MobileWIFI.Framework" in XCode 7.3 , but it gives me this error:

"_WiFiManagerClientCopyNetworks", referenced from: -

[AppDelegate application:didFinishLaunchingWithOptions:] in
AppDelegate.o "_WiFiManagerClientCreate", referenced from: -[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o

ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried with using mobilewifi.framework files of iOS version 9.3, 8.1, 7 It gives same error.

I think the headers are not matching the .tbd file of Framework

Community
  • 1
  • 1
  • Please show the **code** that you are using, not just the error message. In other words, the code you wrote in your `[AppDelegate application:didFinishLaunchingWithOptions:]` method, which I'm assuming tries to use `_WiFiManagerClientCopyNetworks()`. – Nate Sep 30 '16 at 12:10
  • var manager = WiFiManagerClientCreate(kCFAllocatorDefault, 0) var networks = WiFiManagerClientCopyNetworks(manager) print("networks: \(networks)") CFRelease(manager) CFRelease(networks) – Muhammad Faizan Khatri Oct 01 '16 at 09:05
  • Did you add [these headers](https://github.com/Cykey/ios-reversed-headers/tree/master/MobileWiFi) to your project? – EricRobertBrewer Apr 07 '17 at 22:07
  • Were you able to resolve this? – Japes May 25 '17 at 15:21
  • Are you getting classes with `NSClassFromString`? You can't use the class symbols directly. – bompf May 24 '18 at 16:00

0 Answers0