Skip to content

Commit

Permalink
fix privacy manifest location
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Apr 26, 2024
1 parent c8f77cb commit 97e31b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion InstantSearch.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|

s.default_subspec = 'UI'

s.resource_bundles = { 'InstantSearch' => ['PrivacyInfo.xcprivacy'] }
s.resource_bundles = { 'InstantSearch' => ['Sources/PrivacyInfo.xcprivacy'] }

s.subspec "Insights" do |ss|
ss.source_files = 'Sources/InstantSearchInsights/**/*.{swift}'
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let package = Package(
name: "InstantSearchInsights",
dependencies: ["AlgoliaSearchClient"],
exclude: ["Readme.md"],
resources: [.copy("PrivacyInfo.xcprivacy")]
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "InstantSearchInsightsTests",
Expand All @@ -51,7 +51,7 @@ let package = Package(
.target(
name: "InstantSearchCore",
dependencies: ["AlgoliaSearchClient", "InstantSearchInsights", .product(name: "InstantSearchTelemetry", package: "InstantSearchTelemetry")],
resources: [.copy("PrivacyInfo.xcprivacy")]
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "InstantSearchCoreTests",
Expand All @@ -70,7 +70,7 @@ let package = Package(
.target(
name: "InstantSearch",
dependencies: ["InstantSearchCore"],
resources: [.copy("PrivacyInfo.xcprivacy")]
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "InstantSearchTests",
Expand All @@ -79,7 +79,7 @@ let package = Package(
.target(
name: "InstantSearchSwiftUI",
dependencies: ["InstantSearchCore", .product(name: "InstantSearchTelemetry", package: "InstantSearchTelemetry")],
resources: [.copy("PrivacyInfo.xcprivacy")]
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "InstantSearchSwiftUITests",
Expand Down
File renamed without changes.

0 comments on commit 97e31b2

Please sign in to comment.