It shows the error, but when I build or compile the app. It works perfectly. There is no error in runtime. How can I solve this?

These kinds of errors often occur if you have multiple targets (e.g. a "Test" target and an "App" target) and some files are linked with both targets and other files are linked with just the "App" target. So in order to fix this, browse through your files and make sure they are linked to the proper targets. Use the "target membership" pane to easily compare files in your project.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With