Alamofire framework not found

后端 未结 8 1594
刺人心
刺人心 2021-02-19 18:08

I am trying to install alamofire into my project so I can upload images to my server, however I cannot seem to find the alamofire.framework file. I have downloaded

相关标签:
8条回答
  • 2021-02-19 18:38

    Use Cocoapods to integrate Alamofire in your project:

    To add Alamofire into your project please do the following steps:

    add the below lines into your pod file.

      source 'https://github.com/CocoaPods/Specs.git'
      platform :ios, '8.0'
      use_frameworks!
    
      pod 'Alamofire', '~> 2.0'
    
    0 讨论(0)
  • 2021-02-19 18:48
    1. Close your Xcode project
    2. Re-Open your project with the Xcode workspace file and not with the .xcodeproj

    This work fine for me !

    0 讨论(0)
提交回复
热议问题