iOS permissions capability not working with native Xcode
See original GitHub issueThe problem
capability.permissions={“blah”:{“location-always”: “yes”}} was working through Xcode in appium 1.17.0 and 1.17.1. Now with 1.18.0 I get the old error message about applesimutils
[debug] [W3C] Encountered internal error running command: Error: applesimutils binary has not been found in your PATH. Please install it ('brew tap wix/brew && brew install wix/brew/applesimutils') to be able to change application permissions
[debug] [W3C] at execWix (/usr/local/lib/node_modules/appium/node_modules/appium-ios-simulator/lib/permissions.js:41:11)
Environment
- Appium version (or git revision) that exhibits the issue: 1.18.0
- Last Appium version that did not exhibit the issue (if applicable): 1.17.1
- Desktop OS/version used to run Appium: Mac OSX 10.15.5
- Node.js version (unless using Appium.app|exe): v12.14.0
- Npm or Yarn package manager: Npm v6.13.4
- Mobile platform/version under test: iOS 13.5
- Real device or emulator/simulator: simulator
- Appium CLI or Appium.app|exe: CLI
Code To Reproduce Issue [ Good To Have ]
Start any session with anything like
capability.permissions={"blah":{"location-always": "yes"}}
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Adding capabilities to your app - Apple Developer
To use some app services, you must provision your app, adding a capability with Xcode's project editor that configures the app service correctly...
Read more >iOS 15 ATT permission not showing up · Issue #648 - GitHub
Bug summary ATT permission prompt not showing on iOS 15 Before it was working fine for iOS 14.5 and I didn't change anything....
Read more >Xcode iOS app not prompting for network access in release ...
I am building a react-native iOS app ...
Read more >iOS Permissions and Discovery | Cast - Google Developers
Apps built with versions of the Cast SDK using v4.4.8 or earlier will continue to work as long as they are built with...
Read more >Troubleshooting iOS - OneSignal Documentation
1. Toggle WiFi on iOS Device · 2. Xcode Capabilities · 3. Other Push Dependencies · 4. Cocoapods · 5. Logs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The error is expected. We’ve recently switched this logic to use native simctl commands, but it turned out these have bugs, so we had to revert back and use WIX, which is stable: https://github.com/appium/appium/issues/14355
could you also attach the log from the previous version where it worked?