Issues with building my project in Xcode

When building the project in Xcode, there are plenty of deprecated warnings generated and I don’t know why. After building finished, the app on my phone crashing every time. Have 0 idea how to fix it.

And the code I wrote runs perfectly in unity even in the unity remote5.

Could anyone help me with this?

Are you getting any errors?