Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/115.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS Firebase可检测事件中的崩溃,但无法识别Crashlytics部分中的应用程序_Ios_Crashlytics - Fatal编程技术网

iOS Firebase可检测事件中的崩溃,但无法识别Crashlytics部分中的应用程序

iOS Firebase可检测事件中的崩溃,但无法识别Crashlytics部分中的应用程序,ios,crashlytics,Ios,Crashlytics,我花了一整天的时间弄清楚Crashlytics和我的应用程序到底发生了什么。 当我崩溃应用程序时,它会检测到致命事件,但不会激活应用程序的crashlytics部分 它没有检测到应用程序,但它确实检测到崩溃事件: 以下是日志: 2021-02-18 19:13:37.616817-0500 Flipper Vanilla[6802:623603] [Firebase/Crashlytics] Version 4.6.2 2021-02-18 19:13:37.935629-0500 Flip

我花了一整天的时间弄清楚Crashlytics和我的应用程序到底发生了什么。 当我崩溃应用程序时,它会检测到致命事件,但不会激活应用程序的crashlytics部分

它没有检测到应用程序,但它确实检测到崩溃事件:

以下是日志:

2021-02-18 19:13:37.616817-0500 Flipper Vanilla[6802:623603] [Firebase/Crashlytics] Version 4.6.2
2021-02-18 19:13:37.935629-0500 Flipper Vanilla[6802:623793] [Firebase/Crashlytics] Packaged report with id 'a0508fb8c8f14176bd8b3c186ece7e53' for submission
2021-02-18 19:13:38.117774-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:38.118689-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics] Running on iPhone8,2, 14.4.0 (18D52)
2021-02-18 19:13:38.119240-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Crash:Reports:Event] Registered Firebase Analytics event listener
2021-02-18 19:13:38.119603-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] Automatic data collection is enabled.
2021-02-18 19:13:38.119863-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] Unsent reports will be uploaded at startup
2021-02-18 19:13:38.120093-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/RemoteConfig][I-RCN000062] Loading database at path /var/mobile/Containers/Data/Application/41DD1547-68EE-4853-97B2-D24DA38F2CC6/Library/Application Support/Google/RemoteConfig/RemoteConfig.sqlite3
2021-02-18 19:13:38.120430-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Performance][I-PRF900002] Session Id generated - 382402f1304d45a4a256b540eb2a17f3
2021-02-18 19:13:38.120665-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] Preparing the report for the new endpoint: 1
2021-02-18 19:13:38.120972-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Crash:Reports] Submitting report
2021-02-18 19:13:38.121183-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] Expected encodable string, but found NSNull instead. Set a symbolic breakpoint at FIRCLSEncodeString to debug.
2021-02-18 19:13:38.121942-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Crash:Reports:Event] Sending event.
2021-02-18 19:13:38.122189-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging trace metric - _as 690.5800ms
2021-02-18 19:13:38.122420-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:38.122728-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Crash:Reports] Completed report submission with id: a0508fb8c8f14176bd8b3c186ece7e53
2021-02-18 19:13:38.129444-0500 Flipper Vanilla[6802:623796] 6.34.0 - [GULReachability][I-REA902003] Monitoring the network status
2021-02-18 19:13:38.130078-0500 Flipper Vanilla[6802:623796] 6.34.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2021-02-18 19:13:38.130363-0500 Flipper Vanilla[6802:623796] 6.34.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2021-02-18 19:13:38.130630-0500 Flipper Vanilla[6802:623796] 6.34.0 - [GULReachability][I-REA902003] Monitoring the network status
2021-02-18 19:13:38.169758-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2021-02-18 19:13:38.170176-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at ...
2021-02-18 19:13:38.170548-0500 Flipper Vanilla[6802:623793] 6.34.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
2021-02-18 19:13:38.175850-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60900000 started
2021-02-18 19:13:38.177508-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see ...)
2021-02-18 19:13:38.179096-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2021-02-18 19:13:38.179573-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see ...)
2021-02-18 19:13:38.180006-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 6872.976175904274
2021-02-18 19:13:38.180497-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2021-02-18 19:13:38.180973-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version: 1613596375523952
2021-02-18 19:13:38.181041-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2021-02-18 19:13:38.187078-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2021-02-18 19:13:38.189051-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2021-02-18 19:13:38.189369-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2021-02-18 19:13:38.189958-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2021-02-18 19:13:38.192536-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: clx, app_exception (_ae), {
    fatal = 1;
    ga_event_origin (_o) = clx;
    ga_realtime (_r) = 1;
    timestamp = 0;
}
2021-02-18 19:13:38.192579-0500 Flipper Vanilla[6802:623786] 6.34.0 - [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: app_exception (_ae), {
    fatal = 1;
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = clx;
    ga_realtime (_r) = 1;
    timestamp = 0;
}
2021-02-18 19:13:38.197688-0500 Flipper Vanilla[6802:623796] 6.34.0 - [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: app_exception (_ae), {
    fatal = 1;
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = clx;
    ga_realtime (_r) = 1;
    timestamp = 0;
}
2021-02-18 19:13:38.204796-0500 Flipper Vanilla[6802:623790] 6.34.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): 0.7330728769302368
2021-02-18 19:13:39.040080-0500 Flipper Vanilla[6802:623791] 6.34.0 - [Firebase/Analytics][I-ACS002001] Measurement timer fired
2021-02-18 19:13:39.040689-0500 Flipper Vanilla[6802:623791] 6.34.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2021-02-18 19:13:39.040831-0500 Flipper Vanilla[6802:623791] 6.34.0 - [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: app_exception (_ae), {
    fatal = 1;
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = clx;
    ga_realtime (_r) = 1;
    timestamp = 0;
}
2021-02-18 19:13:39.265469-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging network request trace - https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog, Response code: 200, 1115.4450ms
2021-02-18 19:13:39.266737-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:39.266889-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging network request trace - https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog, Response code: 200, 1115.7930ms
2021-02-18 19:13:39.267039-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:39.268343-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 429
2021-02-18 19:13:39.268571-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 9, 1613693617937
2021-02-18 19:13:39.339025-0500 Flipper Vanilla[6802:623787] 6.34.0 - [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data: 1613693619338, <APMPBMeasurementBatch: 0x282089750>
2021-02-18 19:13:39.588713-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a
2021-02-18 19:13:39.934109-0500 Flipper Vanilla[6802:623792] 6.34.0 - [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a
2021-02-18 19:13:40.072404-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging network request trace - https://app-measurement.com/a, Response code: 204, 545.4280ms
2021-02-18 19:13:40.072587-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:40.072700-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2021-02-18 19:13:40.073752-0500 Flipper Vanilla[6802:623793] 6.34.0 - [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, -1
2021-02-18 19:13:40.077967-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -1.139809966087341
2021-02-18 19:13:40.086867-0500 Flipper Vanilla[6802:623782] 6.34.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2021-02-18 19:14:12.238166-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging network request trace - https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog, Response code: 200, 61.9940ms
2021-02-18 19:14:12.239045-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2021-02-18 19:14:12.240757-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Performance][I-PRF100009] Logging network request trace - https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog, Response code: 200, 62.8420ms
2021-02-18 19:14:12.241533-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2021-02-18 19:14:12.242150-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2021-02-18 19:14:12.242965-0500 Flipper Vanilla[6802:623785] 6.34.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
当我在那里设置断点时,在调试器中我看到一个字符串,但一旦该字符串传递给FIRCLSEncodeString函数,它就变成了nil

不知道是什么引起的

有什么想法吗?

我找到了原因。 我的应用程序在目标设置中没有显示名称和字符串版本,它导致Crashlytics打印
预期的可编码字符串,但却发现NSNull
,最终没有发送报告。
为了调试它,我必须禁用所有优化。

感谢@igor kogan,在我的例子中,构建版本是空的
Expected encodable string, but found NSNull instead. Set a symbolic breakpoint at FIRCLSEncodeString to debug.