Git Product home page Git Product logo

Comments (7)

marekcirkos avatar marekcirkos commented on July 30, 2024

When you boot with FBSimulatorLaunchOptionsEnableDirectLaunch it will start simulator but it will not open Simulator application. This way you operate simulator "in the background" which is lighter as system does not have to render it.

from idb.

sapieneptus avatar sapieneptus commented on July 30, 2024

@marekcirkos Yes, I figured that. However, when I boot in this way and then do a check of the simulator state on a subsequent run, it is reporting shutdown.

Regardless, it sounds whatever is causing the resizing issue is present in all three other methods? Is this a known issue? I don't see any config options that seem to control the ability to resize.

Launching with different initial scales doesn't seem to help either.

from idb.

marekcirkos avatar marekcirkos commented on July 30, 2024

We use simulators in automated way, so there is no need for resizing by hand.
Do you mind saying what is your use case?

from idb.

sapieneptus avatar sapieneptus commented on July 30, 2024

I suppose the obvious one is if someone is debugging their test (or debugging the Driver itself during an integration test).

from idb.

sapieneptus avatar sapieneptus commented on July 30, 2024

Or suppose someone simply wanted to launch a sim and make a tiny CLI over FBSimulatorControl to launch a sim of their choosing - they'd probably want to be able to resize it as is usual.

from idb.

lawrencelomax avatar lawrencelomax commented on July 30, 2024

We essentially fix the size by passing the value in the arguments as an NSUserDefault. If you need to resize, don't pass a scale value. Since the NSUserDefaults is shared by all Simulator apps it's not possible to initially override with an argument but allow the user to change it at runtime without shimming.

from idb.

lawrencelomax avatar lawrencelomax commented on July 30, 2024

I think this is a wontfix so closing. If there's any other points that you think are important, please let us know.

from idb.

Related Issues (20)

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.