Skip to content

Commit

Permalink
[GoogleUtilities] Rename privacy SwiftPM target to exclude dash
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Mar 5, 2024
1 parent 830ffa9 commit 3fd02fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 7.13.1 (SwiftPM Only)
- Attempt to fix validation error due to invalid module name. (#146)

# 7.13.0
- Add privacy manifest. (#128)

Expand Down
20 changes: 10 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ let package = Package(
// TODO: Restructure directory structure to simplify the excludes here.
targets: [
.target(
name: "GoogleUtilities-Privacy",
name: "GoogleUtilitiesPrivacy",
path: "GoogleUtilities/Privacy",
resources: [.process("Resources/PrivacyInfo.xcprivacy")]
),
Expand All @@ -82,7 +82,7 @@ let package = Package(
dependencies: ["GoogleUtilities-Environment",
"GoogleUtilities-Logger",
"GoogleUtilities-Network",
"GoogleUtilities-Privacy"],
"GoogleUtilitiesPrivacy"],
path: "GoogleUtilities",
exclude: [
"AppDelegateSwizzler/README.md",
Expand Down Expand Up @@ -111,7 +111,7 @@ let package = Package(
dependencies: [
.product(name: "FBLPromises", package: "Promises"),
"third-party-IsAppEncrypted",
"GoogleUtilities-Privacy",
"GoogleUtilitiesPrivacy",
],
path: "GoogleUtilities/Environment",
publicHeadersPath: "Public",
Expand All @@ -132,7 +132,7 @@ let package = Package(

.target(
name: "GoogleUtilities-Logger",
dependencies: ["GoogleUtilities-Environment", "GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilities-Environment", "GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/Logger",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -142,7 +142,7 @@ let package = Package(

.target(
name: "GoogleUtilities-ISASwizzler",
dependencies: ["GoogleUtilities-Logger", "GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilities-Logger", "GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/ISASwizzler",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -152,7 +152,7 @@ let package = Package(

.target(
name: "GoogleUtilities-MethodSwizzler",
dependencies: ["GoogleUtilities-Logger", "GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilities-Logger", "GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/MethodSwizzler",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -164,7 +164,7 @@ let package = Package(
dependencies: ["GoogleUtilities-Logger",
"GoogleUtilities-NSData",
"GoogleUtilities-Reachability",
"GoogleUtilities-Privacy"],
"GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/Network",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -173,7 +173,7 @@ let package = Package(
),
.target(
name: "GoogleUtilities-NSData",
dependencies: ["GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/NSData+zlib",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -185,7 +185,7 @@ let package = Package(
),
.target(
name: "GoogleUtilities-Reachability",
dependencies: ["GoogleUtilities-Logger", "GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilities-Logger", "GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/Reachability",
publicHeadersPath: "Public",
cSettings: [
Expand All @@ -194,7 +194,7 @@ let package = Package(
),
.target(
name: "GoogleUtilities-UserDefaults",
dependencies: ["GoogleUtilities-Logger", "GoogleUtilities-Privacy"],
dependencies: ["GoogleUtilities-Logger", "GoogleUtilitiesPrivacy"],
path: "GoogleUtilities/UserDefaults",
publicHeadersPath: "Public",
cSettings: [
Expand Down

0 comments on commit 3fd02fb

Please sign in to comment.