Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such module 'Alamofire' in AlamofireImage iOS Target #24

Closed
amarjayr opened this issue Dec 20, 2016 · 6 comments
Closed

No such module 'Alamofire' in AlamofireImage iOS Target #24

amarjayr opened this issue Dec 20, 2016 · 6 comments

Comments

@amarjayr
Copy link

I'm unable to build any of the other targets because they all end up with this error. The first occurence of this error is on line 23 of AlamofireImage.xcodeproj>Source>ImageDownloader.swift

The Alamofire target builds without error.

I am building in Xcode 7.3.1 (Swift 2.2) for the iPhone 6s Plus simulator (though this error occurs for all simulators) and make test-all passes with no errors.

Thank you for open-sourcing this project, and I'm very excited to take a look at it!

@stephencelis
Copy link
Contributor

Could you please provide more details, especially the error message and the steps you've gone through to from initial git clone to build? A screenshot would also help!

@amarjayr
Copy link
Author

Hi @stephencelis, thank you for your prompt response. I just recloned the project and here are the steps I took:

  1. Began with git clone https://github.com/kickstarter/ios-oss.git
  2. Ran make bootstrap (no errors besides the native-secrests error which is ignored)
  3. Ran make test-all which successfully launches the KickDebug app. Upon completion I receive ** TEST SUCCEEDED **
  4. Open Kickstarter.xcodeproj in Xcode 7.3.1
  5. Like recommended in Instructions for Using Playgrounds in Project #9 I first build Kickstarter-Framework-iOS which fails because of AlamofireImage

screen shot 2016-12-20 at 9 34 28 am
screen shot 2016-12-20 at 9 34 19 am

@stephencelis
Copy link
Contributor

I wonder if this is related to some stale build artifacts or simulator data.

  • If you try to build the Alamofire framework target directly does it fail with a different error?
  • Have you tried Clean Build Folder…? (Hold option while opening the Product menu.)
  • Have you tried to reset your simulators?

@amarjayr
Copy link
Author

Everything builds perfect now! Your Clean Build Folder suggestion made me realize that I had my Derived Data location set to Legacy instead of Unique.

Thank you for your rapid responses!

@MaveyMa
Copy link

MaveyMa commented Mar 5, 2018

Can you please document the steps you took to resolve this error?

@copypasteho
Copy link

Can you please document the steps you took to resolve this error?

Since nobody else bothered to respond: The two cleaning methods I regularly use: CMD + shift + K , and CMD + alt + shift + k .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants