You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot reproduce. Try cleaning your project or re-installing from CocoaPods.
If you continue to experience problems and think that this might be an issue with CocoaPods, please open an issue with them. Otherwise, please ask a question on Stack Overflow with the "Alamofire" tag.
barnaclejive, ashish2, afzaal-proleadsoft, nteissler and joeyliu7975dagi12, emrcftci and easytarget2000
Clean did not work, re-installing from pods did not work, installing from carthage did not work, manual install did not work. I finally got it to work after Build for Testing.
BhavinKansagara, zivyuan, altair21, andersennl, kurtulusahmet and 147 moremartianmartian, arashgood, vardaanmittal09, levantAJ, arctouch-gustavosoares and 1 moresugite, rafiki270, jibla, Derrick250, kerimovscreations and 31 morepreetamjadakar, zaptechtusharpatel, charlag, rafiki270, jibla and 40 moremartianmartian, PudiPudi, IgorKalinowskii, KonstantinBerkow, PGRBryant and 4 morerafiki270, kunalgupta1593, jibla, alkree, saiidabs and 32 more
This is working properly for the majority of us. Here's a few tips that maybe will help. Otherwise please open a ticket on StackOverflow and we can further assist there. That will also give the question and answer more visibility to the rest of the community.
If none of these end up solving your issue, then please open a question on StackOverflow and post a link to the question here. I'll continue to help you debug the issue further if necessary.
Cheers.
TopCoderAnmeet, matrixfox, eopeters, mythkiven, ashish1b and 2 more
I also have that issue. It wouldn't affect build the project but very annoying. And I think it only happens when you use cocoapod to add Alamofire to the existing project which is not init with cocoapod.
I didn't reinstall the pod but just running the app with the error on import, no other calls to alamofire. It run and removed the error: Cannot load underlying module for 'Alamofire'
Activity
mattt commentedon Apr 21, 2015
Cannot reproduce. Try cleaning your project or re-installing from CocoaPods.
If you continue to experience problems and think that this might be an issue with CocoaPods, please open an issue with them. Otherwise, please ask a question on Stack Overflow with the "Alamofire" tag.
n2b8 commentedon Apr 21, 2015
Clean did not work, re-installing from pods did not work, installing from carthage did not work, manual install did not work. I finally got it to work after Build for Testing.
cnoon commentedon Apr 21, 2015
Hi @n2b8,
This is working properly for the majority of us. Here's a few tips that maybe will help. Otherwise please open a ticket on StackOverflow and we can further assist there. That will also give the question and answer more visibility to the rest of the community.
Xcode Version
CocoaPods Version
cnoon:~$ pod --version 0.36.4
Podfile
Import Alamofire in New Project
Build Project
If none of these end up solving your issue, then please open a question on StackOverflow and post a link to the question here. I'll continue to help you debug the issue further if necessary.
Cheers.
thunderkid commentedon Apr 27, 2015
I had the same problem after installing from cocoapods.
Choosing Product | Clean then Product | Build fixed it.
sundraw commentedon May 29, 2015
Had the same problem after installing from cocoapods. Product/Clean didn't help. Shutting down Xcode and reopening the workspace did help.
samyro commentedon Jun 1, 2015
I also have that issue. It wouldn't affect build the project but very annoying. And I think it only happens when you use cocoapod to add Alamofire to the existing project which is not init with cocoapod.
Struki84 commentedon Jul 28, 2015
None of the above helped, opened Stack Overflow issue as recomended.
http://stackoverflow.com/questions/31674885/cannot-load-underlying-module-for-alamofire
pori commentedon Aug 1, 2015
This solved it for me:
#122
Struki84 commentedon Sep 29, 2015
Follow up: Updating to xcode 7.0 and #122, solved it for me.
felipeumpierre commentedon Oct 16, 2015
Xcode 7.0.1 and #122 solved for me as well.
mikeendale commentedon Oct 24, 2015
Xcode 7.1 and #122 solved it for me as well.
All I had to do was comment out the
import Alamofire
and run the app; then uncomment it.18 remaining items
ccastera commentedon May 30, 2016
i faced that issue, and i solved it by manually add the alamofire framework into to project
thuutien commentedon Jun 2, 2016
i get this issue today. No way to use this framwork on my project?
Simeon-O commentedon Aug 15, 2016
adding my team worked for me!
newmanw commentedon Sep 28, 2016
Same issue for me with AF 3.1.0 and XCode 8
sn commentedon Oct 31, 2016
Same issue:
Xcode 8.1 (8B62)
Cocoapods: 1.1.1
devbuds commentedon Nov 1, 2016
It successfully solved my issue by following the instructions at
http://stackoverflow.com/a/40360050/1804274
ardee19 commentedon Nov 7, 2016
I didn't reinstall the pod but just running the app with the error on import, no other calls to alamofire. It run and removed the error: Cannot load underlying module for 'Alamofire'
martianmartian commentedon Oct 11, 2017
why@#!@$!$#@$@!#@
Paydayzcool commentedon Oct 18, 2017
Ok, I managed to get rid of the error by running the app without writing
import Alamofire
, then writing it.kadze commentedon Oct 30, 2017
I have just tried the Carthage. Everything works for me. "just works". Carthage does not change your project. I didn't know that before.
jafara commentedon Apr 19, 2018
Carthage does not work for me, CocoaPods did. thanks everyone for suggestions