Почему мое реагирующее нативное приложение iOS вылетает на заставке с потоком 1: сигнал SIGABRT? - PullRequest
1 голос
/ 18 апреля 2019

React Native iOS приложение вылетает при запуске, когда рендеринг заставки застревает с ошибкой в ​​файле main.m

Я попытался очистить сборку и удалить производные данные, обновить модуль и установить модуль какхорошо.

/**
 * Copyright (c) 2015-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

#import <UIKit/UIKit.h>

#import "AppDelegate.h"

int main(int argc, char * argv[]) {
  @autoreleasepool {
    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));   *Thread 1: signal SIGABRT
  }
}

также от отладчика я вижу:

libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
...