Skip to content

Commit 36e8453

Browse files
authored
Fix PrivacyInfo bundling issues (#241)
1 parent a5a3d11 commit 36e8453

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

GTMAppAuth.podspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ requests with AppAuth.
2121
s.source = { :git => 'https://github.com/google/GTMAppAuth.git', :tag => s.version }
2222
s.prefix_header_file = false
2323
s.source_files = 'GTMAppAuth/Sources/**/*.swift'
24+
s.resource_bundles = {
25+
"GTMAppAuth_Privacy" => "GTMAppAuth/Sources/Resources/PrivacyInfo.xcprivacy"
26+
}
2427

2528
ios_deployment_target = '10.0'
2629
osx_deployment_target = '10.12'

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let package = Package(
4343
.product(name: "AppAuthCore", package: "AppAuth-iOS")
4444
],
4545
path: "GTMAppAuth/Sources",
46-
resources: [.copy("../../PrivacyInfo.xcprivacy")],
46+
resources: [.copy("Resources/PrivacyInfo.xcprivacy")],
4747
linkerSettings: [
4848
.linkedFramework("Security"),
4949
]

0 commit comments

Comments
 (0)