gpt4 book ai didi

iOS App Review Fail - 装有 iOS 7.1 的 iPad 在启动时崩溃

转载 作者:行者123 更新时间:2023-11-29 12:46:48 26 4
gpt4 key购买 nike

我在 App Store 审核我的应用程序时遇到了一些问题。那不是我的第一个应用程序,但我就是无法得到错误。

该应用程序可在真实设备 (iPhone 5S) 上正常运行,无一异常(exception)。我没有 iPad,但在 Simulator 上运行完美。

步骤:1. 应用程序使用启动器图像启动2. 应用程序应该创建/打开 SQLite3 数据库并从中填充一个 UITableView。正如我所说 - 在 iPhone 上完美运行,但在 iPad 上启动屏幕后直接崩溃。

编辑:::- 我在目标位置发现了以下内容:《耐心等待》“PatientenratgeberTests”如果我为第一个构建 - 没有错误如果我构建第二个 - 错误我需要第二个构建目标吗?我怎样才能删除它而不引起新的问题?

为什么会这样?

这是我的崩溃报告:

{"bundleID":"Patientenratgeber","app_name":"Patientenratgeber","bug_type":"109","name":"Patientenratgeber","os_version":"iPhone OS 7.1 (11D167)","version":"1.0 (1.0)"} Incident Identifier: D72511CB-A5EA-4C6A-A535-DD1FB46BC2E5 CrashReporter Key:   4f2c8fa05c83e9d455c232dbd2fa63e852283d0e Hardware Model:      xxx Process:             Patientenratgeber [1324] Path:                /var/mobile/Applications/DF803017-609F-498A-8C5C-56FB17B4F581/Patientenratgeber.app/Patientenratgeber Identifier:          Patientenratgeber Version:             1.0 (1.0) Code Type:           ARM-64 (Native) Parent Process:      launchd [1]

Date/Time: 2014-05-01 10:53:37.785 -0700 OS Version: iOS 7.1 (11D167) Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000005 Triggered by Thread: 0

Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x000000018ee0c0b0 objc_retain + 16 1 UIKit 0x00000001853e466c
-[UIViewController loadViewIfRequired] + 572 2 UIKit 0x00000001853e43f0 -[UIViewController view] + 28 3 UIKit 0x0000000185465af0 -[UIClientRotationContext initWithClient:toOrientation:duration:andWindow:] + 436 4 UIKit 0x0000000185463f48 -[UIWindow
_setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:]
+ 1216 5 UIKit 0x0000000185463a00 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 124 6 UIKit 0x00000001853e6450 -[UIWindow
_updateToInterfaceOrientation:duration:force:] + 400 7 UIKit 0x000000018546302c -[UIViewController
_tryBecomeRootViewControllerInWindow:] + 188 8 UIKit 0x00000001853eb95c -[UIWindow addRootViewControllerViewIfPossible] + 508 9 UIKit 0x00000001853e8d74 -[UIWindow
_setHidden:forced:] + 288 10 UIKit 0x000000018545b838 -[UIWindow makeKeyAndVisible] + 64 11 UIKit 0x0000000185458144 -[UIApplication
_callInitializationDelegatesForURL:payload:suspended:] + 2136 12 UIKit 0x00000001854519e8 -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 768 13 UIKit 0x00000001853e58c8 -[UIApplication handleEvent:withNewEvent:] + 3312 14 UIKit 0x00000001853e4acc -[UIApplication sendEvent:] + 100 15 UIKit 0x0000000185451040 _UIApplicationHandleEvent + 668 16 GraphicsServices 0x0000000187fb7500 _PurpleEventCallback
+ 672 17 GraphicsServices 0x0000000187fb702c PurpleEventCallback + 44 18 CoreFoundation 0x00000001823da88c
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52 19 CoreFoundation 0x00000001823da7ec __CFRunLoopDoSource1
+ 440 20 CoreFoundation 0x00000001823d8a10 __CFRunLoopRun + 1616 21 CoreFoundation 0x00000001823196cc CFRunLoopRunSpecific + 448 22 UIKit 0x00000001854501c4 -[UIApplication _run] + 780 23 UIKit 0x000000018544afd8 UIApplicationMain + 1152 24 Patientenratgeber 0x000000010005d400 main (main.m:16) 25 libdyld.dylib 0x000000018f3e7a9c start + 0

Thread 1 name: Dispatch queue: com.apple.libdispatch-manager Thread 1: 0 libsystem_kernel.dylib 0x000000018f4c9aa8 kevent64 + 8 1 libdispatch.dylib 0x000000018f3cd998
_dispatch_mgr_thread + 48

Thread 2: 0 libsystem_kernel.dylib 0x000000018f4e2e74
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x000000018f561548 start_wqthread + 0

Thread 3: 0 libsystem_kernel.dylib 0x000000018f4e2e74
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x000000018f561548 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000005 x1: 0x0000000000000000 x2: 0x00000000ffffffff x3: 0x0000000000000001
x4: 0x000000018f15af34 x5: 0x0000000000000020 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x2b00950554ab6cf2 x10: 0x000000016fda89e2 x11: 0x0000000192b24c3f x12: 0x0000000000000018 x13: 0x0000000000060000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x000000018ee0d8cc x17: 0x0000000100064018 x18: 0x0000000000000000 x19: 0x000000015d510c50 x20: 0x0000000170248760 x21: 0x0000000185ab3f08 x22: 0x0000000185adb64c x23: 0x0000000185ad2516 x24: 0x0000000000000000 x25: 0x0000000178062240 x26: 0x000000019232e098 x27: 0x0000000000000001 x28: 0x0000000000000003 fp: 0x000000016fda8b70 lr: 0x000000010005d56c
sp: 0x000000016fda8b50 pc: 0x000000018ee0c0b0 cpsr: 0x00000000

Binary Images:

最佳答案

尝试通过启用 NSZombieEnabled 标志来调试您的代码。查看下面的图片并按照步骤操作。

Select Edit Scheme

check NSZombieEnabled

关于iOS App Review Fail - 装有 iOS 7.1 的 iPad 在启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23492309/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com