cocoapods-force-static-framework 0.0.2 → 0.0.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9198da5ec4ef823cb4aff87148833d4e865b3646
|
4
|
+
data.tar.gz: 14cbd946d923372703f3c26493e6f5c8d3d0fa57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a7d2a988366e4b47520e4c3d673f0f78bf1c01aff109b56b977aa3785cafea340cc24e1395530426d2d9efe333f0835aa3968c933fae0e737c05dd08c5ba1d4
|
7
|
+
data.tar.gz: a7da96e3ad97a81c4e4228296cb11217a48fc556c689e922b4acebaf606cc3ef9a5908bc35af584ef27017bf8e4bb4e0b1d995ba6ef880bb5d9e59cc874d4bde
|
@@ -16,8 +16,10 @@ module Pod
|
|
16
16
|
should_static = options.delete(Pod::Static.keyword)
|
17
17
|
requirements.pop if options.empty?
|
18
18
|
pod_name = Specification.root_name(name)
|
19
|
-
|
20
|
-
|
19
|
+
if should_static
|
20
|
+
@force_static_framework_names ||= []
|
21
|
+
@force_static_framework_names.push pod_name
|
22
|
+
end
|
21
23
|
end
|
22
24
|
end
|
23
25
|
|
@@ -44,11 +46,11 @@ module Pod
|
|
44
46
|
old_method = instance_method(:initialize)
|
45
47
|
|
46
48
|
define_method(:initialize) do |sandbox, host_requires_frameworks, user_build_configurations, archs, platform, specs, target_definitions, file_accessors, scope_suffix, build_type|
|
47
|
-
|
48
|
-
if target_definitions.first.force_static_framework_names.include?(specs.first.name)
|
49
|
-
|
49
|
+
reval = build_type[:build_type]
|
50
|
+
if target_definitions.first.force_static_framework_names.include?(Specification.root_name(specs.first.name))
|
51
|
+
reval = Target::BuildType.static_framework
|
50
52
|
end
|
51
|
-
old_method.bind(self).(sandbox, host_requires_frameworks, user_build_configurations, archs, platform, specs, target_definitions, file_accessors, scope_suffix, :build_type =>
|
53
|
+
old_method.bind(self).(sandbox, host_requires_frameworks, user_build_configurations, archs, platform, specs, target_definitions, file_accessors, scope_suffix, :build_type => reval)
|
52
54
|
end
|
53
55
|
|
54
56
|
end
|