Giter VIP home page Giter VIP logo

hive-runner-ios's Introduction

hive-runner-ios

iOS component for the hive-runner - see the change log for release notes

Quick start

Install the hive-runner and setup your hive as described in the hive-runner Readme.

When presented with the option of adding a module, do so and enter 'ios' as the module name, select yes to retrieve from Github and enter BBC as the account name.

Configuration file

The configuration file allows you to specify the Development Team, Provisioning Certificate, Signing Identity and Bundle ID to use when testing your app, please change these as appropriate:

ios:
  provisioning_cert: iOS Team Provisioning Profile: *
  development_team:  DEVELOPMENT_TEAM_ID
  signing_identity:  iPhone Developer
  bundle_id:         TEST_APP

hive-runner-ios's People

Contributors

jrmhaig avatar asimk21 avatar davidbuckhurst avatar wordswords avatar

Stargazers

Filipe A Moreira avatar Venkatesh avatar Dylan Lewis avatar Angus H. avatar Tomas D'Stefano avatar Jon Wilson avatar

Watchers

Charlie Rogers avatar UncleAaroh.eth avatar John Cleveley avatar Joel Merrick avatar Tom Cartwright avatar Matthew Williams avatar James Cloos avatar  avatar Richard Lyon avatar Viktar Karanevich avatar Chris Harrod avatar Jenna Statham avatar  avatar Jitesh Gosai avatar Jayashree Nayak avatar Rupam Saha avatar Saumya Negi avatar  avatar Mike Smith avatar Dylan Lewis avatar  avatar

hive-runner-ios's Issues

IOS Hive: undefined method `identity'

Observing below error quite a few times now.

ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/device.rb:80:in ==': undefined methodidentity' for #Hash:0x007ffef592bd40 (NoMethodError)
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:65:in find_index' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:65:inblock (2 levels) in check_controllers'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:63:in each' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:63:inblock in check_controllers'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:58:in each' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:58:incheck_controllers'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:50:in block in run' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:47:inloop'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/lib/hive/register.rb:47:in run' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/bin/start_hive:120:in<top (required)>'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/application.rb:219:in load' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/application.rb:219:instart_load'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/application.rb:298:in start' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/controller.rb:56:inrun'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons.rb:148:in block in run' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/cmdline.rb:92:incall'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons/cmdline.rb:92:in catch_exceptions' from /Users/titan/.rvm/gems/ruby-2.2.1/gems/daemons-1.2.4/lib/daemons.rb:147:inrun'
from /Users/titan/.rvm/gems/ruby-2.2.1/gems/hive-runner-2.1.7/bin/hived:31:in <top (required)>' from /Users/titan/.rvm/gems/ruby-2.2.1/bin/hived:23:inload'
from /Users/titan/.rvm/gems/ruby-2.2.1/bin/hived:23:in <main>' from /Users/titan/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:ineval'
from /Users/titan/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `

'

Clean up build name

Currently the build is always names 'build.ipa' even if it's a .app. It won't affect the script from working, but it would be cleaner if it was named appropriately

ERROR: Could not connect to lockdownd, error code -21

As mentioned in #30, XCode 8 causes an issue with different permissions on /var/db/lockdown resulting in the error message above when trying to access a device as a non-root user.

โžœ  ~ ideviceinfo
ERROR: Could not connect to lockdownd, error code -21

Error when trying to install BBC+ on the iPhone 6

As seen in recent jobs, we are getting the following error when trying to install the BBC+ app to the Apple iPhone 6 attached to Hive 3

WARNING: could not locate iTunesMetadata.plist in archive! WARNING: could not locate Payload/BBCHomepageApp.app/SC_Info/BBCHomepageApp.sinf in archive!

Hive crashing while fetching queue information

lib/hive/controller/ios.rb:140:in []': no implicit conversion of String into Integer (TypeError) from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:140:infind_or_create_queue'
from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:126:in block in populate_queues' from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:126:inmap'
from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:126:in populate_queues' from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:38:inblock in detect'
from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:26:in each' from /Users/hive/.rvm/gems/ruby-2.2.0/bundler/gems/hive-runner-ios-0ba155529f15/lib/hive/controller/ios.rb:26:indetect'
from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:60:in block in check_controllers' from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:55:ineach'
from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:55:in check_controllers' from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:47:inblock in run'
from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:44:in loop' from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/lib/hive/register.rb:44:inrun'
from /Users/hive/.rvm/gems/ruby-2.2.0/gems/hive-runner-2.0.5/bin/start_hive:120:in <top (required)>' from /Users/hive/.rvm/gems/ruby-2.2.0/bin/start_hive:23:inload'
from /Users/hive/.rvm/gems/ruby-2.2.0/bin/start_hive:23:in <main>' from /Users/hive/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:ineval'
from /Users/hive/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `

'

Polling devices silently fails when there's an issue with the connected device(s)

As seen here, there is currently an issue with the latest version of XCode breaking /var/db/lockdown by changing the permissions. When the runner starts, it will correctly detect the device but then silently fail when trying to get any information about it (due to the lockdownd -21 error).

Do we want to surface this information in someway?

IPAddress not being installed blocks testing

The "IP Address package not installed:" message is throwing an exception and blocking any iOS testing if you're running on a device without it being installed.

This is incorrect as it should be a warning and attempt to continue on with the test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.