Skip to content

Commit

Permalink
refactor: use unsafaeFlags for evolution support
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Aug 9, 2023
1 parent 988c2da commit dee6200
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,32 +69,32 @@ let package = Package(
.target(
name: "PubNub",
path: "Sources/PubNub",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
swiftSettings: [
.unsafeFlags(["-enable-library-evolution"]),
]
),
.target(
name: "PubNubUser",
dependencies: ["PubNub"],
path: "PubNubUser/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
swiftSettings: [
.unsafeFlags(["-enable-library-evolution"]),
]
),
.target(
name: "PubNubSpace",
dependencies: ["PubNub"],
path: "PubNubSpace/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
swiftSettings: [
.unsafeFlags(["-enable-library-evolution"]),
]
),
.target(
name: "PubNubMembership",
dependencies: ["PubNub", "PubNubUser", "PubNubSpace"],
path: "PubNubMembership/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
swiftSettings: [
.unsafeFlags(["-enable-library-evolution"]),
]
),
.testTarget(
Expand Down

0 comments on commit dee6200

Please sign in to comment.