Skip to content

Commit

Permalink
Fix PrivacyInfo bundling issues (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmathias authored Mar 13, 2024
1 parent a5a3d11 commit 36e8453
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions GTMAppAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ requests with AppAuth.
s.source = { :git => 'https://github.com/google/GTMAppAuth.git', :tag => s.version }
s.prefix_header_file = false
s.source_files = 'GTMAppAuth/Sources/**/*.swift'
s.resource_bundles = {
"GTMAppAuth_Privacy" => "GTMAppAuth/Sources/Resources/PrivacyInfo.xcprivacy"
}

ios_deployment_target = '10.0'
osx_deployment_target = '10.12'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let package = Package(
.product(name: "AppAuthCore", package: "AppAuth-iOS")
],
path: "GTMAppAuth/Sources",
resources: [.copy("../../PrivacyInfo.xcprivacy")],
resources: [.copy("Resources/PrivacyInfo.xcprivacy")],
linkerSettings: [
.linkedFramework("Security"),
]
Expand Down

0 comments on commit 36e8453

Please sign in to comment.