<div dir="ltr"><div><font face="monospace, monospace">stdout: clang -g -O0 -fno-builtin -arch x86_64   -I/Users/vharron/ll/fresh/lldb/test/make/../../include -include /Users/vharron/ll/fresh/lldb/test/make/test_common.h   -c -o main.o main.m</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">stderr: main.m:10:23: error: attempting to use the forward class 'CKDatabase' as superclass of 'SubClass'</font></div><div><font face="monospace, monospace">@interface SubClass : SuperClass</font></div><div><font face="monospace, monospace">~~~~~~~~~~~~~~~~~~~   ^</font></div><div><font face="monospace, monospace">main.m:8:20: note: expanded from macro 'SuperClass'</font></div><div><font face="monospace, monospace">#define SuperClass CKDatabase</font></div><div><font face="monospace, monospace">                   ^</font></div><div><font face="monospace, monospace">main.m:6:8: note: forward declaration of class here</font></div><div><font face="monospace, monospace">@class CKDatabase;</font></div><div><font face="monospace, monospace">       ^</font></div><div><font face="monospace, monospace">main.m:14:12: error: cannot define class extension for undefined class 'CKDatabase'</font></div><div><font face="monospace, monospace">@interface SuperClass ()</font></div><div><font face="monospace, monospace">           ^</font></div><div><font face="monospace, monospace">main.m:8:20: note: expanded from macro 'SuperClass'</font></div><div><font face="monospace, monospace">#define SuperClass CKDatabase</font></div><div><font face="monospace, monospace">                   ^</font></div><div><font face="monospace, monospace">main.m:6:8: note: forward declaration of class here</font></div><div><font face="monospace, monospace">@class CKDatabase;</font></div><div><font face="monospace, monospace">       ^</font></div><div><font face="monospace, monospace">main.m:25:17: error: cannot find interface declaration for 'CKDatabase'</font></div><div><font face="monospace, monospace">@implementation SuperClass (MySuperClass)</font></div><div><font face="monospace, monospace">                ^</font></div><div><font face="monospace, monospace">main.m:8:20: note: expanded from macro 'SuperClass'</font></div><div><font face="monospace, monospace">#define SuperClass CKDatabase</font></div><div><font face="monospace, monospace">                   ^</font></div><div><font face="monospace, monospace">[snip]</font></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 12, 2015 at 1:57 PM, 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"><div>I think I see… on my machine CloudKit is in PrivateFrameworks</div><div><br></div><div>If you replace the #import with an @class CKDatabase; forward-declaration does anything improve?</div><div><br></div><div>Failing even that, I will need to change this test to use a more publicly available class</div><br><div><blockquote type="cite"><div><div class="h5"><div>On May 12, 2015, at 1:51 PM, Vince Harron <<a href="mailto:vince@nethacker.com" target="_blank">vince@nethacker.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div>Note that the 6.1.1 mac's clang *does* include</div><div><br></div><div><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">/Applications/Xcode.app/</span><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">Contents/Developer/Platforms/</span><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">MacOSX.platform/Developer/</span><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">SDKs/MacOSX10.10.sdk/System/</span><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">Library/Frameworks</span><br></div><div><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px"><br></span></div><div><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px">(It gets past the include failure)</span></div><div><span style="color:rgb(38,38,38);font-size:12.8000001907349px;line-height:16px"><br></span></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, May 12, 2015 at 1:48 PM, Vince Harron <span dir="ltr"><<a href="mailto:vince@nethacker.com" target="_blank">vince@nethacker.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br><div><blockquote type="cite"><div><div><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><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><div>
<div style="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="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 <span><emoji_u260e.png></span>️ 27683</div>
</div>
<br></div><span class=""><br>_______________________________________________<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>
<br></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></div><span class=""><br><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></span></div></blockquote></div><br></div>