How to run the Alamofire library

enter image description here I downloaded the alamofire library and opened iOS Example.xcodeproj, but it will not start. When importing Alamofire, when I click it, it reports that the Alamofire symbol is not found. Alamofire.framework shows red. How to solve this problem?

enter image description here

+4
swift alamofire
Oct 22 '14 at 8:38
source share
2 answers

I had the same problem.

So, I deleted all the files related to Alamofire from the project folder, and also deleted the framework from the project.

Then I again added Alamofire in accordance with his guidance and worked successfully.

I suggest you do the same.

EDIT: That's why the frame is displayed in red

0
Oct 22 '14 at 9:39
source share

You can try moving on to the build phase and add a framework from there or use cocoa pods to link to Alamofire. I already give an answer on how to install cocoa and add a subfile for importing different libraries to the project here link Error: import Alamofire

Hope this works with any doubts, I'm here to help

0
Oct 06 '15 at 20:16
source share



All Articles