Reputation:
I would like to build and run this project.
https://github.com/JakeLin/SwiftWeather
I 'git clone' then 'cd' to its directory, then run 'pod install', which installs all the pod without an error.
In the folder of my project I can see the pod and it also appears when I open the .xcworkspace. However when I just open my .xcodeproject it throws me an error at the 'import ...' statement, where I try to import the pod.
How can I fix this?
PS: When I open my .xcworkspace I can see and open everything within the Pods project, but I can only see the actual project but not open it.
Thank you very much. :-)
Upvotes: 0
Views: 672
Reputation: 2026
Use .xcworkspace instead of .xcodeproject. You need workspace to support cocoa pod.
Upvotes: 2
Reputation: 958
please go through Cocoapods install it may helpful for you
Upvotes: 0