Reputation: 742
I reopened a xCode project after 1 month. I tried to compile, but I run into this error:
"linker command failed with exit code 1 (use -v to see invocation)"
Please, see the image below:
It seems that Xcode is not able to find Bolts Framework even if it is inside the project directory. I tried to delete and re-add it but it didn't work. I checked also the Framework search path but it is correct.
Any suggestion? Thanks in advance
Upvotes: 4
Views: 3977
Reputation: 1141
If you already have -ObjC
linked, verify if Bolts is included in your Link Binary with Libraries section of the Build Phases. If it is, try to remove the frameworks from the project and re-adding them, download the frameworks again, but without copying it to your project folder.
If it still doesn't work, try using CocoaPods in your project and add this to your Podfile:
pod 'Bolts'
Upvotes: 3