You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm trying to install permissions on my sim when running inside a VM for our CI builds. The version we have is throwing an error when trying to set permissions.
This is from our iOS 11 device.
jenkins@Jenkinss-Mac ~ % applesimutils --byId "6B1ACB67-56F7-4610-92AA-74E931411579" --bundle "simpleinout" --setPermissions "notifications=YES, location=always, contacts=YES"
Got error:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
The operation couldn’t be completed. No such file or directory
No such file or directory
If I run the same command against a newer runtime, it crashes out like this:
Steps to Reproduce
Steps to reproduce the behavior: applesimutils --byId "6B1ACB67-56F7-4610-92AA-74E931411579" --bundle "simpleinout" --setPermissions "notifications=YES, location=always, contacts=YES"
Error listed above
Expected Behavior
Permissions should set and sim should be ready to run tests.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
macOS version: 11.1
Xcode version: 12.4
Runtimes: iOS 11.4, 12.4
Additional Context
I'm not entirely sure how this issue cropped up. We've had this working on our local machines. I can't recreate it on my local, but our VM seems to be stricken at the moment. I'm not sure how to fix this at the moment, any help would be greatly appreciated.
These are the errors I get when I create the device manually and try to set the permissions on it. When it runs in the context of our CI, we get this message:
+ tmp/tools/macos/run.sh 'bin/test -i'
Capture IP address of the virtual machine
Running 'bin/test -i' in iOS 14 v3 @ ***IPADDRESS***
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
Unable to boot device in current state: Booted
bin/test: line 93: applesimutils: command not found
bin/test is a bash script that starts the sim, applies the permissions to it, and executes our tests.
The text was updated successfully, but these errors were encountered:
Description
I'm trying to install permissions on my sim when running inside a VM for our CI builds. The version we have is throwing an error when trying to set permissions.
This is from our iOS 11 device.
If I run the same command against a newer runtime, it crashes out like this:
Using version 0.9.2
Steps to Reproduce
Steps to reproduce the behavior:
applesimutils --byId "6B1ACB67-56F7-4610-92AA-74E931411579" --bundle "simpleinout" --setPermissions "notifications=YES, location=always, contacts=YES"
Error listed above
Expected Behavior
Permissions should set and sim should be ready to run tests.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional Context
I'm not entirely sure how this issue cropped up. We've had this working on our local machines. I can't recreate it on my local, but our VM seems to be stricken at the moment. I'm not sure how to fix this at the moment, any help would be greatly appreciated.
These are the errors I get when I create the device manually and try to set the permissions on it. When it runs in the context of our CI, we get this message:
bin/test is a bash script that starts the sim, applies the permissions to it, and executes our tests.
The text was updated successfully, but these errors were encountered: