F
F
fokin_nikolay19892020-10-17 15:41:53
Swift
fokin_nikolay1989, 2020-10-17 15:41:53

How to fix Swift error?

When you click on the icon, the list of users from the Firebase database should come out,
but the application breaks

[9363:1276925] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<motoRider.User 0x600001bdf900> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key email.'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
briahas, 2020-10-17
@briahas

Even without seeing the code, by mistake, it is clear that you are trying to write data on the "email" key to the motoRider.User object , and this object does not support such treatment with it.
Give the code, then we will look in more detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question