[swift-corelibs-dev] unable to build swift core foundation
Rajeev Jeyaraj
rajeewgandhi.jeyaraj at gmail.com
Mon May 30 13:57:26 CDT 2016
Hi All,
I am trying to build the swift-corelibs-foundation
I followed the instructions from here:
https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/GettingStarted.md
At step 3, I am getting the following errors below.
1. Run Xcode with the latest toolchain. Follow the instructions here
<https://swift.org/download/#apple-platforms> to start Xcode with the
correct toolchain.
2. Open Foundation.xcworkspace.
3. Build the *SwiftFoundation* target. This builds CoreFoundation and
Foundation.
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
*/Users/Snuffles/development/swift-corelibs-foundation/Foundation/NSXMLDTDNode.swift:242:64:
error: cannot convert value of type 'UnsafeMutablePointer<Void>' (aka
'UnsafeMutablePointer<()>') to expected argument type
'OpaquePointer' let unmanaged =
Unmanaged<NSXMLDTDNode>.fromOpaque(privateData)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160530/074a4605/attachment.html>
More information about the swift-corelibs-dev
mailing list