Cocoapods + Cannot load underlying module for 'x'

前端 未结 21 1024
梦谈多话
梦谈多话 2020-12-25 09:15

I am running XCode 7, Swift 2.0, iOS 9.

I want to install Alamofire in my project using Cocoapods. I have done the following:

gem install cocoapods

21条回答
  •  不知归路
    2020-12-25 09:40

    In my case:

    1. Comment line of //import Pod_Module

    2. Go to Project -> Clean or use shortcut key (Command+Shift+K)

    2. Close your project

    3. In terminal go to your project directory

    4. run > pod install

    5. open .xcworkspace file and build it!

    6. Uncomment line of import Pod_Module

提交回复
热议问题