cocoapods-privacy 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06cfd0105293d04c3f940b48b2a591daa1c361ddceeca67e4c19263984b5e5dd
|
4
|
+
data.tar.gz: bdbba9767ad2127bee8fbbbac60bd2b06adcd3471d29899f6f2a829582f68f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc73b9f26811740f419e0519e34f765ee596e9bb52c17c8767866867d078d697c509a17cf0ee111a4ec8db755550d32b4fda4920cb67bcea3a747c48c218e0fa
|
7
|
+
data.tar.gz: 2142d38a2e33517f88c44b2108c5db12adc40467b95b4135a30692c28cad5c71a81c37b0f5ff34b8b1cfb74823785c4f64b5a8d86960fab385788f77f5ecde93
|
@@ -154,7 +154,9 @@ module PrivacyModule
|
|
154
154
|
|
155
155
|
# 如果不存在引用,创建新的引入xcode引用
|
156
156
|
if resources_group.find_file_by_path(PrivacyUtils.privacy_name).nil?
|
157
|
-
resources_group.new_reference(PrivacyUtils.privacy_name)
|
157
|
+
privacy_file_ref = resources_group.new_reference(PrivacyUtils.privacy_name)
|
158
|
+
target = project.targets.first
|
159
|
+
target.add_file_references([privacy_file_ref]) # 将文件引用添加到 target 中
|
158
160
|
# resources_group.new_file(privacy_file_path)
|
159
161
|
end
|
160
162
|
|