Tom
Tom

Reputation: 3637

xcode build error framework not found

Okay, using xcode7, swift and ios7 target.

I installed cocoapods

I change terminal to my project file folder and ran pod setup

Now Podfile is in the same directory as my .xcodeproj file and loks like this:

plaform :ios, '7.0' 
use_frameworks! 
pod 'OAStackView'

I change terminal to my project file folder and run pod install

Now, if I try build I get:

Frame not found OAStackView clang: error: linker command failed with exit code 1 (use -v to see invocation)

Am I supposed to do anything else to get OAStackView working? (I verified the problem also happens wih other pods) I have not yet imported it to any unit or anything, just trying to compile

Upvotes: 0

Views: 1080

Answers (1)

Rajan Maheshwari
Rajan Maheshwari

Reputation: 14571

I think you might be opening the .xcodeproj instead of opening .xcworkspace.
With CocoaPods we have to open .xcworkspace file.

Upvotes: 2

Related Questions