File tree 3 files changed +44
-6
lines changed
3 files changed +44
-6
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,27 @@ let package = Package(
30
30
name: " BuildableMacros " ,
31
31
dependencies: [
32
32
. product( name: " SwiftSyntaxMacros " , package : " swift-syntax " ) ,
33
- . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " )
33
+ . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
34
34
]
35
35
) ,
36
36
37
37
// Library that exposes a macro as part of its API, which is used in client programs.
38
- . target( name: " BuildableMacro " , dependencies: [ " BuildableMacros " ] ) ,
38
+ . target(
39
+ name: " BuildableMacro " ,
40
+ dependencies: [ " BuildableMacros " ] ,
41
+ resources: [
42
+ . process( " ../PrivacyInfo.xcprivacy " ) ,
43
+ ]
44
+ ) ,
39
45
40
46
// A client of the library, which is able to use the macro in its own code.
41
- . executableTarget( name: " BuildableMacroClient " , dependencies: [ " BuildableMacro " ] ) ,
47
+ . executableTarget(
48
+ name: " BuildableMacroClient " ,
49
+ dependencies: [ " BuildableMacro " ] ,
50
+ resources: [
51
+ . process( " ../PrivacyInfo.xcprivacy " ) ,
52
+ ]
53
+ ) ,
42
54
43
55
// A test target used to develop the macro implementation.
44
56
. testTarget(
Original file line number Diff line number Diff line change @@ -30,15 +30,27 @@ let package = Package(
30
30
name: " BuildableMacros " ,
31
31
dependencies: [
32
32
. product( name: " SwiftSyntaxMacros " , package : " swift-syntax " ) ,
33
- . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " )
33
+ . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
34
34
]
35
35
) ,
36
36
37
37
// Library that exposes a macro as part of its API, which is used in client programs.
38
- . target( name: " BuildableMacro " , dependencies: [ " BuildableMacros " ] ) ,
38
+ . target(
39
+ name: " BuildableMacro " ,
40
+ dependencies: [ " BuildableMacros " ] ,
41
+ resources: [
42
+ . process( " ../PrivacyInfo.xcprivacy " ) ,
43
+ ]
44
+ ) ,
39
45
40
46
// A client of the library, which is able to use the macro in its own code.
41
- . executableTarget( name: " BuildableMacroClient " , dependencies: [ " BuildableMacro " ] ) ,
47
+ . executableTarget(
48
+ name: " BuildableMacroClient " ,
49
+ dependencies: [ " BuildableMacro " ] ,
50
+ resources: [
51
+ . process( " ../PrivacyInfo.xcprivacy " ) ,
52
+ ]
53
+ ) ,
42
54
43
55
// A test target used to develop the macro implementation.
44
56
. testTarget(
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >NSPrivacyTracking</key >
6
+ <false />
7
+ <key >NSPrivacyAccessedAPITypes</key >
8
+ <array />
9
+ <key >NSPrivacyCollectedDataTypes</key >
10
+ <array />
11
+ <key >NSPrivacyTrackingDomains</key >
12
+ <array />
13
+ </dict >
14
+ </plist >
You can’t perform that action at this time.
0 commit comments