From Unity to Xcode....

I’ve hit a brick wall of sorts. I’ve built my game through the IOS addon for unity but when I try to run it through Xcode it gives me these errors.

“Sermantic Issue: Enumeration values ‘kScreenOrientationUknown’, ‘autorotation’, and ‘kScreenOrientationCount’ not handled in switch.”

and

"Sermantic Issue: Incompatible pointer types passing ‘UIView’ to parameter of type ‘EAGLView’

When I can get the game to appear on the iPad to test it freezes on the unity’s splash screen.

This is my first time working in Xcode. So was there something I missed before I moved the game from Unity? Are there adjustments I have to make in Xcode?

Having identical issues since I upgraded my iPad to iOS5.0. This thread (last post) helped me fix the first error, “Sermantic Issue: Enumeration values ‘kScreenOrientationUknown’, ‘autorotation’, and ‘kScreenOrientationCount’ not handled in switch.” but not the second.