All Questions
Tagged with error-handling ios
410
questions
0
votes
2
answers
108
views
Global error handler for React Native applications (android, ios)
I am trying to create global handler for react native plugin, or at least in the application level, in TypeScript to catch all unhandled exceptions and log them.
I'm using react native 0.74.x version.
...
0
votes
0
answers
107
views
Getting non-localized description or key from NSError
Is there any way to get non-localized key or description from the NSError? I need some way to group errors from API requests and send them back for analytics, but it seems all descriptions or keys ...
0
votes
0
answers
41
views
Why am I getting "Fatal error: Unexpectedly found nil while implicitly unwrapping an optional value?" [duplicate]
I'm trying to enable the highlighted property of UILabels when the corresponding image from a randomly generated array is shown. The UILabels are located on a second ViewController.
My code works when ...
1
vote
0
answers
380
views
Casting Custom Swift Error Back from Kotlin in KMM?
I am working on a Kotlin Multiplatform Mobile (KMM) project and I have a custom error defined in Swift like so:
enum MyError: Error {
case runtimeError(String)
}
I have a method in Swift which ...
0
votes
0
answers
42
views
react native android project error with firebase
hello i am getting an error in my react native application while integrating the phone authentication.
Error sending OTP: [Error: [auth/missing-client-identifier] This request is missing a valid app ...
0
votes
1
answer
267
views
Splashscreen.hide() is not working in ios device
I'm using react-native-splash-screen library, Splashscreen.hide() is working properly for the android devices but its not working in ios devices because splashscreen is not hiding.
This is my ...
1
vote
1
answer
296
views
How to throw errors from a setter in Swift?
I wanted to know if there was a way to have setters throw errors in Swift. I assume this would solve my problem but the fact that I couldn't find a way to do it makes me wonder if I've structured my ...
0
votes
0
answers
57
views
While Sending BNB Coin it throws error nodeError(desc: "unknown account") ios swift
function which i used to send bnb
i have current user wallet address from userdefault
receiver user wallet address from textfield
amount from textfield
and i am sending that in options
function which ...
1
vote
1
answer
137
views
Crash on account creation, error and button code included
I am getting the following error around 20% of the time I try to create an account:
Can someone please help me in diagnosing the issue please
Crashed: com.apple.main-thread
EXC_BAD_ACCESS ...
0
votes
2
answers
125
views
SwiftUI - Error popup fired in multiple views
Im trying to use MV architecture in my project, below is a simple example of my code:
struct PaymentView: View {
@StateObject private var store = PaymentStore()
var body: some View {
...
-1
votes
1
answer
560
views
How to print error message while parsing in swift
this is json error structure:
{
"jsonrpc": "2.0",
"error": {
"code": "-32700",
"message": "Parse error",
...
0
votes
0
answers
52
views
how to solve flutter iOS framework error?
when running app in flutter on iOS simulator I get this error
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/_q/npnlj1jx73dbftdw4k23clvm0000gn/T/...
-1
votes
1
answer
199
views
The file “UserInterfaceState.xcuserstate” could not be unlocked. React Native
Xcode full error
The file is stored in a read-only volume. Try making the volume writable or copying the file to another volume.
Please help me to resolve this error
1
vote
1
answer
754
views
Display customised error screen in a different view in swiftUI
I am trying to show a error message in a different view as in the below code
import Foundation
class apiCall: ObservableObject {
func getUsers(completion:@escaping ([ResultItem]) -> ()) {
...
0
votes
0
answers
473
views
Swift: How to know the types of errors a throwing function throws? [duplicate]
I'm pretty new on Swift so maybe this is a silly question for most of you.
Consider this method:
func load() throws {
let data = try Data(contentsOf: storeURL)
items = try JSONDecoder().decode([...