线程1:signal SIGTERM Xcode 11.3.1 SwiftUI

问题描述 投票:-1回答:1

[不幸的是,启动应用程序后出现此错误。不幸的是,我不知道如何在新的SwiftUI框架中修复此错误。

请帮助

enter image description here

这是控制台中的文本

* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGTERM
    frame #0: 0x00007fff523b625a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff523b65d0 libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x000000010a846cf5 CoreFoundation`__CFRunLoopServiceMachPort + 197
    frame #3: 0x000000010a841a17 CoreFoundation`__CFRunLoopRun + 1671
    frame #4: 0x000000010a841066 CoreFoundation`CFRunLoopRunSpecific + 438
    frame #5: 0x000000010c43ebb0 GraphicsServices`GSEventRunModal + 65
    frame #6: 0x0000000114a9dd4d UIKitCore`UIApplicationMain + 1621
  * frame #7: 0x00000001068846eb Panikattacke`main at AppDelegate.swift:12:7
    frame #8: 0x000000010b7b6c25 libdyld.dylib`start + 1
    frame #9: 0x000000010b7b6c25 libdyld.dylib`start + 1
(lldb) 
swift swiftui xcode11.3
1个回答
0
投票

您好,这是控制台中的文本

  • 线程#1,队列='com.apple.main-thread',停止原因=信号SIGTERM帧#0:0x00007fff523b625a libsystem_kernel.dylibmach_msg_trap + 10 frame #1: 0x00007fff523b65d0 libsystem_kernel.dylibmach_msg + 60框架2:0x000000010a846cf5 CoreFoundation__CFRunLoopServiceMachPort + 197 frame #3: 0x000000010a841a17 CoreFoundation__ CFRunLoopRun + 1671框架4:0x000000010a841066 CoreFoundationCFRunLoopRunSpecific + 438 frame #5: 0x000000010c43ebb0 GraphicsServicesGSEventRunModal + 65框架6:0x0000000114a9dd4d UIKitCore`UIApplicationMain + 1621
    • 帧7:0x00000001068846eb Panikattacke main at AppDelegate.swift:12:7 frame #8: 0x000000010b7b6c25 libdyld.dylib开始+ 1框架9:0x000000010b7b6c25 libdyld.dylib`start + 1(lldb)
© www.soinside.com 2019 - 2024. All rights reserved.