feat(cap-vite): use platform-specific device id (#1458)

---------

Co-authored-by-agent: Cursor Agent <cursoragent@cursor.com>
Co-authored-by-agent: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
LemonNeko
2026-03-23 21:23:15 +08:00
committed by GitHub
parent 3156b82aff
commit 5ba6f4cbf3
6 changed files with 38 additions and 13 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ Start the development server for the capacitor:
```shell
pnpm dev:pocket:ios --target <DEVICE_ID_OR_SIMULATOR_NAME>
# Or
CAPACITOR_DEVICE_ID=<DEVICE_ID_OR_SIMULATOR_NAME> pnpm dev:pocket:ios
CAPACITOR_DEVICE_ID_IOS=<DEVICE_ID_OR_SIMULATOR_NAME> pnpm dev:pocket:ios
```
You can see the list of available devices and simulators by running `pnpm exec cap run ios --list`.