Skip to content

Commit

Permalink
Fix Package Manager for Catalyst
Browse files Browse the repository at this point in the history
Summary:
A required macro was not available for macOS platform.

Fixes: facebook#1577

Differential Revision: D25064406

fbshipit-source-id: e6042725b964fc8529946fade1cd19890ded314a
  • Loading branch information
joesus authored and facebook-github-bot committed Nov 18, 2020
1 parent 3ff7a29 commit 9f4182c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ let package = Package(
cSettings: [
.headerSearchPath("Internal"),
.headerSearchPath("../../FBSDKCoreKit/FBSDKCoreKit/Internal"),
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS], configuration: nil))
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS, .macOS], configuration: nil))
]
),
.target(
Expand All @@ -116,7 +116,7 @@ let package = Package(
cSettings: [
.headerSearchPath("Internal"),
.headerSearchPath("../../FBSDKCoreKit/FBSDKCoreKit/Internal"),
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS], configuration: nil))
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS, .macOS], configuration: nil))
]
),
.target(
Expand All @@ -133,7 +133,7 @@ let package = Package(
.headerSearchPath("Internal"),
.headerSearchPath("../../FBSDKCoreKit/FBSDKCoreKit/Internal"),
.headerSearchPath("../../FBSDKShareKit/FBSDKShareKit/Internal"),
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS], configuration: nil))
.define("FBSDK_SWIFT_PACKAGE", to: nil, .when(platforms: [.iOS, .macOS], configuration: nil))
]
),
.target(
Expand Down

0 comments on commit 9f4182c

Please sign in to comment.