Debugging

RSS for tag

Discover and resolve issues with your app.

Pinned Posts

Posts under Debugging tag

408 Posts
Sort by:
Post not yet marked as solved
2 Replies
1k Views
We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue. Review device details: Device type: iPad OS version: iOS 15.1 I test my app on all iPhones and iPads (ios 15) its works without any crash. can someone help me with what the crash log file contains, please?  iPad crash error log.txt
Posted
by zitob9.
Last updated
.
Post not yet marked as solved
1 Replies
233 Views
So, it seems to be a bug in the Xcode 14 beta (M1). Some assets just can't be compiled and lead to fatal compilation error 'Command CompileAssetCatalog failed with a nonzero exit code'. Here (h ttps://morioh.com/p/2d58b31db5f7) is written that the problem is in SVGs but I had the same problems with some PDFs, PNGs and JPGs. The same project builds with no errors in Xcode 13.4.1 Seems to me that I'm not the only one with this problem but I haven't found any workaround for this.
Posted Last updated
.
Post not yet marked as solved
0 Replies
92 Views
In the "mouseDown" (or MouseDreagged) code below Enclosure is a NSView subclass. xcode report 2 warnings: pb_item setDataProvider:self forTypes:[NSArray arrayWithObjects:NSPasteboardTypeTIFF, NSPasteboardTypePDF, @"LN_PboardType", nil]]; Sending 'Enclosure *' to parameter of incompatible type 'id _Nonnull' NSDraggingSession *draggingSession = [self beginDraggingSessionWithItems:[NSArray arrayWithObject:drag_item] event:drag_event source:self]; Sending 'Enclosure *' to parameter of incompatible type 'id _Nonnull' The application fail at: drag_item = [[NSDraggingItem alloc] initWithPasteboardWriter:pb_item]; Pasteboard item data provider <Enclosure: 0x7f849ec74e70> must conform to NSPasteboardItemDataProviderProtocol [General] There are 0 items on the pasteboard, but 1 drag images. There must be 1 draggingItem per pasteboardItem. However if in the line of code above "pb_item" is replaced by "drag_image" drag work fine (but without drop). The z_drag image follow the mouse correctly and "endedAtPoint" is called when the mouse button is released. Where is the error ? Any suggestion will be appreciate... BigSur, xcode 12.4 - (void)mouseDown:(NSEvent *)drag_event /* or mouseDragged:(NSEvent *)drag_event */ { NSImage *drag_image; NSPoint drag_position; NSDraggingItem *drag_item; NSPasteboardItem *pb_item; pb_item = [[NSPasteboardItem alloc] init]; [pb_item setDataProvider:self forTypes:[NSArray arrayWithObjects:NSPasteboardTypeTIFF, NSPasteboardTypePDF, @"LN_PboardType", nil]]; drag_image = [NSImage imageNamed:@"z_drag.jpg"]; drag_item = [[NSDraggingItem alloc] initWithPasteboardWriter:pb_item]; drag_position = [self convertPoint:[drag_event locationInWindow] fromView:nil]; drag_position.x -= [drag_image size].width/2; drag_position.y -= [drag_image size].height/2; [drag_item setDraggingFrame:NSMakeRect(drag_position.x, drag_position.y, drag_image.size.width, drag_image.size.height) contents:drag_image]; NSDraggingSession *draggingSession = [self beginDraggingSessionWithItems:[NSArray arrayWithObject:drag_item] event:drag_event source:self]; [draggingSession setAnimatesToStartingPositionsOnCancelOrFail:YES]; [draggingSession setDraggingFormation:NSDraggingFormationNone]; } - (NSDragOperation)draggingSession:(NSDraggingSession *)session sourceOperationMaskForDraggingContext:(NSDraggingContext)context { switch (context) { case NSDraggingContextWithinApplication: return NSDragOperationCopy; case NSDraggingContextOutsideApplication: return NSDragOperationMove; } return NSDragOperationNone; } - (void)draggingSession:(NSDraggingSession *)session endedAtPoint:(NSPoint)screenPoint operation:(NSDragOperation)operation { NSPoint mouse_point; mouse_point = [session draggingLocation]; switch (operation) { case NSDragOperationDelete: break; default: break; } }
Posted
by Alain_B.
Last updated
.
Post not yet marked as solved
2 Replies
418 Views
I'm getting the error "Cannot create Swift scratch context (couldn't create a ClangImporter)" when running a Swift project in XCode 12.3 on Catalina when I try to use the debugger. There is a resolution of this problem described at https://forums.raywenderlich.com/t/entering-debugger-in-swift-project-couldnt-create-a-clangimporter/130829 but I don't understand the fix of "removing zsh customisations in dotfiles". Can anyone explain what the files to change are and how they have to be changed? (I'm new to Mac development)
Posted Last updated
.
Post not yet marked as solved
0 Replies
122 Views
Feedback is filed. Trying to look into the Core.swift. diagnostics: Unsupported: 'Consumer for unconverted(_StringProcessing.DSLTree._AST.Atom(ast:  ---------------------------------------- CrashReportError: Fatal Error in Core.swift UtilityScript crashed due to fatalError in Core.swift at line 77. 'try!' expression unexpectedly raised an error: Unsupported: 'Consumer for unconverted(_StringProcessing.DSLTree._AST.Atom(ast:  ))' Process: UtilityScript[3141] Date/Time: 2022-07-02 03:56:17 +0000 Log File: <none> Application Specific Information:     dyld [         dyld config: DYLD_LIBRARY_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/UtilityScript-frovasvohxblobefzbrrwtvqtyuu/Build/Intermediates.noindex/Previews/UtilityScript/Products/Debug DYLD_FRAMEWORK_PATH=/Users/wangkeshijian/Library/Developer/Xcode/DerivedData/UtilityScript-frovasvohxblobefzbrrwtvqtyuu/Build/Intermediates.noindex/Previews/UtilityScript/Products/Debug     ]     libswiftCore.dylib [         _StringProcessing/Core.swift:77: Fatal error: 'try!' expression unexpectedly raised an error: Unsupported: 'Consumer for unconverted(_StringProcessing.DSLTree._AST.Atom(ast:  ))'         /AppleInternal/Library/BuildRoots/0cc5e7ad-e86f-11ec-ac50-3e2aa58faa6a/Library/Caches/com.apple.xbs/Sources/swiftlang_overlay_Platform/swift-experimental-string-processing/Sources/_StringProcessing/ConsumerInterface.swift:200     ]
Posted Last updated
.
Post not yet marked as solved
0 Replies
87 Views
Hi Apple Community.Our app has some users' feedback that when the app is initialized, there is a blank screen, and there is always a waiting animation, but our project does not have such a page like this.
Posted
by Eggplant.
Last updated
.
Post not yet marked as solved
1 Replies
249 Views
build and run app not appear app, and not debug(like freeze app) finally, stop running appear this debugger message in debug area Message from debugger: Xcode has killed the LLDB RPC server to allow the debugger to detach from your process. You may need to manually terminate your process. how do i solve it?
Posted
by gpwl.
Last updated
.
Post not yet marked as solved
0 Replies
121 Views
Hello, I've run into an issue that for the newest macOS Big Sur 11.6.7 there is no Kernel Development Kit (KDK) available under: https://developer.apple.com/download/all/?q=kernel%20debug%20kit%2011.6.7 The latest possible KDK is for 11.6.5. However, the KDK's for 11.6.6 and 11.6.7 are missing. Could somebody please provide more information whether the missing KDK's will be avialable or not? It is necessary that the KDK matches the current kernel version, which means that using older KDK is not a solution. Best Regards abetz
Posted
by abetz.
Last updated
.
Post not yet marked as solved
2 Replies
357 Views
Hi, In our application we are facing lot of watchdog crashes after iOS 15 rollout. We are not able to identify the root cause for most of these crashes which are happening from applicationWillTerminate. Can someone please check the attached crash reports and lets us know how to identify the root cause for these crashes and then how to fix them? 0 libsystem_kernel.dylib 0x00000001e0959f24 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x000000021a68f298 _pthread_cond_wait + 1236 (pthread_cond.c:636) 2 UnityFramework 0x0000000107c2922c il2cpp::os::posix::PosixWaitObject::Wait(unsigned int, bool) + 25334316 (PosixWaitObject.cpp:120) 3 UnityFramework 0x0000000107c1fd3c il2cpp::os::Thread::Join() + 25296188 (Thread.cpp:207) 4 UnityFramework 0x0000000107c4575c il2cpp::vm::Thread::KillAllBackgroundThreadsAndWaitForForegroundThreads() + 25450332 (Thread.cpp:315) 5 UnityFramework 0x0000000107c4f820 il2cpp::vm::Runtime::Shutdown() + 25491488 (Runtime.cpp:395) 6 UnityFramework 0x0000000107576f34 CleanupIl2Cpp + 18313012 (MonoManager_Il2Cpp.cpp:296) 7 UnityFramework 0x00000001074a7afc PlayerCleanup + 17464060 (Player.cpp:627) 8 UnityFramework 0x000000010777a358 UnityCleanup + 20423512 (LibEntryPoint.mm:220) 9 UnityFramework 0x0000000106416540 -[UnityAppController applicationWillTerminate:] + 91456 (UnityAppController.mm:856) 10 UIKitCore 0x00000001ac1cab48 -[UIApplication _terminateWithStatus:] + 244 (UIApplication.m:6948) 11 UIKitCore 0x00000001ab8a6900 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128 (_UISceneLifecycleMultiplexer.m:806) 12 UIKitCore 0x00000001aba9c3f8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224 (_UISceneLifecycleMultiplexer.m:480) 13 UIKitCore 0x00000001ac1c6ec4 -[UIApplication workspaceShouldExit:withTransitionContext:] + 224 (UIApplication.m:3846) 14 FrontBoardServices 0x00000001bb036fec __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 80 (FBSWorkspaceScenesClient.m:331) 15 FrontBoardServices 0x00000001baff2308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352) 16 FrontBoardServices 0x00000001bb036f84 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 132 (FBSWorkspaceScenesClient.m:328) 17 libdispatch.dylib 0x00000001a8af4a30 _dispatch_client_callout + 20 (object.m:560) 18 libdispatch.dylib 0x00000001a8af84e0 _dispatch_block_invoke_direct + 264 (queue.c:501) 19 FrontBoardServices 0x00000001baff3c70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157) 20 FrontBoardServices 0x00000001baff3040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181) 21 FrontBoardServices 0x00000001baff7700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194) 22 CoreFoundation 0x00000001a8eaf414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972) 23 CoreFoundation 0x00000001a8ec01a0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016) 24 CoreFoundation 0x00000001a8df96f8 __CFRunLoopDoSources0 + 368 (CFRunLoop.c:2061) Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x000000020c5aaf64 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x0000000245bcd2c4 _pthread_cond_wait + 1280 (pthread_cond.c:640) 2 UnityFramework 0x00000001053551cc il2cpp::os::posix::PosixWaitObject::Wait(unsigned int, bool) + 25334220 (PosixWaitObject.cpp:153) 3 UnityFramework 0x000000010534bd64 il2cpp::os::Thread::Join(unsigned int) + 25296228 (Thread.cpp:216) 4 UnityFramework 0x00000001053721ac il2cpp::vm::Thread::Stop(Il2CppInternalThread*) + 25452972 (Thread.cpp:782) 5 UnityFramework 0x0000000105393568 threadpool_ms_cleanup() + 25589096 (threadpool-ms.cpp:691) 6 UnityFramework 0x000000010537b81c il2cpp::vm::Runtime::Shutdown() + 25491484 (Runtime.cpp:393) 7 UnityFramework 0x0000000104ca2f34 CleanupIl2Cpp + 18313012 (MonoManager_Il2Cpp.cpp:296) 8 UnityFramework 0x0000000104bd3afc PlayerCleanup + 17464060 (Player.cpp:627) 9 UnityFramework 0x0000000104ea6358 UnityCleanup + 20423512 (LibEntryPoint.mm:220) 10 UnityFramework 0x0000000103b42540 -[UnityAppController applicationWillTerminate:] + 91456 (UnityAppController.mm:856) 11 UIKitCore 0x00000001d7f72cf0 -[UIApplication _terminateWithStatus:] + 244 (UIApplication.m:6948) 12 UIKitCore 0x00000001d764ed20 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128 (_UISceneLifecycleMultiplexer.m:806) 13 UIKitCore 0x00000001d7844528 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224 (_UISceneLifecycleMultiplexer.m:480) 14 UIKitCore 0x00000001d7f6f06c -[UIApplication workspaceShouldExit:withTransitionContext:] + 224 (UIApplication.m:3846) 15 FrontBoardServices 0x00000001e6de5fec __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 80 (FBSWorkspaceScenesClient.m:331) 16 FrontBoardServices 0x00000001e6da1308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352) 17 FrontBoardServices 0x00000001e6de5f84 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 132 (FBSWorkspaceScenesClient.m:328) 18 libdispatch.dylib 0x00000001d48a8a2c _dispatch_client_callout + 20 (object.m:560) 19 libdispatch.dylib 0x00000001d48ac4e0 _dispatch_block_invoke_direct + 264 (queue.c:501) 20 FrontBoardServices 0x00000001e6da2c70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157) 21 FrontBoardServices 0x00000001e6da2040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181) 22 FrontBoardServices 0x00000001e6da6700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194) 23 CoreFoundation 0x00000001d4c63f04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972) 24 CoreFoundation 0x00000001d4c74c90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016) Regards, Eshwar threadpool.crash KillAllBackgroundThreadsAndWaitForForegroundThreads.crash
Posted
by EshwarZy.
Last updated
.
Post not yet marked as solved
0 Replies
132 Views
Using Reality Composer [within Xcode]... I've built an .rcproject file with 25 scenes containing Behaviors w/Triggers + Actions to change scenes, one after another. When exported as a .reality file, it does run successfully through all 25 scenes. ❓However... when exported as a .usdz file via "Export: Project" (not "Export: Current Scene"), it only runs the 1st scene, as though the rest of the scenes do not exist. The Trigger to change to the 2nd scene does nothing. ✅ Btw I do have "Enable USDZ export" checked (which is not on by default) in the Preferences for Reality Composer. ✨Thank you✨ I'd greatly appreciate any troubleshooting tips❗️
Posted Last updated
.
Post not yet marked as solved
0 Replies
103 Views
I have a swiftUI app after I decided to add a document type After I opened the infos tab I clicked on "documents" and Xcode crashed. I've filed a bug (FB10465644). Any way so I added the imported & exported document and now its won't work. I ran the executive in my app and it gave me this: .....frovasvohxblobefzbrrwtvqtyuu/Build/Intermediates.noindex/Previews/UtilityScript/Products/Debug/UtilityScript.app/Contents/MacOS/UtilityScript ; exit; SwiftUI/AppWindowsController.swift:1103: Fatal error [1]    30982 illegal hardware instruction   Saving session...completed. [Process completed] in Xcode: SwiftUI/AppWindowsController.swift:1103: Fatal error 2022-06-26 13:26:19.042228+0800 UtilityScript[31108:471855] SwiftUI/AppWindowsController.swift:1103: Fatal error (lldb)  HELP I'VE NEVER THIS BEFORE I JUST WANT TO KNOW IF It"S MY BUG OR SWIFTUI'S AND I JUST WANT MY APP DONE🫠 info.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>22A5286j</string> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleDocumentTypes</key> <array> <dict/> </array> <key>CFBundleExecutable</key> <string>UtilityScript</string> <key>CFBundleIdentifier</key> <string>-----</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>UtilityScript</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSupportedPlatforms</key> <array> <string>MacOSX</string> </array> <key>CFBundleVersion</key> <string>1</string> <key>DTCompiler</key> <string>com.apple.compilers.llvm.clang.1_0</string> <key>DTPlatformBuild</key> <string>14A5228q</string> <key>DTPlatformName</key> <string>macosx</string> <key>DTPlatformVersion</key> <string>13.0</string> <key>DTSDKBuild</key> <string>22A5266o</string> <key>DTSDKName</key> <string>macosx13.0</string> <key>DTXcode</key> <string>1400</string> <key>DTXcodeBuild</key> <string>14A5228q</string> <key>LSMinimumSystemVersion</key> <string>13.0</string> <key>NSHumanReadableCopyright</key> <string>-----</string> <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.plain-text</string> </array> <key>UTTypeIcons</key> <dict/> <key>UTTypeIdentifier</key> <string>-----</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>.utlscript</string> </array> </dict> </dict> </array> <key>UTImportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.plain-text</string> </array> <key>UTTypeIcons</key> <dict> <key>UTTypeIconText</key> <string>utilityscript</string> </dict> <key>UTTypeIdentifier</key> <string>-----</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>.utlscript</string> </array> </dict> </dict> </array> </dict> </plist>
Posted Last updated
.
Post not yet marked as solved
0 Replies
99 Views
So I have a ARView using realitykit. I am reusing the ARView. I have a Entity that has animations (stored in .usdz file). I play the animation with the following line of code. hummingbird = try! Entity.load(named: "bird") for animation in hummingbird.availableAnimations {             hummingbird.playAnimation(animation.repeat(duration: 120.0)) } However I noticed there is a memory leak. using Instruments I found it was at the playAnimation line. I have no clue how to fix this. At the end of the ARView I do this: hummingbird.stopAllAnimations(recursive: true) hummingbird = nil I thought that should be enough. But it isn't. In the image there are 2 instances. That from running the same arview 2 times. Basically my set up is startVC->ARView->backToStartVC->backToSameARView (with new configuration). And so on. Any idea would be great. And if you have any question or need clarification. Please ask.
Posted
by bhavin84.
Last updated
.
Post not yet marked as solved
1 Replies
224 Views
When I use the new Xcode beta to build my app it crashes on launch when using iOS 15.5. However if I use a device using the iOS 16 beta it works as expected. The error I'm getting is the following. dyld[11076]: Symbol not found: _$sSo26UIContextMenuConfigurationC5UIKitE10identifier15previewProvider06actionG0ABSo9NSCopying_pSg_So16UIViewControllerCSgycSgSo6UIMenuCSgSaySo0L7ElementCGcSgtcfC   Referenced from: /private/var/containers/Bundle/Application/89EF89C9-3922-4E6C-BA00-0241894841B8/SomeApp.app/SomeApp   Expected in: /usr/lib/swift/libswiftUIKit.dylib Symbol not found: _$sSo26UIContextMenuConfigurationC5UIKitE10identifier15previewProvider06actionG0ABSo9NSCopying_pSg_So16UIViewControllerCSgycSgSo6UIMenuCSgSaySo0L7ElementCGcSgtcfC   Referenced from: /private/var/containers/Bundle/Application/89EF89C9-3922-4E6C-BA00-0241894841B8/SomeApp.app/SomeApp   Expected in: /usr/lib/swift/libswiftUIKit.dylib (lldb)  Is it missing some libraries? If I use the stable Xcode 13 Version it works as intended. I know this is still beta but I'm wondering if anyone else is having this problem or am I missing something?
Posted
by fbertuzzi.
Last updated
.
Post marked as solved
5 Replies
1.5k Views
Hi, I've seen a couple of crashes in iOS 15 that I've never seen before. From what I can tell it seems to be caused when a user pastes text from one application to another. Could somebody help me verify that: The crash is caused by pasting from another app. The crash is caused by an iOS defect and not a defect in my app. code-blockFatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x91cac __exceptionPreprocess 1 libobjc.A.dylib 0x14758 objc_exception_throw 2 Foundation 0x12361c _userInfoForFileAndLine 3 UIKitCore 0x10b6ffc -[_UITextKitTextPosition compare:] 4 UIKitCore 0x2065c -[UITextInputController comparePosition:toPosition:] 5 UIKitCore 0x10c1b5c -[UITextView comparePosition:toPosition:] 6 UIKitCore 0x108de4c -[UITextPasteController _clampRange:] 7 UIKitCore 0x108e5cc __87-[UITextPasteController _performPasteOfAttributedString:toRange:forSession:completion:]_block_invoke 8 UIKitCore 0x108e7c8 __87-[UITextPasteController _performPasteOfAttributedString:toRange:forSession:completion:]_block_invoke.174 9 UIKitCore 0x10b35e4 -[UITextInputController _pasteAttributedString:toRange:completion:] 10 UIKitCore 0x108e518 -[UITextPasteController _performPasteOfAttributedString:toRange:forSession:completion:] 11 UIKitCore 0x108d820 __49-[UITextPasteController _executePasteForSession:]_block_invoke 12 libdispatch.dylib 0x632ec _dispatch_call_block_and_release 13 libdispatch.dylib 0x642f0 _dispatch_client_callout 14 libdispatch.dylib 0x109a0 _dispatch_main_queue_callback_4CF$VARIANT$mp 15 CoreFoundation 0x4d7f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 16 CoreFoundation 0xb0f8 __CFRunLoopRun 17 CoreFoundation 0x1dd8c CFRunLoopRunSpecific 18 GraphicsServices 0x19a0 GSEventRunModal 19 UIKitCore 0x4ee018 -[UIApplication _run] 20 UIKitCore 0x28229c UIApplicationMain 21 TOFS_AppStore 0x71b0 main + 18 (AppDelegate.swift:18) 22 ??? 0x1030f0190 (Missing)
Posted
by bduggan.
Last updated
.
Post not yet marked as solved
0 Replies
108 Views
I don’t have a fundamental background in Computer Science or Computing Engineering. I want to learn more about how to do code debugging, but within the bounds of how Xcode provides various debugging panes. I’ve seen a number of WWDC session videos about Xcode and debugging. However I really need to learn more about the fundamentals of using Xcode panes like the stack trace pane, the variables pane, and the debugging console. I would greatly appreciate any advice on tutorials, videos, WWDC sessions, etc. that go to the basic levels of what these panes show, how to interpret the content, and how to interact with the information in various Xcode debugging-related panes. Thank you.
Posted Last updated
.
Post not yet marked as solved
0 Replies
100 Views
Running on the simulator & iPhone through XCode works, but when I create an IPA it crashes on start with this error: Incident Identifier: 6BAB10BB-6228-41CF-A456-C9CD42C8F649 CrashReporter Key: 192b0ab51f833d16a3665fc620b94abab20ee8d5 Hardware Model: iPhone13,3 Process: xyz [917] Path: /private/var/containers/Bundle/Application/7E1838A7-DB85-4D54-90A4-79BC75B3A9F8/xyz.app/xyz Identifier: com.xyz.xyz.build Version: 1.3.0 (202) AppStoreTools: 13E500a Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.xyz.xyz.build [527] Date/Time: 2022-06-14 13:27:22.0134 +0200 Launch Time: 2022-06-14 13:27:21.7531 +0200 OS Version: iPhone OS 15.4.1 (19E258) Release Type: User Baseband Version: 2.53.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Application Specific Information: abort() called Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x1b923db78 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1f2eac3bc pthread_kill + 268 2 libsystem_c.dylib 0x18c85851c abort + 168 3 libswiftCore.dylib 0x1054b8b30 _hidden#25421_ + 0 4 libswiftCore.dylib 0x1054b0dc8 _hidden#24807_ + 0 5 dyld 0x104d98910 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 164 6 dyld 0x104dcc780 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 168 7 dyld 0x104d964d8 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 528 8 dyld 0x104d956b8 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168 9 dyld 0x104d94a04 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 10 dyld 0x104dcc310 dyld3::MachOAnalyzer::forEachInitializerPointerSection(Diagnostics&, void (unsigned int, unsigned int, unsigned char const*, bool&) block_pointer) const + 148 11 dyld 0x104da20b4 dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 432 12 dyld 0x104d9ec28 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172 13 dyld 0x104d9a584 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 216 14 dyld 0x104d9a560 dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 180 15 dyld 0x104da07ac dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124 16 dyld 0x104dc04a0 dyld4::APIs::runAllInitializersForMain() + 312 17 dyld 0x104dab76c dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3060 18 dyld 0x104da9cc4 start + 488 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000300500 x5: 0x0000000000000020 x6: 0x0049000004210143 x7: 0x0000000000000001 x8: 0xb12da82a6bd6f68b x9: 0xb12da82b6f09330b x10: 0x0000000000000000 x11: 0x0000000000000002 x12: 0x00000000866657fb x13: 0x0000000006665000 x14: 0x0000000006600000 x15: 0x00000000000000ff x16: 0x0000000000000148 x17: 0x0000000104dfc580 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x0000000104dfc660 x22: 0x00000001055546e8 x23: 0x0000000105218dd0 x24: 0x0000000105218830 x25: 0x000000016b6beae0 x26: 0x0000000105218dd0 x27: 0x0000000000001178 x28: 0x0000000104b717b0 fp: 0x000000016b6be7f0 lr: 0x00000001f2eac3bc sp: 0x000000016b6be7d0 pc: 0x00000001b923db78 cpsr: 0x40001000 far: 0x00000001d852db08 esr: 0x56000080 Address size fault Binary Images: 0x1b9236000 - 0x1b926bfff libsystem_kernel.dylib arm64e <c2fcc05874803c14b4790064a3f843e3> /usr/lib/system/libsystem_kernel.dylib 0x1f2ea5000 - 0x1f2eb0fff libsystem_pthread.dylib arm64e <b48efcbed4f7308ba3fa172e0ea78e33> /usr/lib/system/libsystem_pthread.dylib 0x18c838000 - 0x18c8b7fff libsystem_c.dylib arm64e <b0793d31ed1b3549b86192a10841bf68> /usr/lib/system/libsystem_c.dylib 0x105218000 - 0x105553fff libswiftCore.dylib arm64 <1c83ba26059037aab867d3be1df9299d> /private/var/containers/Bundle/Application/7E1838A7-DB85-4D54-90A4-79BC75B3A9F8/xyz.app/Frameworks/libswiftCore.dylib 0x104d90000 - 0x104de7fff dyld arm64e <d16b72c0d6193e4892622c10a1d3066f> /usr/lib/dyld EOF Can anybody point me to the right direction on how to fix this?
Posted
by rossp.
Last updated
.