hive-runner-ios 1.1.4 → 1.1.5
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 +4 -4
- data/lib/hive/worker/ios.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 482bedd7551e909154c5a6680daf01cfd9464ef0
|
4
|
+
data.tar.gz: 08bbbcbbc122a0f342c102a075770b3cbd73e392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c441d0bbbedc7450d1534cdcd99b87667382255d9b220f1d0cefbfce61e75767712cbc79d7e60aaeb5250d477db0264188e09422d680bc1a0805f59cd7b4b04
|
7
|
+
data.tar.gz: 5a428cdd0c5383e627fd44bf74a21722ddeee32363429948f721f9383ee7b2b3f56e7be050ec859f95a0f8bf42cb216a29db8f43e318a98715e074b7278fc9c0
|
data/lib/hive/worker/ios.rb
CHANGED
@@ -73,7 +73,7 @@ module Hive
|
|
73
73
|
|
74
74
|
file_system.fetch_build(job.build, app_path)
|
75
75
|
entitlements = FruityBuilder::IOS::Signing.enable_get_tasks(app_path)
|
76
|
-
FruityBuilder::IOS::Signing.sign_app(@options['signing_identity'], entitlements: entitlements, app: app_path)
|
76
|
+
FruityBuilder::IOS::Signing.sign_app({ cert: @options['signing_identity'], entitlements: entitlements, app: app_path } )
|
77
77
|
app_info = FruityBuilder::IOS::Plistutil.get_bundle_id_from_app(app_path)
|
78
78
|
app_bundle = app_info['CFBundleIdentifier']
|
79
79
|
device.install(app_path)
|
@@ -84,6 +84,12 @@ module Hive
|
|
84
84
|
|
85
85
|
ip_address = DeviceAPI::IOS::IPAddress.address(self.device['serial'])
|
86
86
|
|
87
|
+
if ip_address.nil?
|
88
|
+
# There is a bug in the IPAddress app that stopping the IP address from being
|
89
|
+
# returned when it's first run, however it works the second time around.
|
90
|
+
# This is a *temporary* fix until that issue can be resolved.
|
91
|
+
ip_address = DeviceAPI::IOS::IPAddress.address(self.device['serial'])
|
92
|
+
end
|
87
93
|
script.set_env 'CHARLES_PROXY_PORT', @worker_ports.reserve(queue_name: 'Charles') { @port_allocator.allocate_port }
|
88
94
|
|
89
95
|
# TODO: Allow the scheduler to specify the ports to use
|