Aprove answer

You have to add the "SystemConfiguration.framework" file to your project.

On the bottom left corner of the "Link Binary with Libraries" section there should be a "+" sign. Click that and type in SystemConfiguration and click on the result then click "add".


You have to add both of these frameworks "SystemConfiguration.framework" And "Security.framework"

Credit Goes to: stackoverflow.com

Related question with same questions but different answers