ionic-team / ionic-team/native-run

ionic cordova run ios: show nice error message if you have to trust the certificate in the phone settings

Open
#68 2 comments 5 reactions 0 assignees View on GitHub
enhancement ios
Dominant language
TypeScript
Stars
137
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**Version:** 0.2.7

**Description:**

- running `ionic cordova run ios` gives the **not understandable** error below
- should show **understandable** error message, that you have to trust the developer certificate in the settings of the phone.

**Command Output:**

```
** EXPORT SUCCEEDED **

> native-run ios --app "platforms/ios/build/device/MIA Playground.ipa" --device
[native-run] ERR_UNKNOWN: There was an error launching app: ESecurity

```

**Environment Info:**

```
Ionic:

Ionic CLI : 5.2.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 11 other plugins)

Utility:

cordova-res : 0.6.0
native-run : 0.2.7

System:

ios-deploy : 1.9.4
ios-sim : 8.0.1
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.10.0
OS : macOS Mojave 10.14.5
Xcode : Xcode 10.2.1 Build version 10E1001
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.