Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-298

OS X Swift installation test fails due to using prebuilt binary for wrong Swift version

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      When releasing v2.4.3 tonight the installation examples job failed: https://ci.realm.io/job/Cocoa%20Release%20Installation%20Examples/37/.

      In particular, the two jobs that test Swift with our prebuilt dynamic libraries fail with errors like this:

      /Users/realm/workspace/Cocoa Release Installation Examples/binding/swift/method/dynamic/platform/osx/realm-cocoa/examples/installation/osx/swift-3.0/DynamicExample/DynamicExample/AppDelegate.swift:20:8: error: module compiled with Swift 3.0 cannot be imported in Swift 3.0.2: /Users/realm/workspace/Cocoa Release Installation Examples/binding/swift/method/dynamic/platform/osx/realm-cocoa/examples/installation/osx/swift-3.0/DynamicExample/../../../realm-swift-latest/osx/swift-3.0/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule

      It looks like Xcode 8.2 with Swift 3.0.2 is being used to build the example, but something is pulling in the Swift 3.0.0 version of the framework.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: