cocoapods-rn-toolkit 0.0.12 → 0.0.13
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: 31a191ee21b84d1f5919b68ac249396adf65fb2d705deec8a28929d08c406142
|
4
|
+
data.tar.gz: bd860ff9631e499d2e383e740ae2813cb56f8a31c466442fde0556651dc9ea49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 403bef152cc3cb9928997fe966b6c0d798afac9871e4b9771da49215df43a0950afac3ee771463c26b101ea70e077588dd8ad6868fc6d85b961034474a40f972
|
7
|
+
data.tar.gz: 150e32f9e9180f317bef458247de3b0f61e7d7e48fb1fd74c2142e18331a13824ca5fa77dcf27285a0df79da79e8d870447929393354824ee190f4fb36c7e917
|
@@ -1,10 +1,14 @@
|
|
1
1
|
module CocoapodsRnToolkit
|
2
2
|
module LibrarySearchPaths
|
3
|
-
def self.apply(
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
def self.apply(context)
|
4
|
+
# 获取所有的用户项目
|
5
|
+
user_projects = context.umbrella_targets.map(&:user_project).uniq(&:path)
|
6
|
+
|
7
|
+
# 获取 Pods 项目
|
8
|
+
pods_project = context.pods_project
|
9
|
+
|
10
|
+
# 合并所有需要处理的项目
|
11
|
+
projects = user_projects + [pods_project]
|
8
12
|
|
9
13
|
projects.each do |project|
|
10
14
|
project.build_configurations.each do |config|
|