iOS How to's
How to get an ipa file?
- Navigate to the folder with your app.
- Now build the project from XCode.
- Get the path of the app file:
How to use Accessibility Inspector?
- Open Accessibility Inspector
- Open Simulator
- Connect your inspector with Simulator
- Open the screen on simulator that you want to inspect.
- Click info icon from Inspector
- Now use Forward/Backward button to go through the elements, or you can also enable screen reader (using play button)
Solving iOS App Install Issues:
When you have OSX Catalina or higher and try to manually install a downloaded iOS app, you can get an error: App is damaged and can't be opened. You should move it to the trash.
,
This is due to the new security settings in Catalina. This will not bother you when you install the app through Appium and or Appium desktop.
You can fix this with the following steps before dragging the app to the simulator:
- Unzip the app
- Open a terminal and go to the folder where the app is located
- Execute the following command from the command line
sudo xattr -rd com.apple.quarantine {name-of-the-unzipped-app}.app
- After typing your password the app has been modified and you can drag an drop it manually to the simulator