One question is in my mind, that when ever I set Ios settings from appium, then i click Launch button, it show some logs and then print Appium is listening on xxx port.
Means appium ran successfully.
But it does not install app on ios simulator ? Like previously I was doing for Android, and after launching it runs app on android emulator.
Instead it tries to install app when i click on Inspector button .
Am i missing some thing ?
for iOS automation from appium, can we access source code of iOS application ? Or we just use ipa, and gets its UI element (means we cannot test background data)?
I see a similar issue but slightly different. When I install the app on simulator via a script, the install goes through fine but the app keeps crashing. Manually if i try to open the app on simulator it crashes as well. The build i used were archived debug development build.
Can someone help me out here?
Error seen in logs:
…
…
Program specified by service does not contain one of the requested architectures: P
…
Error launching instruments: Instruments crashed on startup
I got error: We exceeded the number of retries allowed for instruments to successfully start
It was occurringe whenever I tried to run tests on a simulator that was duplicated - same simulator name was listed more than once (Xcode -> window -> devices).
Removing all duplicates helped, so if you want to remove this issue permanently, you need to find out what’s causing the simulator to duplicate.
I got the same issue that with “[Instruments] Error launching instruments: Instruments crashed on startup”,and the error code is 255, I find the develop was lost in my iphone,when I reopen it ,it could work.
I think maybe something wrong on iPhone 6s. What will be installed on iPhone? The instruments version was in a mess? How to clean the data on iPhone? Anyone knows it?
With no logs you are asking purely for a guess. My guess is that Settings->Developer->Enable UI Automation is set on the one that works, but not the one that does not work.
[debug] [Instruments] [INST STDERR] 2017-05-29 18:38:27.201 instruments[8825:149925] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] Instruments exited with code 253
[Instruments] Error launching instruments: Instruments crashed on startup