Remove error message

what is the code to remove error message in an official production compilation?

Best is to fix your errors.

Always check an object is not nil before trying to do something with it.

This problem has already been solved, I would not like these messages to appear when I publish in the store if I have another error.

Check Runtime Errors section here:

Thanks for the answer!