Ios 离子xcode错误:UIApplicationMain线程1:信号SIGABRT

Ios 离子xcode错误:UIApplicationMain线程1:信号SIGABRT,ios,xcode,ionic-framework,ionic4,Ios,Xcode,Ionic Framework,Ionic4,我正在用爱奥尼亚开发一个应用程序,上周这个版本运行得很好,但是现在我遇到了xcode的问题 当我使用ionic cordova build ios--prod--release进行构建时,我得到一个**构建成功**,我打开xcode项目并运行模拟器,我现在在xcode中得到一个错误。。这是我以前从未有过的 它将我带到这个文件: #import <UIKit/UIKit.h> int main(int argc, char* argv[]) { @autoreleasepoo

我正在用爱奥尼亚开发一个应用程序,上周这个版本运行得很好,但是现在我遇到了xcode的问题

当我使用ionic cordova build ios--prod--release进行构建时,我得到一个**构建成功**,我打开xcode项目并运行模拟器,我现在在xcode中得到一个错误。。这是我以前从未有过的

它将我带到这个文件:

#import <UIKit/UIKit.h>

int main(int argc, char* argv[])
{
    @autoreleasepool {
        int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); <--- ERROR Thread 1: signal SIGABRT
        return retVal;
    }
}
#导入
int main(int argc,char*argv[])
{
@自动释放池{
int retVal=UIApplicationMain(argc,argv,nil,@“AppDelegate”);
2021-05-01 21:42:10.502884-0400 Environment[11736:9267172] FCMPlugin.js: is created
2021-05-01 21:42:10.503340-0400 Environment[11736:9267172] FCMPlugin Ready OK
2021-05-01 21:42:10.503683-0400 Environment[11736:9267172] Ionic Native: deviceready event fired after 1536 ms
2021-05-01 21:42:10.525575-0400 Environment[11736:9267172] OPEN database: _ionicstorage
2021-05-01 21:42:10.529451-0400 Environment[11736:9267172] -[SQLitePlugin pluginInitialize] [Line 33] Initializing SQLitePlugin
2021-05-01 21:42:10.529819-0400 Environment[11736:9267172] -[SQLitePlugin pluginInitialize] [Line 40] Detected docs path: /Users/simonenvironment/Library/Developer/CoreSimulator/Devices/157A8530-3E1E-4F9B-8D76-1E7278180E76/data/Containers/Data/Application/9353BB78-34C3-4A5C-97D8-774109E366C8/Documents
2021-05-01 21:42:10.531241-0400 Environment[11736:9267172] -[SQLitePlugin pluginInitialize] [Line 44] Detected Library path: /Users/simonenvironment/Library/Developer/CoreSimulator/Devices/157A8530-3E1E-4F9B-8D76-1E7278180E76/data/Containers/Data/Application/9353BB78-34C3-4A5C-97D8-774109E366C8/Library
2021-05-01 21:42:10.531584-0400 Environment[11736:9267172] -[SQLitePlugin pluginInitialize] [Line 51] no cloud sync at path: /Users/simonenvironment/Library/Developer/CoreSimulator/Devices/157A8530-3E1E-4F9B-8D76-1E7278180E76/data/Containers/Data/Application/9353BB78-34C3-4A5C-97D8-774109E366C8/Library/LocalDatabase
2021-05-01 21:42:10.532041-0400 Environment[11736:9267950] -[SQLitePlugin closeNow:] [Line 204] close: db name was not open: _ionicstorage
2021-05-01 21:42:10.534916-0400 Environment[11736:9267172] new transaction is queued, waiting for open operation to finish
2021-05-01 21:42:10.939922-0400 Environment[11736:9267172] ERROR: Unhandled Promise rejection: The string did not match the expected pattern. ; Zone: <root> ; Task: Promise.then ; Value: SyntaxError: The string did not match the expected pattern. json@[native code]
ionic://environmentapp.local/plugins/cordova-plugin-ionic/dist/common.js:256:55
step@ionic://environmentapp.local/plugins/cordova-plugin-ionic/dist/common.js:35:27
fulfilled@ionic://environmentapp.local/plugins/cordova-plugin-ionic/dist/common.js:7:62
run@ionic://environmentapp.local/polyfills-es2015.4e073be23bea663e8995.js:1:1992
ionic://environmentapp.local/polyfills-es2015.4e073be23bea663e8995.js:1:12778
runTask@ionic://environmentapp.local/polyfills-es2015.4e073be23bea663e8995.js:1:2611
_@ionic://environmentapp.local/polyfills-es2015.4e073be23bea663e8995.js:1:9060
promiseReactionJob@[native code]
2021-05-01 21:42:10.944819-0400 Environment[11736:9267950] -[SQLitePlugin openNow:] [Line 147] open full db path: /Users/simonenvironment/Library/Developer/CoreSimulator/Devices/157A8530-3E1E-4F9B-8D76-1E7278180E76/data/Containers/Data/Application/9353BB78-34C3-4A5C-97D8-774109E366C8/Library/LocalDatabase/_ionicstorage
2021-05-01 21:42:11.000503-0400 Environment[11736:9267172] OPEN database: _ionicstorage - OK
2021-05-01 21:42:11.001446-0400 Environment[11736:9267172] DB opened: _ionicstorage
2021-05-01 21:42:11.025949-0400 Environment[11736:9267172] null
2021-05-01 21:42:11.078169-0400 Environment[11736:9268241] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
2021-05-01 21:42:11.078384-0400 Environment[11736:9268241] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable.
CoreData: warning: Property 'parameters' on Entity 'GAIHit' is using nil or an insecure NSValueTransformer.  Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead.
2021-05-01 21:42:11.097142-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.097190-0400 Environment[11736:9267950] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.097826-0400 Environment[11736:9267950] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.101932-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.102330-0400 Environment[11736:9267950] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.114366-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.114460-0400 Environment[11736:9267950] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.458798-0400 Environment[11736:9267172] THREAD WARNING: ['Mixpanel'] took '429.623291' ms. Plugin should use a background thread.
2021-05-01 21:42:11.459234-0400 Environment[11736:9267172] Branch initiated
2021-05-01 21:42:11.500371-0400 Environment[11736:9268012] [branch.io] Branch.m(185) Log: Branch version 0.31.4 started at 2021-05-02 01:42:11 +0000.
2021-05-01 21:42:11.503128-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.503194-0400 Environment[11736:9268011] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.504095-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.504487-0400 Environment[11736:9268011] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.505946-0400 Environment[11736:9267172] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.506190-0400 Environment[11736:9268011] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-05-01 21:42:11.511532-0400 Environment[11736:9267172] THREAD WARNING: ['BranchSDK'] took '51.979004' ms. Plugin should use a background thread.
AppsFlyer SDK version 5.4.3 started build (155)
2021-05-01 21:42:11.527265-0400 Environment[11736:9267172] -[__NSCFString count]: unrecognized selector sent to instance 0x6000001902a0
2021-05-01 21:42:11.564981-0400 Environment[11736:9267172] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x6000001902a0'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff23baa1ee __exceptionPreprocess + 350
    1   libobjc.A.dylib                     0x00007fff50864b20 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff23bcb154 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
    3   CoreFoundation                      0x00007fff23baef6c ___forwarding___ + 1436
    4   CoreFoundation                      0x00007fff23bb10f8 _CF_forwarding_prep_0 + 120
    5   Environment                                0x0000000109c2ff01 +[Mixpanel assertPropertyTypesInDictionary:depth:] + 113
    6   Environment                                0x0000000109c2f9d9 +[Mixpanel assertPropertyTypes:] + 89
    7   Environment                                0x0000000109c31c38 -[Mixpanel track:properties:] + 376
    8   Environment                                0x0000000109bd379b -[MixpanelPlugin track:] + 283
    9   Environment                                0x0000000109d961e4 -[CDVCommandQueue execute:] + 900
    10  Environment                                0x0000000109bc799f -[CDVWKWebViewEngine handleCordovaMessage:] + 207
    11  Environment                                0x0000000109bc781b -[CDVWKWebViewEngine userContentController:didReceiveScriptMessage:] + 187
    12  Environment                                0x0000000109bc9bae -[CDVWKWeakScriptMessageHandler userContentController:didReceiveScriptMessage:] + 126
    13  WebKit                              0x00007fff2d0dff03 _ZN28ScriptMessageHandlerDelegate14didPostMessageERN6WebKit12WebPageProxyERKNS0_13FrameInfoDataERN7WebCore21SerializedScriptValueE + 217
    14  WebKit                              0x00007fff2d25f3a7 _ZN6WebKit29WebUserContentControllerProxy14didPostMessageERN3IPC10ConnectionEN3WTF16ObjectIdentifierIN7WebCore18PageIdentifierTypeEEERKNS_13FrameInfoDataEyRKNS1_13DataReferenceE + 175
    15  WebKit                              0x00007fff2d460435 _ZN3IPC13handleMessageIN8Messages29WebUserContentControllerProxy14DidPostMessageEN6WebKit29WebUserContentControllerProxyEMS5_FvRNS_10ConnectionEN3WTF16ObjectIdentifierIN7WebCore18PageIdentifierTypeEEERKNS4_13FrameInfoDataEyRKNS_13DataReferenceEEEEvS7_RNS_7DecoderEPT0_T1_ + 116
    16  WebKit                              0x00007fff2cf5d2be _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 114
    17  WebKit                              0x00007fff2d1a597c _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 24
    18  WebKit                              0x00007fff2cf487f2 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 158
    19  WebKit                              0x00007fff2cf4b59e _ZN3IPC10Connection24dispatchIncomingMessagesEv + 608
    20  JavaScriptCore                      0x00007fff267c2bd4 _ZN3WTF7RunLoop11performWorkEv + 228
    21  JavaScriptCore                      0x00007fff267c2e62 _ZN3WTF7RunLoop11performWorkEPv + 34
    22  CoreFoundation                      0x00007fff23b0d271 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    23  CoreFoundation                      0x00007fff23b0d19c __CFRunLoopDoSource0 + 76
    24  CoreFoundation                      0x00007fff23b0c9cc __CFRunLoopDoSources0 + 268
    25  CoreFoundation                      0x00007fff23b0767f __CFRunLoopRun + 1263
    26  CoreFoundation                      0x00007fff23b06e66 CFRunLoopRunSpecific + 438
    27  GraphicsServices                    0x00007fff38346bb0 GSEventRunModal + 65
    28  UIKitCore                           0x00007fff47578dd0 UIApplicationMain + 1621
    29  Environment                                0x0000000109af8a21 main + 65
    30  libdyld.dylib                       0x00007fff516ecd29 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)