All Questions
Tagged with fatal-error ios
96
questions
0
votes
0
answers
75
views
SwiftData FatalError Unknown Relationship Key
Some of our users on iOS 17.5+ started to encounter crash due to:
SwiftData/BackingData.swift:669: Fatal error: Unknown Relationship Key - subscription)
We started using SwiftData only on the ...
8
votes
2
answers
2k
views
Fatal error while using evaluateJavaScript on WKWebView
WKWebView crashes while trying to evaluate JavaScript on Xcode 14.1, using Swift, tested on iOS but same behaviour should be on macOS.
I made a vastly simplified example to try to find a solution, and ...
-1
votes
1
answer
438
views
How to fix that error “Fatal Error in ContentView.swift”?
I’ve problem with fatalError(). I try to adding to a list of words but in this line there is problem it says:
fatal Error in ContentView.swift
and i don’t why this happened my code was totally ...
1
vote
0
answers
129
views
Runtime is not ready for debugging when running a React-Native
Why am i getting this error even though I cleaned the pod file in VS Code when running a React-Native project.
I used npx react-native run-ios to run the project. This is the first react native ...
4
votes
5
answers
7k
views
flutter: fatal error: module 'firebase_analytics' not found
After adding firebase dependency on iOS, when I want to run then I get this error
Xcode's output:
↳
../ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module
'firebase_analytics' not ...
0
votes
0
answers
34
views
Fatal nil Error when trying to present menu scene and create a button(swift SpriteKit)
I am trying to present a menu scene as the first scene in my game, and my menu has a play button on it, but when I run it I get a fatal nil unwrapping error.
Here is some code in my gameViewController:...
0
votes
1
answer
91
views
Erase more than one string with ondelete on swiftUI
I am trying to create a list of items with price next to it. It seems like everything is working perfectly except the ondelete() function, I cant seem to find a way to delete both strings in the ...
-3
votes
1
answer
103
views
UI label reading as nil? [duplicate]
I'm new to Xcode and was trying to make a simple code that would unhide a label when a button is pressed. I tried using the same code in a test project with one view controller and it worked just fine,...
-1
votes
1
answer
67
views
Best practice for presenting App internal error to user?
I use guard statement and fatalError() a lot in my app to make sure data are in consistent state. They help to catch bugs in development phase. Now I'm in the late phase of the project and start to ...
0
votes
1
answer
29
views
Vox cocoapod for JSONAPI doesn't build due to fatalError
So I installed the pod for Vox on github and it's not building at all. Instead, I keep getting the error below.
I through overriding just meant referring to the class in a different place and ...
0
votes
1
answer
2k
views
Crash Exception: NSInvalidArgumentException -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
I am getting this crash in my crashlytics report and this is only happening in iPhone 7(iOS 13.*). I have tried to debug this crash in simulator and real devices also but it is not crashing in any of ...
66
votes
2
answers
34k
views
SwiftUI -> Thread 1: Fatal error: No observable object of type MyObject.Type found (EnvironmentObject in sheet)
I'm building an app with SwiftUI. When I was trying to display a sheet (previously Modal), this error message appears:
Thread 1: Fatal error: No observable object of type ...
0
votes
2
answers
3k
views
Swift4: How to resolve "Fatal error: Can't form Range with upperBound < lowerBound"? (duration time delay in UI)
I try to close the menu animatedly using animation,
I decided to reduce the size of the UIScrollView on button press when size reduces up to my desired value, then I hide it.
to accomplish the task ...
-1
votes
1
answer
129
views
Delegate Returning nil, not in ViewController but on Delegate creating class
Before flagging my problem as duplicate, please go through my question,
I have used delegate pattern in my app, and all of my code related to delegates working fine. But now there is one class that is ...
3
votes
0
answers
70
views
Pass a string to the crash report for custom errors
I realised that if I call
fatalError("It's not flying in flight mode")
the crash report will strip that string leaving me with only a SIGTRAP.
Is there a way to throw an error with a string for ...