Reputation: 73
When I try to archive my project with Xcode I've got an error:
ld: library not found for -lReachability
clang: error: linker command failed with exit code 1
Can you help me how to fix that?
Upvotes: 0
Views: 613
Reputation: 2446
You need to set the path that Xcode use to find your Reachability framework.
Create your search path like this
$(PROJECT_DIR)/../yourFramework/lib
and add it in Build Settings-> Framework Search Paths for both debug and release builds.
You can get the exact path from Finder get info.
Check the reference links
Upvotes: 1