diff --git a/Editor/LLMBuildProcessor.cs b/Editor/LLMBuildProcessor.cs index 01e67b7b..2fdeae57 100644 --- a/Editor/LLMBuildProcessor.cs +++ b/Editor/LLMBuildProcessor.cs @@ -33,6 +33,9 @@ private void OnBuildError(string condition, string stacktrace, LogType type) public static void AddAccelerate(string outputPath) { string projPath = PBXProject.GetPBXProjectPath(outputPath); +#if UNITY_VISIONOS + projPath = projPath.Replace("Unity-iPhone", "Unity-VisionOS"); +#endif PBXProject proj = new PBXProject(); proj.ReadFromFile(projPath); proj.AddFrameworkToProject(proj.GetUnityMainTargetGuid(), "Accelerate.framework", false);