Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 Cannot load underlying module for AlamoFire 3.x (CocoaPods)

I use Alamofire 3.3 with Xcode 7.1.1, installed with Cocoapods and I have this problem a couple of time :

Cannot load underlying module for Alamofire

here it's my Podfile :

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
use_frameworks!

target 'MyProject' do
pod 'Alamofire', '~> 3.0'
end

I heard about the same problem with Xcode 6.3 and it helped me to solve the problem once by cleaning project, but this time, I tryed to

  • Clean Project
  • Clean Xcode derived data and cache
  • update with version 3.1 3.2 and 3.3 of Alamofire
  • List item

... and nothing seams to work

does someone have the same troubles ? or any solution ?

like image 423
Paul Aigueperse Avatar asked Nov 27 '15 21:11

Paul Aigueperse


1 Answers

I'm not sure if this will solve it for you but usually this occurs when you are trying to include a framework that hasn't been built yet.

Have you tried Product -> Build yet?

like image 148
Alex Catchpole Avatar answered Nov 20 '22 08:11

Alex Catchpole