Ryan B.
Ryan B.

Reputation: 99

Pod files not showing up on Xcode

Anyone ever have their pod files not show up in their pod files?

Here is how my project's pods looks

enter image description here

and here is how they used to look:
enter image description here

I have ran 'pod install' and it says everything is downloaded so I'm kinda at a loss. the error I am getting is error: No such module "Kingfisher"


EDIT:

Ok, so this kind of turns in to a different question. I had the .xcproject instead of the .xcworkspace. But I thought I had it backwards because when I open my workspace It keeps looking like this, and I can't open anything.

enter image description here

Upvotes: 3

Views: 9309

Answers (1)

inovramadani
inovramadani

Reputation: 2047

In my case I did

pod init

and the Podfile got created (can see from terminal and finder) but not showing on currently opened Xcode project.

So, then I edited the Podfile with nano from terminal to install specific pods I need. Then I did:

pod install

And I got this message:

[!] Please close any current Xcode sessions and use `FoodTracker.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 5 total pods installed.

Closing current project then re-open with new .xcworskpace will solve the issue.

Upvotes: 3

Related Questions