2017-02-23 18 views
0

我只是上傳了swift/xcode項目的更新。如何使用iTunes來交互應用程序修訂

但是,在修訂讓我的應用程序,拒絕與訊息話題:

我們無法審覈您的應用,因爲它墜毀,機上推出。我們有 附帶詳細的崩潰日誌來幫助解決此問題。

請修改您的應用並在連接到 IPv6網絡時在設備上對其進行測試(所有應用都必須支持IPv6),以確保它在不崩潰的情況下啓動 。

我已經在仿真器和物理設備上測試了應用程序,它工作良好。但在碰撞日誌中說:

{"app_name":"SMD","timestamp":"2017-02-22 13:44:46.73 -0800","app_version":"1.8","slice_uuid":"22698b95-8afb-3280-95bcxxxxx","adam_id":0,"build_version":"8","bundleID":"com.bsn.xxx.xxx.xxx","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 10.2.1 (14D27)","incident_id":"9CC007C2-1E44-xxxx-xxx-xxxx","name":"SMD"} 
Incident Identifier: 9CC007C2-1E44-xxx-xxxx-xxxx 
CrashReporter Key: c85f7089c245d2e6a851615f5e8862f0391xxxx 
Hardware Model:  xxx 
Process:    SMD [1003] 
Path:    /private/var/containers/Bundle/Application/A50BBAAD-A1E0-4992-97C1-01B14C4F7DF1/SMD.app/SMD 
Identifier:   com.bsn.sm.SMD.SMD 
Version:    8 (1.8) 
Code Type:   ARM-64 (Native) 
Role:    Foreground 
Parent Process:  launchd [1] 
Coalition:   com.bsn.sm.SMD.SMD [864] 


Date/Time:   2017-02-22 13:44:46.6041 -0800 
Launch Time:   2017-02-22 13:44:45.6077 -0800 
OS Version:   iPhone OS 10.2.1 (14D27) 
Report Version:  104 

Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0000000000000001, 0x0000000100caa4a4 
Termination Signal: Trace/BPT trap: 5 
Termination Reason: Namespace SIGNAL, Code 0x5 
Terminating Process: exc handler [0] 
Triggered by Thread: 0 

Filtered syslog: 
None found 

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 libswiftCore.dylib    0x0000000100caa4a4 0x100b68000 + 1320100 
1 libswiftCore.dylib    0x0000000100caa4a4 0x100b68000 + 1320100 
2 SMD     0x000000010008a160 0x100080000 + 41312 
3 Alamofire      0x00000001007bba14 0x100780000 + 244244 
4 libdispatch.dylib    0x00000001877821fc 0x187781000 + 4604 
5 libdispatch.dylib    0x00000001877821bc 0x187781000 + 4540 
6 libdispatch.dylib    0x0000000187786d68 0x187781000 + 23912 
7 CoreFoundation     0x00000001888a6810 0x1887c9000 + 907280 
8 CoreFoundation     0x00000001888a43fc 0x1887c9000 + 898044 
9 CoreFoundation     0x00000001887d22b8 0x1887c9000 + 37560 
10 GraphicsServices    0x000000018a286198 0x18a27a000 + 49560 
11 UIKit       0x000000018e8127fc 0x18e798000 + 501756 
12 UIKit       0x000000018e80d534 0x18e798000 + 480564 
13 SMD     0x00000001000ac360 0x100080000 + 181088 
14 libdyld.dylib     0x00000001877b55b8 0x1877b1000 + 17848 

Thread 1: 
0 libsystem_kernel.dylib   0x00000001878c7a88 0x1878a8000 + 129672 
1 libsystem_pthread.dylib   0x000000018798b344 0x18798a000 + 4932 
2 libsystem_pthread.dylib   0x000000018798ad8c 0x18798a000 + 3468 

Thread 2: 
0 libsystem_kernel.dylib   0x00000001878c7a88 0x1878a8000 + 129672 
1 libsystem_pthread.dylib   0x000000018798b344 0x18798a000 + 4932 
2 libsystem_pthread.dylib   0x000000018798ad8c 0x18798a000 + 3468 

Thread 3: 
0 libsystem_kernel.dylib   0x00000001878c7a88 0x1878a8000 + 129672 
1 libsystem_pthread.dylib   0x000000018798b344 0x18798a000 + 4932 
2 libsystem_pthread.dylib   0x000000018798ad8c 0x18798a000 + 3468 

Thread 4 name: com.apple.uikit.eventfetch-thread 
Thread 4: 
0 libsystem_kernel.dylib   0x00000001878a9188 0x1878a8000 + 4488 
1 libsystem_kernel.dylib   0x00000001878a8ff8 0x1878a8000 + 4088 
2 CoreFoundation     0x00000001888a65d0 0x1887c9000 + 906704 
3 CoreFoundation     0x00000001888a41ec 0x1887c9000 + 897516 
4 CoreFoundation     0x00000001887d22b8 0x1887c9000 + 37560 
5 Foundation      0x000000018930f26c 0x189303000 + 49772 
6 Foundation      0x000000018932fdd0 0x189303000 + 183760 
7 UIKit       0x000000018f186c38 0x18e798000 + 10415160 
8 Foundation      0x000000018940ce68 0x189303000 + 1089128 
9 libsystem_pthread.dylib   0x000000018798d850 0x18798a000 + 14416 
10 libsystem_pthread.dylib   0x000000018798d760 0x18798a000 + 14176 
11 libsystem_pthread.dylib   0x000000018798ad94 0x18798a000 + 3476 

Thread 5: 
0 libsystem_kernel.dylib   0x00000001878c7a88 0x1878a8000 + 129672 
1 libsystem_pthread.dylib   0x000000018798b344 0x18798a000 + 4932 
2 libsystem_pthread.dylib   0x000000018798ad8c 0x18798a000 + 3468 

Thread 6 name: com.apple.NSURLConnectionLoader 
Thread 6: 
0 libsystem_kernel.dylib   0x00000001878a9188 0x1878a8000 + 4488 
1 libsystem_kernel.dylib   0x00000001878a8ff8 0x1878a8000 + 4088 
2 CoreFoundation     0x00000001888a65d0 0x1887c9000 + 906704 
3 CoreFoundation     0x00000001888a41ec 0x1887c9000 + 897516 
4 CoreFoundation     0x00000001887d22b8 0x1887c9000 + 37560 
5 CFNetwork      0x0000000188fd7a70 0x188ef8000 + 916080 
6 Foundation      0x000000018940ce68 0x189303000 + 1089128 
7 libsystem_pthread.dylib   0x000000018798d850 0x18798a000 + 14416 
8 libsystem_pthread.dylib   0x000000018798d760 0x18798a000 + 14176 
9 libsystem_pthread.dylib   0x000000018798ad94 0x18798a000 + 3476 

Thread 7: 
0 libsystem_kernel.dylib   0x00000001878c7a88 0x1878a8000 + 129672 
1 libsystem_pthread.dylib   0x000000018798b160 0x18798a000 + 4448 
2 libsystem_pthread.dylib   0x000000018798ad8c 0x18798a000 + 3468 

Thread 8: 
0 libsystem_pthread.dylib   0x000000018798ad88 0x18798a000 + 3464 

Thread 0 crashed with ARM Thread State (64-bit): 
    x0: 0x000000010123c380 x1: 0x00000001700f1f80 x2: 0x0000000000000008 x3: 0x000000018790d22c 
    x4: 0x000000000000000e x5: 0x0000000000000020 x6: 0x0000000000000000 x7: 0x0000000000000bf0 
    x8: 0x00000001700f3680 x9: 0x00000001700f3680 x10: 0x0000000000000001 x11: 0xbaddc0dedeadbead 
    x12: 0x0000010000000100 x13: 0x206e6120676e6970 x14: 0x6c616e6f6974704f x15: 0x000a65756c617620 
    x16: 0x00000001878fd6b0 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000 
    x20: 0x0000000000000002 x21: 0x0000000000000039 x22: 0x00000001003a7160 x23: 0x0000000000000002 
    x24: 0x000000000000000b x25: 0x00000001003a719a x26: 0xffffffffffffffff x27: 0x0000000170469f40 
    x28: 0x0000000002ffffff fp: 0x000000016fd7e760 lr: 0x0000000100caa4a4 
    sp: 0x000000016fd7e720 pc: 0x0000000100caa4a4 cpsr: 0x20000000 

我怎麼能在那裏找到我的問題?

+0

看看這個問題http://stackoverflow.com/questions/39788965/app-crashing-when-launching-from-appstore-or-testflight-but-working-fine-elseway – ebby94

+0

請更新您的問題與你的*應用程序(didFinishLaunchingWithOptions :)代碼!我認爲@ ebby94所說的話可能是正確的,如果是這樣的話,這對每個人都可以搜索很有幫助。即使你有*沒有*代碼在那裏,這將有所幫助。 – dfd

回答

0

根據蘋果的文檔

如果意外 條件在運行時遇到的諸如

雨燕代碼將與此異常類型終止:

非可選類型與零值

強制類型轉換失敗

您可能會意外使用nil值展開可選項,或者在類型轉換中做錯誤的操作(請參閱此answer)。

對於IPv6兼容性,您可以通過Apple的documentation瞭解它。

相關問題