<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 13, 2017, at 4:10 AM, Kevin Hendry <<a href="mailto:kevin@lugnut.io" class="">kevin@lugnut.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<title class=""></title>
<div class="">
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">Heh. I’ll just retreat to my noob hovel and try that then. Thanks. </div></div></div></blockquote><div><br class=""></div><div>There is no such a thing as a noob hovel. ; ). We all are learning = ), and who knows this may be actually a documentation error (see below).</div><div><br class=""></div><div>In case you are curious: the reason I guessed that it was an SDK issue is that it seemed that the overlays were expecting the SDK to provide something that either was not there or was different. In such cases, it is always a good thing to check.</div><div><br class=""></div><div><div>As DaveA always says:</div><div>HTH</div><div><br class=""></div><div>Michael</div></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class=""><div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">The getting started section says you need the latest Xcode, but I didn’t realize that meant betas as well. I’d assumed it was the latest release. </div></div></div></blockquote><div><br class=""></div><div>Mishal, maybe we should update the README to spell this out explicitly. Thoughts?</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class=""><br class="">
On Feb 13, 2017, 1:24 AM -0500, mishal_shah <<a href="mailto:mishal_shah@apple.com" class="">mishal_shah@apple.com</a>>, wrote:<br class="">
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;" class="">Hi,
<div class=""><br class=""></div>
<div class="">You will need Xcode 8.3 beta 2 (<a href="https://developer.apple.com/download/" class="">https://developer.apple.com/download/</a>).</div>
<div class=""><br class=""></div>
<div class="">Thanks, </div>
<div class="">Mishal Shah<br class="">
<div class="">
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div class="">On Feb 12, 2017, at 9:17 PM, Kevin Hendry via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div name="messageBodySection" class="">I'm not. Is this the part where you tell me I should be?</div>
<div name="messageSignatureSection" class=""><br class=""></div>
<div name="messageReplySection" class=""><br class="">
On Feb 12, 2017, 11:53 PM -0500, Michael Gottesman via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>>, wrote:<br class="">
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">Just a stab in the dark, but are you using the latest beta SDK?
<div class=""><br class=""></div>
<div class="">Michael</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #d35400;">
<div class="">On Feb 11, 2017, at 5:03 PM, Ben Ng via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">Hi Greg,
<div class=""><br class=""></div>
<div class="">Thanks for the tip. It fails in a different way now:</div>
<div class=""><br class=""></div>
<div class="">FAILED: stdlib/public/SDK/SafariServices/macosx/x86_64/SafariServices.o<br class=""></div>
<div class=""><br class=""></div>
<div class="">
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:18:68: error: unknown type name 'SFSafariServicesVersion'</div>
<div class="">static inline bool _swift_SafariServices_isSafariServicesAvailable(SFSafariServicesVersion version) {</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:19:18: error: use of undeclared identifier 'SFSafariServicesVersion10_0'</div>
<div class=""> if (version == SFSafariServicesVersion10_0) {</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:23:3: error: use of undeclared identifier 'SFSafariServicesVersion'</div>
<div class=""> SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:23:28: error: use of undeclared identifier 'latestVersion'</div>
<div class=""> SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:23:45: error: use of undeclared identifier '_SFSafariServicesVersion'</div>
<div class=""> SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:24:15: error: use of undeclared identifier 'latestVersion'; did you mean 'ICGetVersion'?</div>
<div class=""> if (NULL == latestVersion) {</div>
<div class=""> ^</div>
<div class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h:711:1: note: 'ICGetVersion' declared here</div>
<div class="">ICGetVersion(</div>
<div class="">^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:24:15: warning: comparison of function 'ICGetVersion' equal to a null pointer is always false</div>
<div class=""> if (NULL == latestVersion) {</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:24:15: note: prefix with the address-of operator to silence this warning</div>
<div class=""> if (NULL == latestVersion) {</div>
<div class=""> ^</div>
<div class=""><module-includes>:1:9: note: in file included from <module-includes>:1:</div>
<div class="">#import "SafariServicesOverlayShims.h"</div>
<div class=""> ^</div>
<div class="">/Users/ben/Documents/code/swift-sources/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/shims/SafariServicesOverlayShims.h:28:11: error: use of undeclared identifier 'latestVersion'; did you mean 'ICGetVersion'?</div>
<div class=""> return *latestVersion >= version;</div>
<div class=""> ^</div>
<div class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h:711:1: note: 'ICGetVersion' declared here</div>
<div class="">ICGetVersion(</div>
<div class="">^</div>
<div class="">/Users/ben/Documents/code/swift-sources/swift/stdlib/public/SDK/SafariServices/SafariServices.swift:14:8: error: could not build Objective-C module '_SwiftSafariServicesOverlayShims'</div>
<div class="">import _SwiftSafariServicesOverlayShims</div>
<div class=""> ^</div>
</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class=""><br class="">
<div class="matchFont">Ben Ng</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class=""><br class="">
On Feb 11, 2017, 3:59 PM -0500, Greg Parker <<a href="mailto:gparker@apple.com" class="">gparker@apple.com</a>>, wrote:<br class="">
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #34495e;" class=""><br class="">
<div class="">
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #2ecc71;">
<div class="">On Feb 11, 2017, at 10:46 AM, Ben Ng via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" class="">
<div class="">
<div class="">I can’t seem to build master right now:</div>
<div class=""><br class=""></div>
</div>
<blockquote style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #9b59b6;" class="">
<div class="">
<div class="">git pull</div>
</div>
<div class="">
<div class="">./utils/update-checkout --clone-with-ssh</div>
</div>
<div class="">
<div class="">./utils/build-script --release --assertions</div>
</div>
<div class="">
<div class=""><br class=""></div>
</div>
<div class="">(…)</div>
<div class=""><br class=""></div>
<div class="">
<div class="">[17/558] Linking CXX shared library lib/swift/macosx/x86_64/libswiftCore.dylib</div>
<div class="">FAILED: lib/swift/macosx/x86_64/libswiftCore.dylib</div>
</div>
<div class="">
<div class="">Undefined symbols for architecture x86_64:</div>
</div>
<div class="">
<div class=""> "llvm::EnableABIBreakingChecks", referenced from:</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in Casting.cpp.o</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in Demangle.cpp.o</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in Metadata.cpp.o</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in MetadataLookup.cpp.o</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in Remangle.cpp.o</div>
</div>
<div class="">
<div class=""> llvm::VerifyEnableABIBreakingChecks in SwiftNativeNSXXXBase.mm.o</div>
</div>
</blockquote>
<div class=""><br class=""></div>
<div class="">Is anyone else running into this?</div>
</div>
</div>
</div>
</blockquote>
<br class=""></div>
<div class="">This was a hiccup after an LLVM change a few weeks ago. Try deleting your entire build directory and rebuilding.</div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
<div class="">-- </div>
<div class="">Greg Parker <a href="mailto:gparker@apple.com" class="">gparker@apple.com</a> Runtime Wrangler</div>
<div class=""><br class=""></div>
<div class=""><br class=""></div>
</blockquote>
</div>
</div>
_______________________________________________<br class="">
swift-dev mailing list<br class="">
<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" class="">https://lists.swift.org/mailman/listinfo/swift-dev</a><br class=""></div>
</blockquote>
</div>
<br class=""></div>
_______________________________________________<br class="">
swift-dev mailing list<br class="">
<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" class="">https://lists.swift.org/mailman/listinfo/swift-dev</a><br class=""></blockquote>
</div>
</div>
_______________________________________________<br class="">
swift-dev mailing list<br class="">
<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" class="">https://lists.swift.org/mailman/listinfo/swift-dev</a><br class=""></div>
</blockquote>
</div>
<br class=""></div>
</blockquote>
</div>
</div>
</div></blockquote></div><br class=""></body></html>