showing - xcode 10 clang: error: linker command failed with exit code 1(use-v to see invocation)
Cocoapods error: linker command failed with exit code 1(use-v to see invocation) (4)
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
- Go to Project Settings.
- Go to Build Settings.
- Change BUILD ACTIVE ARCHITECTURE ONLY to NO.
Close your current project and open the .xcworkspace created in your project folder.
Solution for me was adding `$(inherited) flag to LIBRARY_SEARCH_PATHS in target build settings.