<div dir="ltr">Hello all,<div><br></div><div>I&#39;m trying to run the swiftc (a modified one) command in a project folder in order to compile all .swift files. It is currently working as follows:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">xcrun -sdk iphoneos build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -dump-ast -target armv7-apple-ios7.0 **/*.swift</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Right now, it is able to find and compile all .swift files in the directories and subdirectories, and is able to import modules such as UIKit.</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;line-height:normal"><font face="Menlo"><span style="font-size:11px">However, I can&#39;t find a way to make it work with modules added through CocoaPods. This generates an error like:</span></font></p><p style="margin:0px;line-height:normal"><font face="Menlo"><span style="font-size:11px"><br></span></font></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b>Example/Source/DetailViewController.swift:23:8: </b></span><span style="color:rgb(195,55,32)"><b>error: </b></span><span style=""><b>no such module &#39;Alamofire&#39;</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><b><br></b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Any thoughts?</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style=""><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Thanks,</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="">Marcel</span></p></div></div>