<div dir="ltr"><div>Sorry, i forgot to tell that clang show this error after run the command that i posted in the previous message:</div><div><br></div><div>MandatoryViewController.m:1:9: fatal error: module 'UIKit' not found<br>@import UIKit;</div><div><br></div><div>Thanks!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 1 oct. 2019 a las 9:15, Alberto Lagos (<<a href="mailto:alberto.lagos@gmail.com">alberto.lagos@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, <br></div><div><br></div><div>I want to be able to print the AST of a .m file (Objective-C) i tried with <br></div><div><br></div><div> clang -fmodules -F/System/Library/Frameworks -Xclang -ast-dump -fsyntax-only MandatoryViewController.m<br></div><div><br></div><div>This file is part of a xcode file, so it has some dependencies.</div><div><br></div><div>Do any of you know what i need to do? so this can work?</div><div><br></div><div>Thanks in advance.<br></div></div>
</blockquote></div>