0

I have a project and want to add HanekeSwfit to it using cocoapods for the first time. I did everything as it said but I have this problem.

enter image description here

enter image description here

Pods.framework is showing red. Why is this? When I try to add HanekeSwift manually I have the same problem.

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
Sinan Samet
  • 6,432
  • 12
  • 50
  • 93
  • 1
    There are other posts on SO about this. For me, the pod works just fine, it is just showing as red. [Here](http://stackoverflow.com/questions/26246805/cocoapods-with-xcode-6-0-1-how-can-i-fix-pods-frameworks-appearing-in-red) is one other post about the pods showing as red. – area28 Sep 15 '15 at 11:59
  • I saw that one but it didn't solve my problem.. – Sinan Samet Sep 15 '15 at 12:01
  • The actual problem is that when I try to Import HanekeSwift it says No such module 'HanekeSwift' – Sinan Samet Sep 15 '15 at 12:04
  • 1
    The problem was that I wasn't opening the file from `.xcworkspace`... I have been trying to solve this for almost 2 hours. – Sinan Samet Sep 15 '15 at 12:38
  • The cocoapods docs say to do that I believe. I went through the same issue recently. Sorry I missed that part. – area28 Sep 15 '15 at 13:16
  • @SinanSamet I'm guessing the problem has been solved. Please answer this question and accept it. – ZeMoon Sep 15 '15 at 13:23

1 Answers1

0

The problem was that I wasn't opening the .xcworkspace file which has to be used after installing cocoapod. All I had to do was to use this file and work from there.

Sinan Samet
  • 6,432
  • 12
  • 50
  • 93