Alamofire framework not found

后端 未结 8 1672
刺人心
刺人心 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:31

    Not stupid!

    • Click the little (easily missed) + button in the bar under General, Build Phases, etc. and in the dropdown click New Copy Files Phase
    • Double click the title and rename it "Copy Frameworks" (optional)
    • Change destination to Frameworks
    • Add Alamofire.framework

    Once it's linked it doesn't necessarily exist on your device, this ensures it will.

提交回复
热议问题