                 "benchmarks",
                 "notifications-fuzzer"
             ],
-            cxxSettings: [
+            cxxSettings: ([
                 .define("REALM_ENABLE_SYNC", to: "1"),
                 .define("REALM_PLATFORM_APPLE", to: "1", .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])),
                 .headerSearchPath("."),
                 .headerSearchPath("../../external/catch/single_include")
-            ] + cxxSettings)
+            ] + cxxSettings) as [CXXSetting])
     ],
     cxxLanguageStandard: .cxx1z
 )

            ],
            sources: ["realm/object-store"],
            publicHeadersPath: "realm/object-store",
            cxxSettings: [
                .define("REALM_ENABLE_SYNC", to: "1"),
                .define("REALM_PLATFORM_APPLE", to: "1", .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])),
                .headerSearchPath("realm/object-store")
            ] + cxxSettings),
        .target(
            name: "ObjectStoreTests",
            dependencies: ["ObjectStore", "SyncServer"],

            name: "SyncClient",
            dependencies: ["Storage"],
            path: "src",
            exclude: ([
                "realm/sync/crypto_server_openssl.cpp",
            ] + syncCommandSources + syncServerSources) as [String],
            sources: [
                "realm/sync",
                "realm/util/network.cpp",
