cocoapods-bin 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Gemfile.lock +2 -2
- data/lib/cocoapods-bin/gem_version.rb +1 -1
- data/lib/cocoapods-bin/helpers/framework_builder.rb +10 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 02be3844cf4838b10c830fb6b40a546befae255ee6cd74846213c99308eb9423
|
4
|
+
data.tar.gz: de3a5f1c9029aa5352b839d1e0d66c2e34f2a04a3b8f7789e85faaf46257f04a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0af507f5397fb93d0034520cb0cbd4d3dddb1059cc23693d9fc9da59df9a332d5d799ade3e664dbfc7d94066d97aae53de11b1506eb3ee9642ed22244bcef5
|
7
|
+
data.tar.gz: 883a2621c7aa5e760027e944e06187e01cd2249d4d00ee5ff723654465ca876e33b61c4ec54858a0a11d3ef942e0621531730ad885693d0eb48f65300127396e
|
data/Gemfile.lock
CHANGED
@@ -120,7 +120,7 @@ module CBin
|
|
120
120
|
end
|
121
121
|
|
122
122
|
def static_libs_in_sandbox(build_dir = 'build')
|
123
|
-
Dir.glob("#{build_dir}/lib#{
|
123
|
+
Dir.glob("#{build_dir}/lib#{target_name}.a")
|
124
124
|
end
|
125
125
|
|
126
126
|
def build_static_library_for_ios(output)
|
@@ -157,8 +157,16 @@ module CBin
|
|
157
157
|
defines
|
158
158
|
end
|
159
159
|
|
160
|
+
def target_name
|
161
|
+
if @spec.available_platforms.count > 1
|
162
|
+
"#{@spec.name}-#{Platform.string_name(@spec.consumer(@platform).platform_name)}"
|
163
|
+
else
|
164
|
+
@spec.name
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
160
168
|
def xcodebuild(defines = '', args = '', build_dir = 'build')
|
161
|
-
command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration Release -target #{
|
169
|
+
command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration Release -target #{target_name} -project ./Pods.xcodeproj 2>&1"
|
162
170
|
output = `#{command}`.lines.to_a
|
163
171
|
|
164
172
|
if $?.exitstatus != 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tripleCC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|
@@ -160,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
- !ruby/object:Gem::Version
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
|
-
|
164
|
-
rubygems_version: 2.6.14
|
163
|
+
rubygems_version: 3.0.4
|
165
164
|
signing_key:
|
166
165
|
specification_version: 4
|
167
166
|
summary: cocoapods-bin is a plugin which helps develpers switching pods between source
|