Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoapods error: linker command failed with exit code 1 (use -v to see invocation)

Tags:

First time using cocoa pods (latest version) for dependencies in the latest Xcode 7.2.1 with Swift 2.1. I initialize my project folder and then edit the podfile and add my dependencies. When I run pod install it runs without a hitch until I open my project and try to build. I've tried this with two separate projects (one being brand new for testing) and I get linker command failed with exit code 1 (use -v to see invocation) for both. My pod file looks like this:

platform :ios, '8.0' #8.0 is minimum supported, right?
use_frameworks!

target 'Testing Frameworks' do
    pod 'Alamofire', '~> 3.0'
end
like image 258
ItsPronounced Avatar asked Feb 06 '16 02:02

ItsPronounced


1 Answers

Close your current project and open the .xcworkspace created in your project folder.

Good luck!

like image 178
Dx_ Avatar answered Oct 27 '22 00:10

Dx_