<div dir="ltr"><div>Hi All,<br></div><div><br></div><div>I am trying to build the swift-corelibs-foundation<br><br></div><div>I followed the instructions from here: <a href="https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/GettingStarted.md">https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/GettingStarted.md</a><br><br></div><div>At step 3, I am getting the following errors below.<br><ol><li>Run Xcode with the latest toolchain. Follow <a href="https://swift.org/download/#apple-platforms">the instructions here</a> to start Xcode with the correct toolchain.</li><li>Open <code>Foundation.xcworkspace</code>.</li><li>Build the <em>SwiftFoundation</em> target. This builds CoreFoundation and Foundation.</li></ol></div><div><br><br></div>Foundation.build/Debug/SwiftFoundation.build/Objects-normal/x86_64/NSXMLDTDNode.swiftdeps -o /Users/Snuffles/Library/Developer/Xcode/DerivedData/Foundation-adgjiwkgknrodccxdwfsovunshof/Build/Intermediates/Foundation.build/Debug/SwiftFoundation.build/Objects-normal/x86_64/NSXMLDTDNode.o<br><br><b>/Users/Snuffles/development/swift-corelibs-foundation/Foundation/NSXMLDTDNode.swift:242:64: error: cannot convert value of type &#39;UnsafeMutablePointer&lt;Void&gt;&#39; (aka &#39;UnsafeMutablePointer&lt;()&gt;&#39;) to expected argument type &#39;OpaquePointer&#39;<br>            let unmanaged = Unmanaged&lt;NSXMLDTDNode&gt;.fromOpaque(privateData)</b><br></div>