"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Multiple errors when switching platforms from Android to iOS

I built my project in Unity on the Android platform. Got it how I want. Built successfully for Android. When I switched platform to iOS, I get 28 build errors. I'm using Vuforia version 8.0.10 in Unity 2018.3.2f1 on a Mac. Here are the errors:

 

Assets/Vuforia/Scripts/BoundingBoxRenderer.cs(11,7): error CS0246: The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs(10,7): error CS0246: The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(12,7): error CS0246: The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(10,7): error CS0246: The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs(18,50): error CS0246: The type or namespace name `VuforiaMonoBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(18,60): error CS0246: The type or namespace name `IObjectRecoEventHandler' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(18,60): error CS0246: The type or namespace name `ITrackableEventHandler' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs(22,46): error CS0246: The type or namespace name `VuforiaUnity' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs(101,23): error CS0246: The type or namespace name `VuforiaUnity' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(22,13): error CS0246: The type or namespace name `ModelTargetBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(32,15): error CS0246: The type or namespace name `ModelRecoBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(35,15): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(46,12): error CS0246: The type or namespace name `ModelTargetBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(158,31): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(169,29): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(181,31): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(208,43): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(266,13): error CS0246: The type or namespace name `ModelTargetBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(289,66): error CS0246: The type or namespace name `OrientedBoundingBox3D' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(305,52): error CS0246: The type or namespace name `ModelTargetBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(327,39): error CS0246: The type or namespace name `ModelTargetBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultModelRecoEventHandler.cs(351,12): error CS0246: The type or namespace name `TargetFinder' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(22,15): error CS0246: The type or namespace name `TrackableBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(23,15): error CS0246: The type or namespace name `TrackableBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(24,15): error CS0246: The type or namespace name `TrackableBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(52,9): error CS0246: The type or namespace name `TrackableBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultTrackableEventHandler.cs(53,9): error CS0246: The type or namespace name `TrackableBehaviour' could not be found. Are you missing an assembly reference?

UnityEditor.BuildPlayerWindow+BuildMethodException: 28 errors   at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00234] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190   at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:96 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

jasonsone

Wed, 01/23/2019 - 21:05

Nevermind. I figured it out. When I switched to iOS platform, I forgot to check the Vuforia Augmented Reality Supported tick box in Player Settings. Stupid mistake.