<div dir="ltr">I've done a little investigating on this.<div><br></div><div>On my MacPro (Xcode 6.2), the inferior binary fails to build because it can't find a header file.</div><div><br></div><div><div>os command: make MAKE_DSYM=NO ARCH=x86_64 CC="clang" </div><div>with pid: 14574</div><div>stdout: clang -g -O0 -arch x86_64 -I/Users/vharron/ll/tot/lldb/test/make/../../include -include /Users/vharron/ll/tot/lldb/test/make/test_common.h -c -o main.o main.m</div><div><br></div><div>stderr: main.m:6:9: fatal error: 'CloudKit/CloudKit.h' file not found</div><div>#import <CloudKit/CloudKit.h></div><div> ^</div><div>1 error generated.</div><div>main.m:6:9: fatal error: 'CloudKit/CloudKit.h' file not found</div><div>#import <CloudKit/CloudKit.h></div><div> ^</div><div>1 error generated.</div><div>make: *** [main.o] Error 1</div><div><br></div></div><div><div><div>vharron-macpro3:test vharron$ find / -name CloudKit.framework 2>/dev/null</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CloudKit.framework</div><div>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CloudKit.framework</div></div><div><br></div><div></div></div><div>That mac's clang -v reports:</div><div><br></div><div><div>vharron-macpro3:test vharron$ cat main.cpp<br></div></div><div><div>int main() {return 0;}</div><div>vharron-macpro3:test vharron$ clang -v main.cpp</div><div>Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)</div><div>[snip]</div><div>clang -cc1 version 6.0 based upon LLVM 3.5svn default target x86_64-apple-darwin13.4.0<br></div><div>ignoring nonexistent directory "/usr/include/c++/v1"</div><div>ignoring nonexistent directory "/usr/local/include"</div><div>#include "..." search starts here:</div><div>#include <...> search starts here:</div><div> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1</div><div> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include</div><div> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include</div><div> /usr/include</div><div> /System/Library/Frameworks (framework directory)</div><div> /Library/Frameworks (framework directory)</div><div>End of search list.</div><div>[snip]</div></div><div><br></div><div>Notice that </div><div>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks<br></div><div>Is not in the list.</div><div><br></div><div>I think that upgrading to Xcode 6.2 is what made clang lose this path.</div><div><br></div><div>On a XCode 6.1.1 mac, we have the path, but we get a different compile error (I'll send that to you when I can reproduce it.):</div><div><br></div><div>[snip]</div><div><div><font color="#262626"><span style="line-height:16px">clang -cc1 version 6.0 based upon LLVM 3.5svn default target x86_64-apple-darwin13.4.0</span></font></div><div><font color="#262626"><span style="line-height:16px">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/v1"</span></font></div><div><font color="#262626"><span style="line-height:16px">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/local/include"</span></font></div><div><font color="#262626"><span style="line-height:16px">ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/Library/Frameworks"</span></font></div><div><font color="#262626"><span style="line-height:16px">#include "..." search starts here:</span></font></div><div><font color="#262626"><span style="line-height:16px">#include <...> search starts here:</span></font></div><div><font color="#262626"><span style="line-height:16px"> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1</span></font></div><div><font color="#262626"><span style="line-height:16px"> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include</span></font></div><div><font color="#262626"><span style="line-height:16px"> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include</span></font></div><div><font color="#262626"><span style="line-height:16px"> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include</span></font></div><div><font color="#262626"><span style="line-height:16px"> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks (framework directory)</span></font></div><div><font color="#262626"><span style="line-height:16px">End of search list.</span></font></div></div><div>[snip]</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 12, 2015 at 10:56 AM, Enrico Granata <span dir="ltr"><<a href="mailto:egranata@apple.com" target="_blank">egranata@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div><div class="h5"><div>On May 10, 2015, at 12:21 AM, Vince Harron <<a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Should the dependency be removed or require CloudKit to run the tests?<br clear="all"><div><br></div>-- <br><div><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</div></div></div>
_______________________________________________<br>lldb-dev mailing list<br><a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br></div></blockquote></div><br><div>Is there a specific issue with the CloudKit framework?</div><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Thanks,</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><i>- Enrico</i><br>📩 egranata@<font color="#ff2600"></font>.com <img goomoji="260e" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="☎" src="cid:260e@goomoji.gmail">️ 27683</div>
</div>
<br></div><br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br></div>