48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# TeleTuiIOS
|
|
|
|
Native SwiftUI shell for the iOS client.
|
|
|
|
Current scope:
|
|
|
|
- SwiftUI + MVVM app shell backed by a deterministic fake bridge.
|
|
- Auth, chat list, folder selector, chat detail, compose bar, profile sheet, and account switcher shell.
|
|
- iOS-oriented storage boundaries: Keychain-shaped credential API and Application Support account paths.
|
|
|
|
Build and smoke-test the portable shell:
|
|
|
|
```bash
|
|
cd apps/ios/TeleTuiIOS
|
|
swift run TeleTuiIOSSmokeTests
|
|
```
|
|
|
|
Verify local iOS tooling:
|
|
|
|
```bash
|
|
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/check-ios-prereqs.sh
|
|
```
|
|
|
|
Build the SwiftUI shell for iOS Simulator and package it as an installable `.app`:
|
|
|
|
```bash
|
|
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/build-ios-simulator-app.sh
|
|
```
|
|
|
|
Launch the fake-backed app in the first available iPhone simulator:
|
|
|
|
```bash
|
|
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/run-ios-simulator-app.sh
|
|
```
|
|
|
|
Run the simulator launch plus screenshot sanity check:
|
|
|
|
```bash
|
|
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/smoke-ios-simulator-ui.sh
|
|
```
|
|
|
|
Build the app against the local real Rust/TDLib FFI artifacts:
|
|
|
|
```bash
|
|
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/build-ios-real-ffi-xcframework.sh
|
|
TELE_IOS_USE_LOCAL_FFI=1 DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/build-ios-simulator-app.sh
|
|
```
|