Abraham P
Abraham P

Reputation: 15471

Xcode not detecting Pods directory

I am working with a colleague on a Swift application and we are managing our versions through github. He has added some CocoaPods.

I have run

gem install cocoapods pod install

The proj/Pods directory is populated with Pods, however on the very first import, Xcode fails to build with No such module Alamofire, and Xcode does not see anything other thenPods.debug.xcconfig and Pods.release.xcconfig in the Pods directory.

How can I resolve this?

Upvotes: 1

Views: 2719

Answers (1)

Alexander Chernenko
Alexander Chernenko

Reputation: 182

You should open .xcworkspace, not .xcodeproj.

Upvotes: 6

Related Questions