Reputation: 653
I keep getting these errors trying to run the Reachability.h
Upvotes: 1
Views: 1347
Reputation: 21221
Go to Project build phases
and add the following
Under Compile sources
, press the "+" icon and add Reachability.m
Under Link Binary With Libraries
press the "+" icon and add SystemConfiguration.framework
UPDATE:
If you are receiving ARC compilation errors You will have to disable ARC on specific files To do that please follow the steps in this answer How can I disable ARC for a single file in a project?
Upvotes: 1
Reputation: 69027
Your class is referencing Reachability, but you are not adding it to your project. You should possibly add the Reachability.m
file to the project.
Upvotes: 1