Question one:
There is no communication between the Appium and the device.
error Log Fragment : encountered internal error running command:Error:Installing xx.xx.xx failed
cause : The lockdown service is hung up, causing appium and devices to communicate.
Resolution :
1. ideviceinstaller-l see if it is because the lockdown service has been hung, resulting in a failure.
2, if confirm is lockdown service hangs, terminal sudo chmod-r 777/var/db/lockdown/, start lockdown service.
Question two:
The app quickly appium after running the real-computer app.
Error log fragment:
Target failed to run:permission to debug cn.com.xxxx.xxxxx is denied, the app must be signed with a devepoment identity (e.g. IOS Developer)
Cause: The app to be tested is compiled onto the device with a packaged certificate.
Workaround: The app under test needs to compile the certificate to the device via Xcode Debug.
(Find problems and solutions, find development help, feel the whole world is quiet.) )
Thanks to Testerhome, the solution to the problem is found in the community.
Problems with iOS real-computer running Appium