-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting permission not working #3
Comments
You need to provide the simulator UUID for the |
I've opened an enhancement issue for this. I'll see what I can do. |
I tried once with the simulator UUID. Maybe that is the trick. Subsequent runs still seemed to run against the open iPhone 7 simulator and restarted the Springboard. So something is working on the simulator. The main for me is how would I be able to use this in my CI script. I won't know the UUID on the remote machine where my tests are running, so I can't hardcode a UUID in. Is it possible to fuzzy logic the match and run on the closest match? Or first match? |
For now, you can use |
It might be possible to somehow filter |
I'll give that a try. I appreciate the help. |
Here is the command I ultimately ended up using in my yml file to set the permission. It does work once I set the permissions on the UDID rather than the name.
|
Thanks for posting this. I will work on a future improvement to allow specifying the simulator by name. |
When run locally on a clean simulator (app not installed) the command does not set the permissions for notifications.
applesimutils --simulator "iPhone 7" --bundle "my.bundle.id" --setPermissions "notifications=YES"
Am I missing something?
The text was updated successfully, but these errors were encountered: