<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I am unable to build grpc on a specific machine because of some Xcode error:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">make[2]: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework', needed by `libgpr.14.0.0.dylib'.  Stop.</blockquote><br class=""></div><div class="">The relevant versions are:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px;" class="">macOS 10.15.7 19H114<br style="box-sizing: border-box;" class="">Xcode 12.3 12C33</p></blockquote></div><div class=""><br class=""></div><div class="">This same Portfile builds grpc just fine on another 10.15 machine and indeed by the buildbot in this grpc PR: <a href="https://github.com/macports/macports-ports/pull/9729" class="">https://github.com/macports/macports-ports/pull/9729</a> .</div><div class=""><br class=""></div><div class="">This framework doesn’t exist on the machine,</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 12px;" class="">ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 12px;" class="">ls: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreFoundation.framework: No such file or directory</span></div></blockquote></div><div class=""><br class=""></div><div class="">But rather this framework exists:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; font-size: 12px;" class="">ls -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(64, 11, 217);" class=""><span style="font-size: 12px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework</span><span style="font-variant-ligatures: no-common-ligatures;" class="">/</span></span></div></blockquote></div><div class=""><br class=""></div><div class="">I’ve tried reinstalling the command line tools per <a href="https://trac.macports.org/wiki/ProblemHotlist" class="">https://trac.macports.org/wiki/ProblemHotlist</a>, and I’ve tried `sudo xcode-select -r`.</div><div class=""><br class=""></div><div class="">Any pointers to fix this local (?) issue would be appreciated.</div><div class=""><br class=""></div><div class="">Or is there some cmake directive that must be put in the Portfile to make this robust and find the framework that does exist?</div><div class=""><br class=""></div><div class="">Related: <a href="https://github.com/grpc/grpc/issues/24902" class="">https://github.com/grpc/grpc/issues/24902</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>