pusherman / react-native-network-info

React Native library for getting information about the devices network
MIT License
356 stars 106 forks source link

Build fails with 5.2.0 - Undefined symbols for architecture x86_64 #103

Closed jedashford closed 5 years ago

jedashford commented 5 years ago

Issue below is with 5.2.0, but not with 5.1.0 when building on iOS. Looks like it might be related to the addition of getGatewayIPAddress

Undefined symbols for architecture x86_64: "_getdefaultgateway", referenced from: -[RNNetworkInfo getGatewayIPAddress:rejecter:] in libreact-native-network-info.a(RNNetworkInfo.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

kulyk commented 5 years ago

Experiencing the same problem. Looks like the problem has appeared in #98 @parrotmac hi, maybe you have an idea on a fix?

gabrielrra commented 5 years ago

Having the same issue here too

umutcetinkaya commented 5 years ago

i have same problem. Does anyone have a solution?

kulyk commented 5 years ago

This pull request looks like a fix #106

SkyPeer commented 5 years ago

This pull request looks like a fix #106

@kulyk Awesome! thank you very much!

pusherman commented 5 years ago

I just confirmed it does, will be releasing an update by EOD.

pusherman commented 5 years ago

Should be fixed in 5.2.1.