app when launched opens and closes instantly

Đang mở
#109 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
ios, typescript
Lĩnh vực
devtools, mobile-dev

Hướng nghiên cứu

Bắt đầu với lời gọi native-run ios --app ... --device và chuỗi khởi chạy debugserver được trình bày trong báo cáo. So sánh hành vi với Ionic ticket 20580 được liên kết và xác định liệu native-run có chịu trách nhiệm cho việc kết thúc ngay lập tức hay không. Được coi là hoàn tất khi nguyên nhân đã được cô lập và hành vi đã được sửa hoặc được ghi lại rõ ràng kèm xác minh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

ios

Version:

0.3.0

Description:

after the command ionic cordova run ios it compiles but then when it gets to the final stage
native-run ios --app "platforms/ios/build/device/<app name>.ipa" --device it tries to launch, it opens and then closes immediately,

Command Output:

too much to put here but I'll put the last bit, if there is a section you're interested in let me know and I'll post it.

  protocol:lockdown socket write: {"Command":"Lookup","ClientOptions":{"BundleIDs":["es.test.app"],"ReturnAttributes":["Path","Container","CFBundleExecutable","CFBundleIdentifier"],"ApplicationsType":"Any"}} +1ms
  protocol:lockdown Response: [{"Status":"Complete","LookupResult":{"es.test.app":{"Container":"/private/var/mobile/Containers/Data/Application/2B3CF21D-87CE-4D9E-A3F6-46FF8CE75B49","CFBundleExecutable":"<app>","Path":"/private/var/containers/Bundle/Application/A0214BDA-AA2A-44B4-BE3E-579DFFDA9502/<app>.app","CFBundleIdentifier":"es.test.app"}}}] +74ms
  client:lockdownd startService: com.apple.debugserver +1s
  protocol:lockdown socket write: {"Request":"StartService","Service":"com.apple.debugserver"} +203ms
  protocol:lockdown Response: {"EnableServiceSSL":true,"Port":62076,"Request":"StartService","Service":"com.apple.debugserver"} +117ms
  client:usbmuxd connectUsbmuxdSocket +1s
  client:usbmuxd connect: 2 on port 62076 +0ms
  protocol:usbmux socket write: {"messageType":"Connect","extraFields":{"DeviceID":2,"PortNumber":31986}} +1s
  protocol:usbmux Response: {"MessageType":"Result","Number":0} +3ms
  client:debugserver Sending command: QSetMaxPacketSize:, args: 1024 +0ms
  protocol:gdb Socket write: QSetMaxPacketSize:, args: 1024 +0ms
  protocol:gdb Response body: $OK#9a +1ms
  protocol:gdb Checksum: 9a, computed checksum: 9a +1ms
  client:debugserver Sending command: QSetWorkingDir:, args: /private/var/mobile/Containers/Data/Application/2B3CF21D-87CE-4D9E-A3F6-46FF8CE75B49 +2ms
  protocol:gdb Socket write: QSetWorkingDir:, args: /private/var/mobile/Containers/Data/Application/2B3CF21D-87CE-4D9E-A3F6-46FF8CE75B49 +0ms
  protocol:gdb Response body: $OK#9a +0ms
  protocol:gdb Checksum: 9a, computed checksum: 9a +0ms
  client:debugserver Sending command: A262,0,2f707269766174652f7661722f636f6e7461696e6572732f42756e646c652f4170706c69636174696f6e2f41303231344244412d414132412d343442342d424533452d3537394446464441393530322f444943555320526564206465204d656469636f7320534c2e6170702f444943555320526564206465204d656469636f7320534c, args:  +1ms
  protocol:gdb Socket write: A262,0,2f707269766174652f7661722f636f6e7461696e6572732f42756e646c652f4170706c69636174696f6e2f41303231344244412d414132412d343442342d424533452d3537394446464441393530322f444943555320526564206465204d656469636f7320534c2e6170702f444943555320526564206465204d656469636f7320534c, args:  +1ms
  protocol:gdb Response body: $OK#9a +0ms
  protocol:gdb Checksum: 9a, computed checksum: 9a +0ms
  client:debugserver Sending command: qLaunchSuccess, args:  +0ms
  protocol:gdb Socket write: qLaunchSuccess, args:  +0ms
  protocol:gdb Response body: $OK#9a +66ms
  protocol:gdb Checksum: 9a, computed checksum: 9a +1ms

Environment Info:

macOS version:

Ionic:

   Ionic CLI                     : 6.1.0 (/Users/me/.config/yarn/global/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.1
   @angular-devkit/build-angular : 0.801.2
   @angular-devkit/schematics    : 8.3.25
   @angular/cli                  : 8.3.17
   @ionic/angular-toolkit        : 2.1.2

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

   cordova-res (update available: 0.9.0) : 0.8.1
   native-run                            : 0.3.0

System:

   Android SDK Tools : 26.1.1 (/Users/meLibrary/Android/sdk)
   ios-deploy        : 1.10.0
   ios-sim           : 8.0.2
   NodeJS            : v13.7.0 (/usr/local/Cellar/node/13.7.0/bin/node)
   npm               : 6.13.6
   OS                : macOS Mojave
   Xcode             : Xcode 11.3.1 Build version 11C504

Xcode version:

also opened up this ticket

Ngôn ngữ chính
TypeScript
Star
141
Fork
35
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ionic-team/native-run

Tất cả issue của ionic-team/native-run

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.