Skip to content

Commit

Permalink
add project path for visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
amakropoulos committed Jan 17, 2025
1 parent c10017d commit 1937e50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Editor/LLMBuildProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1937e50

Please sign in to comment.