Skip to content

Commit d7bb7a9

Browse files
refactor (tauri.yml): set ios sim device as env var
1 parent 919755d commit d7bb7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ lunchjs/
7575
- Click **+** (Plus sign) at bottom left
7676
- Select **Device Type** and **OS Version**
7777
- Click **Create**
78-
- To change the default simulator, edit `IOS_SIM_DEVICE` in `taskfiles/tauri.yml`
78+
- To change the default simulator, edit `IOS_SIM_DEVICE` in `.env`
7979

8080
6. **Configure Apple Developer account** (for iOS device builds only):
8181
- **Not required** for simulator builds (`task ios:dev` or `task ios:build:sim`)

taskfiles/tauri.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vars:
1717
IOS_ARM64_TARGET: "aarch64-apple-ios"
1818
IOS_SIM_ARM64_TARGET: "aarch64-apple-ios-sim"
1919
IOS_SIM_X64_TARGET: "x86_64-apple-ios"
20-
IOS_SIM_DEVICE: "iPhone 13 mini"
20+
IOS_SIM_DEVICE: '{{.IOS_SIM_DEVICE | default "iPhone 13 mini"}}'
2121

2222
tasks:
2323
info:

0 commit comments

Comments
 (0)