Uploaded image for project: 'Swift'
  1. Swift
  2. SR-1060

_SwiftNativeNSError and SwiftObject are defined twice in SwiftRuntimeTests

    XMLWordPrintable

    Details

      Description

      Anything that links against libswiftRuntime.a and libswiftCore.dylib will get two copies of any class defined in libswiftRuntime.a, which is currently _SwiftNativeNSError and SwiftObject.

      error message
      objc[36230]: Class _SwiftNativeNSError is implemented in both /Users/tbirch/src/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/macosx/libswiftCore.dylib and /Users/tbirch/src/swift/../build//Ninja-ReleaseAssert/swift-macosx-x86_64/unittests/runtime/SwiftRuntimeTests. One of the two will be used. Which one is undefined.
      objc[36230]: Class SwiftObject is implemented in both /Users/tbirch/src/build/Ninja-ReleaseAssert/swift-macosx-x86_64/./lib/swift/macosx/libswiftCore.dylib and /Users/tbirch/src/swift/../build//Ninja-ReleaseAssert/swift-macosx-x86_64/unittests/runtime/SwiftRuntimeTests. One of the two will be used. Which one is undefined.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tbirch Tom Birch
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: