1. View connected iOS devices: idevice_id-l
2. Open Macaca Service: Macaca server-port 4444-verbose
3. Start recording: Uirecorder Start---Mobile (no--mobile to turn on browser recording)
Resolved issue:
1. Error:spawn Ios-deploy enoent
Workaround: Brew Install Ios-deploy
2. Run the Macaca run sample/test4.js times wrong cannot find module Fs.realpath
Workaround:
rm -rf node_modulesrm package-lock.jsonnpm install
Legacy issues:
1. Because idevice_id-l found that there are multiple devices connected (but actually only one mobile phone), one should be WiFi connection, the Udid because there is no device name, resulting in the runtime has been reported could not find device name.
Because I can't find a way to specify a device recording while recording, the temporary workaround is to disconnect the WiFi from your Mac (it's a stupid way to do so)
2. I do not know whether it is because I exported the package has a problem, always prompt failed to install app
Feel iOS really good trouble Ah, Android compared to a lot easier, from the app package, Android is easy to get apk, and iOS hot trouble, there are developer certificates.
Macaca connecting iOS real-computer issues