iosswiftframeworkscocoapods

Pod install doesn't download frameworks


I'm using swift and pods. When I type 'pod install' on my terminal, instead of having the frameworks downloaded to my project, I get the files.

This makes no difference to me, except for the fact that when I want to import them in my project, I always get an error saying they can't be found. Here is my pod file

# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'Project' do

    pod 'MSSTabbedPageViewController'
    pod 'PageMenu'

end

enter image description here


Solution

  • As ocarol stated, import the framework. However, before importing at the top of the file you want to use the framework, build the project, as Xcode seems to not link the pod's to the project automatically.

    Also open the .xcworkspace file that pod install generates.