每次我在Xcode工作区中构建应用程序以连接Firebase服务器时,我都会遇到线程1信号sigabrt 。为什么这会不断出现,我可以获得一些帮助吗?
0x112601804 : callq 0x112601869 ; _UIApplicationMainPreparations 0x112601809 : movq 0xceb190(%rip), %rdi ; UIApp 0x112601810 : movq 0xc5f841(%rip), %rsi ; "_run" 0x112601817 : callq *0x892c93(%rip) ; (void *)0x000000010e7c4d80: objc_msgSend 0x11260181d : movq 0x892c94(%rip), %rbx ; (void *)0x000000010e7c2010: objc_release (thread 1 signal sigabrt) 0x112601824 : movq %r15, %rdi
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure()
// Override point for customization after application launch.
return true
}
func applicationWillResignActive(_ application: UIApplication) {
Podfile:
# platform :ios, '9.3'
target 'TV' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'Firebase/Core'
# Pods for TV
这是暗示集成Firebase的说明,但调试问题不断出现。我该如何解决这个问题?