How to fix error : Error 0xe800007e: The device OS

2019-09-11 12:55发布

问题:

i try to run my ionic app

with this line ionic run ios --device But it stop without error so i try to run with cordova: cordova run ios --device and i got this error :

[ !! ] Error 0xe800007e: The device OS version is too low. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0) Error: Error code 253 for command: ios-deploy with args: --justlaunch,--no-wifi,-d,-b,/PathToMyAp

so i set the minimum version required <preference name="deployment-target" value="7.0" /> but it seems be ignored

can someone help me ?

回答1:

try to set miniversion 8.0 or 9.0 ,see it can work ?



回答2:

You need to set the Deployment target in the build settings to the minimum iOS version you require.

A general guideline is to set:

  • Base SDK to latest
  • deployment target to the minimum version you support.

Also - check your Info.plist file for the MinimumOSVersion key.

Regards.