You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to integrate the LanScanner pod on a iPad Air 2 simulator I get the error code 101.
Trying to debug the problem I found that the method getLocalAddress() returns nil. Taking a look in the code it seems that the while loop that is looking for the "en0" string on the interface name are not matched. That error was triggered because I might be using an external network card.
What if it could be changed to the following:
letname=String(cString:interface.ifa_name)
if name..range(of:"en")!=nil{//...}
Would be glad if you allow me to do a pull request.
Regards,
The text was updated successfully, but these errors were encountered:
When trying to integrate the LanScanner pod on a iPad Air 2 simulator I get the error code 101.
Trying to debug the problem I found that the method getLocalAddress() returns nil. Taking a look in the code it seems that the while loop that is looking for the "en0" string on the interface name are not matched. That error was triggered because I might be using an external network card.
What if it could be changed to the following:
Would be glad if you allow me to do a pull request.
Regards,
The text was updated successfully, but these errors were encountered: