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

オープン
#68 コメント 2 件 リアクション 5 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ios, typescript
領域
mobile-dev

調査の方向性

まず ionic cordova run ios を再現し、native-run ios --app ... --device が ESecurity エラーをどのように報告するかを確認します。このエラーが、電話の設定で開発者証明書を信頼する必要があることを説明すれば、変更は完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement ios

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 ([email protected])
   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
主要言語
TypeScript
スター
139
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/native-run のほかの issue

ionic-team/native-run の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。