I have made a new project with nothing in it. I have made a scene with a camera and a cube. So there is nothing in my scene that is causing the problem. I will build the game and try to run it in xcode, but it fails. I have tried cleaning the project. I have tried running it on my iphone, running 6.0 simulator, 5.0 sim, 4.3 sim. It all fails Xcode gives me 2 warnings, and 2 errors. And the build will fail.
Unity Version: 3.5.0f5 (Mac OS X)
Xcode version: 4.5.1
Error copied and pasted from xcode:
ld: warning: directory not found for option ‘-L"/Users/davidhogan/testProject2/build"’
ld: warning: directory not found for option ‘-L"/Users/davidhogan/testProject2/build/Libraries"’
Undefined symbols for architecture i386:
“ConvertToUnityScreenOrientation(int, EnabledOrientation*)”, referenced from:
-[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o
-[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o
-[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried messing around with the options in the player setting in unity with no success. I am new to this. Please help me out