Right this has become a right pain I have been looking at it for 2 days now and can\'t seem to solve it. Here is the error I am getting.
I have had this problem for about 8 hrs with a Cordova project and the org.apache.cordova.network-information
plugin. By the answers above and several other answers, I was encouraged to search in the section Project > Target > Build Phases > Link Binary with Libraries
of Xcode, which was right.
But although SCNetworkReachabilityCreateWithAddress
is defined in SystemConfigration.framework
, I was not able to get rid of the linker errors by systematically adding and removing this and other libraries.
Finally, I created a new project with the plugin and copied the framework constellation exactly as the original was. Now it's working.
Conclusion:
SystemConfiguration.framework
as described in the outstanding answers above. It might mismatch the target architecture. Further, check for strange chars in build including paths.