title: Alamofire - Swift Compiler Error - Use of undeclared type
body: <p>I am having the same problem but only if I archive the solution. I can build the project and install the app to the device without getting any compile errors. </p>
  
  <p><a href="https://stackoverflow.com/questions/28549832/module-alamofire-has-no-member-named-request/37652533#37652533">Module &#39;Alamofire&#39; has no member named &#39;request&#39;</a></p>
  
  <p>Why am I getting 59 errors if I want to archive the project? I cleaned the project, deleted all the derived folder, checked project settings -paths, bitcode = YES / NO etc. None of them fixed the compiler errors. Like I said if I build the app or install it to a device Xcode doesn't give any error for Alamofire. I also did "Build Active Architecture Only" Debug = YES Release = NO. </p>
  
  <p>I cannot archive my project. The following are just 2 compile errors out of 59. All under the Swift Compiler Error. Thanks for your help. </p>
  
  <p><a href="https://i.stack.imgur.com/JKiRS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JKiRS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/w8Cdv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w8Cdv.png" alt="enter image description here"></a></p>