ionic-team / ionic-team/ionic-cli

ionic run ios keep crashing

未關閉
#3,105 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

**Ionic version:** (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] **2.x**
[ x] **3.x**
[ ] **4.x**

**I'm submitting a ...** (check one with "x")
[ x] bug report
[ ] feature request

**Current behavior:**
Whenever i try to ionic cordova run ios

the app just launch and crash

[100%] Installed package /Users/phangty/Projects/coinotc-mobile/platforms/ios/build/device/CoinOTC.app
------ Debug phase ------
Starting debug of 48c44738db8f0e3bc39adb2294b48015462da297 (N56AP, iPhone 6 Plus, iphoneos, arm64) a.k.a. 'kennethP' connected through USB...
[ 0%] Looking up developer disk image
[ 95%] Developer disk image mounted successfully
[100%] Connecting to remote debug server
-------------------------
(lldb) command source -s 0 '/tmp/64EB60AD-D153-43A5-B7F8-2389F6CB93DF/fruitstrap-lldb-prep-cmds-48c44738db8f0e3bc39adb2294b48015462da297'
Executing commands in '/tmp/64EB60AD-D153-43A5-B7F8-2389F6CB93DF/fruitstrap-lldb-prep-cmds-48c44738db8f0e3bc39adb2294b48015462da297'.
(lldb) platform select remote-ios --sysroot '/Users/phangty/Library/Developer/Xcode/iOS DeviceSupport/11.3.1 (15E302)/Symbols'
Platform: remote-ios
Connected: no
SDK Path: "/Users/phangty/Library/Developer/Xcode/iOS DeviceSupport/11.3.1 (15E302)/Symbols"
(lldb) target create "/Users/phangty/Projects/coinotc-mobile/platforms/ios/build/device/CoinOTC.app"
Current executable set to '/Users/phangty/Projects/coinotc-mobile/platforms/ios/build/device/CoinOTC.app' (arm64).
(lldb) script fruitstrap_device_app="/private/var/containers/Bundle/Application/BAD091F8-BDD5-4662-93D1-9003D6B67718/CoinOTC.app"
(lldb) script fruitstrap_connect_url="connect://127.0.0.1:55718"
(lldb) target modules search-paths add /usr "/Users/phangty/Library/Developer/Xcode/iOS DeviceSupport/11.3.1 (15E302)/Symbols/usr" /System "/Users/phangty/Library/Developer/Xcode/iOS DeviceSupport/11.3.1 (15E302)/Symbols/System" "/private/var/containers/Bundle/Application/BAD091F8-BDD5-4662-93D1-9003D6B67718" "/Users/phangty/Projects/coinotc-mobile/platforms/ios/build/device" "/var/containers/Bundle/Application/BAD091F8-BDD5-4662-93D1-9003D6B67718" "/Users/phangty/Projects/coinotc-mobile/platforms/ios/build/device" /Developer "/Users/phangty/Library/Developer/Xcode/iOS DeviceSupport/11.3.1 (15E302)/Symbols/Developer"
(lldb) command script import "/tmp/64EB60AD-D153-43A5-B7F8-2389F6CB93DF/fruitstrap_48c44738db8f0e3bc39adb2294b48015462da297.py"
(lldb) command script add -f fruitstrap_48c44738db8f0e3bc39adb2294b48015462da297.connect_command connect
(lldb) command script add -s asynchronous -f fruitstrap_48c44738db8f0e3bc39adb2294b48015462da297.run_command run
(lldb) command script add -s asynchronous -f fruitstrap_48c44738db8f0e3bc39adb2294b48015462da297.autoexit_command autoexit
(lldb) command script add -s asynchronous -f fruitstrap_48c44738db8f0e3bc39adb2294b48015462da297.safequit_command safequit
(lldb) connect
(lldb) run
success
(lldb) safequit
Process 357 detached

[OK] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?

**Expected behavior:**
Launch my app

**Steps to reproduce:**

**Related code:**

```
insert short code snippets here
```

**Other information:**

**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):

```
insert the output from ionic info here
```

貢獻指南

開啟貢獻指南

研究方向

Begin with the `ionic cordova run ios` command and the supplied deployment/LLDB log; compare behavior in the stated iPhone 6 Plus and iOS 11.3.1 environment. Capture the missing `ionic info`, exact reproduction steps, and a crash trace before identifying a scoped CLI change; done means the app launches and a regression check covers it.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ios, typescript
領域
cli, mobile-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。