                 .Target(name: "RxTests")
             ]
         )
+    ],
+    exclude: [
+        "Sources/RxCocoa",
     ]
 )
 #endif

                .Target(name: "RxTests")
            ]
        )
    ]
)
#elseif os(Linux)
let package = Package(
    name: "RxSwift",
    exclude: [
        "Sources/RxCocoa",
    ],
    targets: [
        Target(
            name: "RxSwift"

#if os(OSX)
let package = Package(
    name: "RxSwift",
    targets: [
        Target(
            name: "RxSwift"
