Can't use Alamofire after importing Cocoapod

时间:2019-04-08 14:00:15

标签: ios swift cocoapods alamofire

My podfile looks like the following

# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'

target 'MyProject' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for RedPepper
  pod 'Alamofire'

end

I then import Alamofire, and when I try to use, the only Alamofire property available to me is AlamofireVersionNumber (Double)

I am in the workspace, I've tried cleaning, rebuilding, redoing cocoapods. I'm kinda of lost at this point.

0 个答案:

没有答案