Search code examples
iosalamofireswift3ios10xcode8

Xcode 8.0 swift 3.0 error Alamofire-swift.h not found and Could not build Objective-C module 'Alamofire'


I converted my swift 2.2 project to swift 3.0. After updating my pod file, I get this error. Please see the attached image.

enter image description here

And here is the pod file content :

enter image description here

I do not know what part I am missing which has lead me to this error.

Can anyone help me out ?

Thanks in Advance.


Solution

  • I would suggest first cleaning your project with CMD+Shift+K and then making sure your pods are correct with a pod install. If that doesn't work, check out this question that involves clearing your pods. Whenever my pods get wonky I'll wipe them out and reinstall.