Skip to main content

All Questions

Tagged with
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 ...
EricGolovin's user avatar
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 ...
Vicente Garcia's user avatar
-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 ...
Dany5's user avatar
  • 3
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 ...
Trønix's user avatar
  • 11
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 ...
Abir Ahsan's user avatar
  • 2,961
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:...
Kylan O'Connor's user avatar
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 ...
Chonte Cha's user avatar
-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,...
mushmonster's user avatar
-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 ...
rayx's user avatar
  • 1,598
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 ...
KFDoom's user avatar
  • 802
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 ...
Shubham Gupta's user avatar
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 ...
Daymo502's user avatar
  • 875
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 ...
M Nabeel Hussain's user avatar
-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 ...
Ahsan's user avatar
  • 95
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 ...
Daniel's user avatar
  • 21k

15 30 50 per page
1
2 3 4 5
7