苹果评论崩溃-iOS

use*_*098 5 crash ios9 ios10 xcode8

我已经提交了几次申请进行审查。但是每次苹果测试人员说应用程序崩溃时。我在IPV4环境中测试了我的应用程序。完全没有崩溃,但苹果测试仪表示,启动时崩溃如下。这是IPV6的问题吗?我无法在IPV6环境中进行测试。

感谢您的重新提交。由于您的应用在启动时崩溃,因此我们无法对其进行审核。我们已附上详细的崩溃日志,以帮助解决此问题。

重现步骤:

1)在设备上启动应用程序2)应用程序尝试启动并崩溃

下一步

请修改您的应用程序并在连接到IPv6网络的设备上对其进行测试(所有应用程序都必须支持IPv6),以确保其启动不会崩溃。

Date/Time:           2016-10-25 13:02:41.6759 -0700
Launch Time:         2016-10-25 13:02:40.6012 -0700
OS Version:          iPhone OS 10.0.2 (14A456)
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010014c3fc
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   BBBApps                         0x000000010014c3fc 0x1000e4000 + 427004
1   BBBApps                         0x0000000100149420 0x1000e4000 + 414752
2   UIKit                           0x000000018d0a342c 0x18d021000 + 533548
3   UIKit                           0x000000018d2b3b70 0x18d021000 + 2698096
4   UIKit                           0x000000018d2b98e0 0x18d021000 + 2722016
5   UIKit                           0x000000018d2ce080 0x18d021000 + 2805888
6   UIKit                           0x000000018d2b68c4 0x18d021000 + 2709700
7   FrontBoardServices              0x0000000188d898bc 0x188d4f000 + 239804
8   FrontBoardServices              0x0000000188d89728 0x188d4f000 + 239400
9   FrontBoardServices              0x0000000188d89ad0 0x188d4f000 + 240336
10  CoreFoundation                  0x0000000187196278 0x1870b9000 + 905848
11  CoreFoundation                  0x0000000187195bc0 0x1870b9000 + 904128
12  CoreFoundation                  0x00000001871937c0 0x1870b9000 + 894912
13  CoreFoundation                  0x00000001870c2048 0x1870b9000 + 36936
14  UIKit                           0x000000018d09c5dc 0x18d021000 + 505308
15  UIKit                           0x000000018d097360 0x18d021000 + 484192
16  BBBApps                         0x00000001000ea5e4 0x1000e4000 + 26084
17  libdyld.dylib                   0x00000001860a45b8 0x1860a0000 + 17848
Run Code Online (Sandbox Code Playgroud)

这是Crashlytics的崩溃报告:

#0. Crashed: com.apple.main-thread
0  BBBApps                       0x10009183c specialized AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool (AppDelegate.swift:39)
1  BBBApps                       0x10008ecbc @objc AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool (AppDelegate.swift)
2  UIKit                          0x19235b42c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 400
3  UIKit                          0x19256bb70 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3524
4  UIKit                          0x1925718e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1656
5  UIKit                          0x192586080 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3134 + 48
6  UIKit                          0x19256e8c4 -[UIApplication workspaceDidEndTransaction:] + 168
7  FrontBoardServices             0x18e0418bc __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
8  FrontBoardServices             0x18e041728 -[FBSSerialQueue _performNext] + 176
9  FrontBoardServices             0x18e041ad0 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
10 CoreFoundation                 0x18c44e278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
11 CoreFoundation                 0x18c44dbc0 __CFRunLoopDoSources0 + 524
12 CoreFoundation                 0x18c44b7c0 __CFRunLoopRun + 804
13 CoreFoundation                 0x18c37a048 CFRunLoopRunSpecific + 444
14 UIKit                          0x1923545dc -[UIApplication _run] + 608
15 UIKit                          0x19234f360 UIApplicationMain + 208
16 BBBApps                       0x10008f9d4 main (AppDelegate.swift:17)
17 libdispatch.dylib              0x18b35c5b8 (Missing)
Run Code Online (Sandbox Code Playgroud)

Eug*_*e H 1

您可以使用 Mac 共享 IPV6 网络。

  1. 打开系统偏好设置
  2. 按住 Option 键单击“共享”首选项窗格
  3. 按住 Option 键单击“Internet 共享”
  4. 将出现“创建仅 IPv6 网络”复选框
  5. 选中“创建仅 IPv6 网络”(这也可能标记为“创建 NAT64 网络”)
  6. 选择要共享的接口(通常是 WiFi,以允许 iOS 设备连接。)
  7. 选中该框以开始互联网共享

来源