Hi All,

I am new to this forum.

I am trying to build the xctest project. I followed the instructions at
https://github.com/apple/swift-corelibs-xctest

I am able to successfully build via the build scripts. But, if I build
XCTest using xcode using the SwiftXCTest scheme I am getting a few errors.

1. 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)

2. swift-corelibs-foundation/Foundation/NSTimer.swift:14:47: error: cannot
convert value of type 'UnsafeMutablePointer<Void>' (aka
'UnsafeMutablePointer<()>') to expected argument type 'OpaquePointer'
    let t = Unmanaged<NSTimer>.fromOpaque(info!).takeUnretainedValue()

etc.

My dev environment,
OS: Mac OSX El Capitan 10.11.4 (15E65).
Xcode Version: Version 7.3.1 (7D1014)
XCode Toolchain: Swift Development Snapshot 2016-05-09 (a)

Any help is appreciated.

Regards,
Madhu
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to