Cocoapods + Cannot load underlying module for 'x'

前端 未结 21 1048
梦谈多话
梦谈多话 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:49

    I am on Xcode Version 8.3.1 (8E1000a). Somehow this problem occurs when I wanted to pod install SwiftCloudant module. Probably I did not close my Xcode when I run pod install.

    I fixed this manually adding the SwiftCloudant.framework in the Targets > General tab.

    Targets > General > Linked Frameworks and Libraries

提交回复
热议问题