nixenvironment 0.0.89 → 0.0.90
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nixenvironment/archiver.rb +20 -1
- data/lib/nixenvironment/version.rb +1 -1
- data/lib/nixenvironment/xcodebuild.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce30654e4cde2352a2cbdb863e78c907a93b445
|
4
|
+
data.tar.gz: 2f619dce3a62663ad34132e0a607155a3e5a5ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3705f16a43821df1749060f4087a187297a3451e3c025500ee347d42c5f99dc202657551f70553461c3d5c1502923703c7ea059a08806068b5203a4a5d855b3
|
7
|
+
data.tar.gz: b7543be710dccc753f26694b5069962ed5414a197b41ea729c8e9b67a4eccc17b76c4707301ee9a761a78487e5a0f650ca07e3c55a6c752c9f6936eb009742fe
|
@@ -317,6 +317,25 @@ module Nixenvironment
|
|
317
317
|
dest_widget_product_path, widget_profile_path, new_widget_bundle_id)
|
318
318
|
end
|
319
319
|
|
320
|
+
# codesign frameworks
|
321
|
+
frameworks_path = File.join(dest_app_product_path, 'Frameworks')
|
322
|
+
if Dir.exist?(frameworks_path)
|
323
|
+
puts_header "--> Codesign frameworks:"
|
324
|
+
Dir.glob(File.join(frameworks_path, '*.framework')) do |framework|
|
325
|
+
if File.exist?(File.join(framework, 'Info.plist'))
|
326
|
+
framework_bundle_id = get_bundle_id(framework)
|
327
|
+
new_framework_bundle_id = "#{new_bundle_id}.#{framework_bundle_id}"
|
328
|
+
puts_header "--> Rename bundle id from '#{framework_bundle_id}' into '#{new_framework_bundle_id} in '#{framework}' Info.plist ..."
|
329
|
+
set_plist_values_in_app_path(framework, 'CFBundleIdentifier' => framework_bundle_id)
|
330
|
+
end
|
331
|
+
|
332
|
+
codesign_args = ['/usr/bin/codesign', '--force', '--sign', "'#{identity_name}'", "'#{framework}'"]
|
333
|
+
|
334
|
+
puts_header "--> Codesign framework with params #{codesign_args} ..."
|
335
|
+
system(codesign_args.join(' '))
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
320
339
|
codesign(identity_name, new_entitlements_path, is_provision_replaced, is_bundle_id_or_name_changed, dest_app_product_path, profile_path, new_bundle_id)
|
321
340
|
|
322
341
|
if Dir.exist?(new_ipa_path)
|
@@ -332,7 +351,7 @@ module Nixenvironment
|
|
332
351
|
end
|
333
352
|
|
334
353
|
def codesign(identity_name, new_entitlements_path, is_provision_replaced, is_bundle_id_or_name_changed, dest_app_product_path, profile_path, new_bundle_id)
|
335
|
-
codesign_args = ['/usr/bin/codesign', '--force', '--sign', "'#{identity_name}'"]
|
354
|
+
codesign_args = ['/usr/bin/codesign', '--force', '--deep', '--sign', "'#{identity_name}'"]
|
336
355
|
|
337
356
|
# now let's figure out the entitlements...
|
338
357
|
if new_entitlements_path.present?
|
@@ -76,7 +76,7 @@ module Nixenvironment
|
|
76
76
|
build_args << "-xcconfig '#{code_coverage_config}'" if code_coverage_config.present?
|
77
77
|
build_args << "-destination-timeout '#{timeout}'" if timeout.present?
|
78
78
|
build_args << "-destination '#{destination}'" if destination.present?
|
79
|
-
build_args << "
|
79
|
+
build_args << "| ocunit2junit"
|
80
80
|
|
81
81
|
execute('test', build_args)
|
82
82
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nixenvironment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.90
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|