Closed Kous92 closed 4 years ago
This is corrected by the updated to init.sh
. You should re-run init.sh
. It is generally also probably a good idea to run init.sh
after any pull of the repo to ensure any new dependency changes are pulled in.
The cause for the new dependencies is that libimobiledevice HEAD version is no longer buildable / installable on latest Catalina via brew. The build/install method for libimobiledevice therefore has changed. libusbmuxd is installed through brew using --head. libplist is installed through brew using --head. libimobiledevice is now build and installed through the Makefile.
I will leave this ticket open though; it makes sense to add these checks to happen in the Makefile. The way makefile_preflight.pl
is written can/should be changed to support the new dependencies. This will cause the package to move further away from being a brew package, but it is unavoidable at this time.
@nanoscopic Unfortunately, with init.sh
executed, the error persists. Should I have to remove manually the libusbmuxd library or other dependency and run init.sh
again ?
So, the error is related to the dependency. Can you tell me when it’s fixed ?
I resolved it like this:
brew uninstall libimobiledevice ios-webkit-debug-proxy
brew uninstall libusbmuxd
./init.sh
make
@nanoscopic How to use your new testVideo mode ? Also, it would be nice to put it on the readme.
@Kous92 Yes; agreed I need to update the documentation. I also have some changes I need to commit that address some additional issues.
The general way to use the new testVideo mode:
mkdir stf_ios_support/cache
bin/devreset 3776 1452
( see main readme )bin/coordinator -testVideo
I am still seeing situations where the media services ( the stuff on the IOS device streaming out the video ) get screwed up after running for a while ( 24+ hrs ). Devreset and the built in libusb reset don't address this messed up state. The only ways I've seen so far to ensure media services are fully reset is either rebooting the IOS device or using "Settings -> Developer -> Reset Media Services" on the IOS device. I am still investigating some other way to fully reset it that can happen automatically within the coordinator every so often ( every X hours )
The latest changes that I will commit this weekend address the following:
Additionally the documentation needs to be updated to explain that libimobiledevice must be built and installed manually right now if everything is deployed through dist.tgz, as it is installed right now by the make
process. Step 1: update documentation to explain this. Step 2: make an install process as part of dist.tgz that does so.
Note: Docker/server part have to be updated also. The official OpenSTF have been updated to version 3.4.2. And I have took a look to your code, you have forgotten to add the iPhone SE 2nd generation on the device list.
Standard server can be used... I'd generally recommend using the server information / docker-compose here: https://github.com/tmobile/stf_ios_support/tree/master/server
This now points at a prebuilt docker image that contains all the latest updates ( including latest server from DeviceFarmer upstream )
Soon the updates will be upstreamed via PR into DeviceFarmer/stf as well.
All device ids I am aware of are here: https://github.com/tmobile/osx_ios_device_trigger/blob/master/osx_ios_device_trigger/main.cpp#L16
If your device ID isn't one of those, please tell me what it is and I'll add it. Please also update the wiki here if you have one that is not documented yet: https://www.theiphonewiki.com/wiki/Normal_Mode
Closing due to lack of updates and because I'm not sure what action this ticket is requesting at this point.
The code does need to go into upstream STF; but that is not the clear purpose of this ticket.
If there is still an issue probably best to open a new ticket describing what that issue is. I feel the issues described above have been resolved.
Hello @nanoscopic, your latest update have a problem. After pulling, the
make
run have made this error below. How to fix that ?