Hi, I actually tried to build my project for IOS14.5 in xcode 12 to see if still has the same issue. It doesn't get the Bad Access error, but gets the following error. Could this be source of all my problems?
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'FIRESTORE INTERNAL ASSERTION FAILED: Failed to open DB: Internal: Failed to open LevelDB database at /Users/juan221093/Library/Developer/CoreSimulator/Devices/D933E43D-50B2-44C0-B6B0-4FB2AEC26B8B/data/Containers/Data/Application/7A5E83F1-D656-4CFE-A79E-D0171B78FB74/Library/Application Support/firestore/__FIRAPP_DEFAULT/swapp-8461b/main: LevelDB error: IO error: lock /Users/juan221093/Library/Developer/CoreSimulator/Devices/D933E43D-50B2-44C0-B6B0-4FB2AEC26B8B/data/Containers/Data/Application/7A5E83F1-D656-4CFE-A79E-D0171B78FB74/Library/Application Support/firestore/__FIRAPP_DEFAULT/swapp-8461b/main/LOCK: Resource temporarily unavailable (expected created.ok())'
terminating with uncaught exception of type NSException
CoreSimulator 776.4 - Device: iPhone 12 Pro Max (D933E43D-50B2-44C0-B6B0-4FB2AEC26B8B) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 12 Pro Max
Post
Replies
Boosts
Views
Activity
Thank you! very much for your reply. I am new to SwiftUI. I will try that and see if that fixes the issue.
Sorry for the formatting and thanks for your reply :)... The view causing the crash is the AuthService, which gets called on OnboardingView.swift