I am uploading image to firebase. It is working fine on android, but in iOS there is a run time error and app crashes.
here is the code causing error:
appCheck = ComponentType<AppCheckInterop>.instance(for: AppCheckInterop.self, in: app.container)!
and the error is:
FirebaseStorage/Storage.swift:294: Fatal error: Unexpectedly found nil while unwrapping an Optional value
solution to upload image on firebase without app crash