<div dir="ltr">I just realized the text formatting is wrong, sorry for that.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-09 11:17 GMT-03:00 Marcel Rebouças <span dir="ltr"><<a href="mailto:mscreboucas@gmail.com" target="_blank">mscreboucas@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I'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>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><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span>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><br></span></p><p style="margin:0px;line-height:normal"><font face="Menlo"><span style="font-size:11px">However, I can'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><b>Example/Source/DetailViewController.swift:23:8: </b></span><span style="color:rgb(195,55,32)"><b>error: </b></span><span><b>no such module 'Alamofire'</b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span><b><br></b></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span>Any thoughts?</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span>Thanks,</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span>Marcel</span></p></div></div>
</blockquote></div><br></div>