2

While installing swift pod - Nimble, Quick, - I have faced weird problem. I saw success message for all the pod after pod install but all the frameworks showed me as red. And when tried to import these modules started showing me error as "No such module".

Cœur
  • 37,241
  • 25
  • 195
  • 267
manismku
  • 2,160
  • 14
  • 24

3 Answers3

1

You can build Nimble and Quick separately just go to the manage schemes and check Nimble and Quick in the show column. After that just build both Nimble and Quick.

Vitaly Migunov
  • 4,297
  • 2
  • 19
  • 23
  • Thanks a lot. Now I am not getting error. Also, framework which was showing in red colour is gone. Thanks a lot. – manismku Jul 21 '17 at 12:47
1

After trying lot of options - even suggested by @Vital - I have seen this problem comes very often. I created a new project and above answered didn't worked.

If you go to the link CocoaPods TroubleShooting page and refer #4. Solution seems to work always as it builds pods before building the project target. This is very useful in case you see pod frameworks are red in color and it's not able to find in derived data. enter image description here

manismku
  • 2,160
  • 14
  • 24
0

Open the project with the .xcworkspace file not with .xcodeproj.

Floris M
  • 1,764
  • 19
  • 18