Giter Club home page Giter Club logo

Comments (8)

LeoNatan avatar LeoNatan commented on June 16, 2024

This is a tool that is usually used in automation tools, such as Detox and Appium. As such, quoting the --help output is enough.

--setPermissions, -sp Sets the specified permissions and restarts SpringBoard for the changes to take effect

You use this command to set specified permissions (enabled, disabled or unset) for an app. This is useful when running tests and you do not want the system alerts to appear.

from applesimulatorutils.

patchthecode avatar patchthecode commented on June 16, 2024

thank you

from applesimulatorutils.

LeoNatan avatar LeoNatan commented on June 16, 2024

Is there something specific you are looking for?

from applesimulatorutils.

patchthecode avatar patchthecode commented on June 16, 2024

Yes, I am looking to see how you prevented iOS permission messages from appearing, as I need it in a project I am working on. I could not tell if this project had this. But you have made it clear to me that it does. So thank you.

from applesimulatorutils.

LeoNatan avatar LeoNatan commented on June 16, 2024

The code you see here will only work on iOS Simulator, and cannot be run from the process you are running.

from applesimulatorutils.

patchthecode avatar patchthecode commented on June 16, 2024

I am sorry, but can you explain a bit more?

The code you see here will only work on iOS Simulator

I understand this.

and cannot be run from the process you are running.

But you lost me here

from applesimulatorutils.

LeoNatan avatar LeoNatan commented on June 16, 2024

The code in this repo modifies system database files to add the appropriate permission for the specified bundle. This might be possible on the simulator the app process, but the way runtime permissions work on iOS, you will need to terminate the app process, sometimes a daemon has to be stopped before modifying permissions, and in some cases, you need to restart the SpringBoard process in order for the changes to accept. You cannot do these things from the app process.

from applesimulatorutils.

patchthecode avatar patchthecode commented on June 16, 2024

Thanks for the explanation.
I understand now.
I will not worry, I have a way to make this all work together.
Thanks again.

from applesimulatorutils.

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.