Step 1: clone the WebSpatial SDK source code
git clone git@github.com:webspatial/webspatial-sdk.gitStep 2: change XRSDKBaseDir value in file '.env' file generated in step 1
const XRSDKBaseDir = "/path/to/your/XRSDK/";
Step 3: run the following command to start web project
npm run dev:internalnow you visit http://localhost:5201/ in you browser
Step 4: open XCode project in WebSpatial SDK source code, which is located in
YOUR_XRSDK/cli/template/visionOSAppStep 5: change entry page of your project in XCode project
File:
YOUR_XRSDK/cli/template/visionOSApp/web-spatial/libs/webView/manifest.swift
Line 8
Change start_url
var start_url: String = "http://localhost:5201/"Step 6 run you XCode project, it will open your web project in XCode simulator
Step 7: you can change your webspatial SDK source to see the effect immediately
Note: don't run npm run dev:avp, use npm run dev:internal instead