After upgrading to Unity 4 and importing Vuforia 2.0 into one of my projects (previously using Vuforia 1.5.9) I am having issues viewing my project in Game Mode and can no longer "Build and Run" for iOS.
After importing Vuforia 2.0 I noticed that my ARCamera object now has a Web Cam component added to it by default. I tried disabling (unchecked in the inspector) the web cam but now my image target just appears white when previewing my scene in the Game viewer and I am now getting a screen position output in the console when hovering the mouse over my image target in the Gamer viewer.
When trying to "Build and Run" for iOS I get the following error:
Error building Player: SystemException: Duplicate native method found : getInitErrorCode. Please check your source carefully.
I also receive the following error in the Unity console when attempting to compile for iOS:
Assets/Qualcomm Augmented Reality/Scripts/Internal/BGRenderingBehaviour.cs(41,31): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)' is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.'
Any help would be greatly appreciated.