简体   繁体   English

如何以编程方式在iOS 11.0.2开/关下激活Iphone 8 plus的飞行模式

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

Below is my goal - I want test something which REQUIRES to restart the phone or activate the airplane mode ON/OFF using any program. 以下是我的目标-我想测试一些需要重新启动手机或使用任何程序激活飞行模式ON / OFF的东西。

Current Setup: - I am having IPhone 8Plus with IOS version 11.0.2(15A421) - Windows 10 with 64 bit OS 当前设置:-我的iPhone 8Plus具有IOS版本11.0.2(15A421)-Windows 10(具有64位操作系统)

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 ". 已经尝试过:我从“ https://ci.appveyor.com/project/qmfrederik/libimobiledevice/branch/msvc-master/artifacts ”链接下载了“ libimobiledevice-1.2.1.202-windows-x86.zip”。 But when I run idevice_id.exe it gives me VCRUNTIME140.dll error and asking me to reinstall. 但是,当我运行idevice_id.exe时,它给我VCRUNTIME140.dll错误,并要求我重新安装。

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? 而且,是否需要将IPhone与设置此应用程序的笔记本电脑相连?

Regards Omer 关于Omer

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. 根据您的问题,我了解到您正在尝试运行idevice_id的32位(x86)版本libimobiledevice-win32附带的idevice_id,但是您收到一条错误消息,指示缺少vcruntime140.dll

Can you try to download the Visual C++ 2015 redistributable from https://www.microsoft.com/en-us/download/details.aspx?id=48145 . 您是否可以尝试从https://www.microsoft.com/zh-cn/download/details.aspx?id=48145下载Visual C ++ 2015可再发行组件。 Please makes sure to download vc_redist.x86.exe , this is the 32-bit version which you will need. 请确保下载vc_redist.x86.exe ,这是您需要的32位版本。

As a side-node, you are correct that libimobiledevice-win32 ships as a zip file and does not use an installer. 作为副节点,您正确的认为libimobiledevice-win32作为zip文件提供,并且不使用安装程序。 The idea is that the zip file contains all the files you need (although we obviously missed the vcruntime140.dll file.) 这个想法是zip文件包含您需要的所有文件(尽管我们显然错过了vcruntime140.dll文件。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM