添加Firebase插件后,Xcode Cordova崩溃了

时间:2017-11-28 15:32:59

标签: ios xcode cordova firebase hybrid

我正在使用Cordova 7.1.0在Xcode上开发IOS应用程序。

在我构建cordova-plugin-firebase(0.1.24)之后,应用程序开始崩溃。

的main.m

#import <UIKit/UIKit.h>

int main(int argc, char* argv[])
{
    @autoreleasepool {
        int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
        return retVal;
    }
}

我试过

https://stackoverflow.com/a/7012504/5967421

https://stackoverflow.com/a/22743261/5967421

https://github.com/nordnet/cordova-hot-code-push-local-dev-addon/issues/12

https://kakshilshahblog.wordpress.com/2016/10/02/finding-error-line-number-thread-1-sigabrt-error-exc_crash/

错误消息 线程1信号SIGABRT

实际上Xcode说'建立成功'。启动画面在模拟器中消失后,app停止。

enter image description here

0 个答案:

没有答案