How to activate airplane mode of Iphone 8 plus with ios 11.0.2 on/off programmatically

222 views Asked by At

Below is my goal - I want test something which REQUIRES to restart the phone or activate the airplane mode ON/OFF using any program.

Current Setup: - I am having IPhone 8Plus with IOS version 11.0.2(15A421) - Windows 10 with 64 bit OS

Already tried: I downloaded the " libimobiledevice-1.2.1.202-windows-x86.zip " from the link " https://ci.appveyor.com/project/qmfrederik/libimobiledevice/branch/msvc-master/artifacts ". But when I run idevice_id.exe it gives me VCRUNTIME140.dll error and asking me to reinstall.

Moreover, there is no single setup file which will help me to install the program so I am not sure if I am making any mistake. And also, do I need to connect my IPhone with the laptop where I am setting this application?

Regards Omer 

1

There are 1 answers

0
Frederik Carlier On

Based on your question, I understand you are trying to run idevice_id which ships with the 32-bit (x86) version libimobiledevice-win32 of libimobiledevice, but you get an error message indicating that vcruntime140.dll is missing.

Can you try to download the Visual C++ 2015 redistributable from https://www.microsoft.com/en-us/download/details.aspx?id=48145. Please makes sure to download vc_redist.x86.exe, this is the 32-bit version which you will need.

As a side-node, you are correct that libimobiledevice-win32 ships as a zip file and does not use an installer. The idea is that the zip file contains all the files you need (although we obviously missed the vcruntime140.dll file.)