GithubHelp home page GithubHelp logo

Comments (5)

plu avatar plu commented on May 10, 2024

Can you please share the code so I can try to reproduce the issue?

from simctl.

stowy avatar stowy commented on May 10, 2024

sure, let me just test locally after installing the update, i was using a beta version of XCode 8.1

from simctl.

stowy avatar stowy commented on May 10, 2024

this is the code that isn't running currently:

  require 'simctl'
  puts SimCtl::Runtime.latest(:ios).name
  puts SimCtl.devicetype(name: 'iPhone 6').name

  # Destroy and create devices for given name, type and os version
  runtime = SimCtl::Runtime.latest(:ios)

  name = $options.sim_name
  device = SimCtl.device({"name"=>name})
  created = false
  if device == nil then
    puts "Creating device #{name}"
    device = SimCtl.create_device(name, SimCtl.devicetype(name: 'iPhone 6'), runtime)
    created = true
  end

  if (device.state != :booted) then
    puts "Booting device #{name}"
    device.launch!
    device.wait!{|d| d.state == :booted }
    if !$options.boot_only && !$options.build then
      # Wait for sim to load before running tests
      if created then
        sleep 10
      end
      sleep 5
    end
  end

I think the failure we're seeing is at the wait command

from simctl.

stowy avatar stowy commented on May 10, 2024

Never mind, seems i was wrong, is working after the latest update. Thanks for your attention and very useful tool!

from simctl.

plu avatar plu commented on May 10, 2024

Perfect! Thanks for the feedback!

from simctl.

Related Issues (19)

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.