Ballcap-iOS icon indicating copy to clipboard operation
Ballcap-iOS copied to clipboard

WithSwiftUI Sample Crash

Open naturalui opened this issue 4 years ago • 0 comments

Describe the bug

WithSwiftUI example crashing on run.

[REQUIRED] Step 1: Describe your environment

  • Xcode version: Version 11.3 (11C29)
  • Ballcap version: master

[REQUIRED] Step 3: Describe the problem

Example not compiling

Steps to reproduce:

Clone repo Change directory to example/SwiftUI pod install Copy over GoogleService-Info.plist (works on other projects)

Error Message

2020-01-15 02:51:53.892641-0800 WithSwiftUI[3613:4281424]  - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-01-15 02:51:53.958240-0800 WithSwiftUI[3613:4281430] 6.11.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60103000 started
2020-01-15 02:51:53.958820-0800 WithSwiftUI[3613:4281430] 6.11.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
keyNotFound(CodingKeys(stringValue: "name", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"name\", intValue: nil) (\"name\").", underlyingError: nil))
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /path/to/Ballcap-iOS/examples/WithSwiftUI/Pods/Ballcap/Ballcap/DataSource.swift, line 191
2020-01-15 02:51:54.117454-0800 WithSwiftUI[3613:4281428] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /path/to/Ballcap-iOS/examples/WithSwiftUI/Pods/Ballcap/Ballcap/DataSource.swift, line 191

naturalui avatar Jan 15 '20 10:01 naturalui