From ed973e4937f82f7d7d6a9bce6978cd68bd6f1eef Mon Sep 17 00:00:00 2001
From: pepaskopec-blip
Date: Fri, 18 Sep 2026 19:33:47 +0200
Subject: [PATCH] Add a root workspace so the iOS project opens without being
moved.
Maturita.xcworkspace points at ios/Maturita.xcodeproj; opening the
project from the repository root otherwise resolves Maturita/ to the
compiled desktop binary on a case-insensitive disk.
Co-authored-by: Cursor
---
.gitignore | 3 +++
Maturita.xcworkspace/contents.xcworkspacedata | 7 +++++++
.../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++
README.md | 12 ++++++++----
installers/maturita-ios.html | 2 +-
5 files changed, 27 insertions(+), 5 deletions(-)
create mode 100644 Maturita.xcworkspace/contents.xcworkspacedata
create mode 100644 Maturita.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
diff --git a/.gitignore b/.gitignore
index d498b9a..b65f39d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,6 @@ ios/DerivedData/
ios/build/
ios/Payload/
ios/**/xcuserdata/
+
+# Xcode workspace user state
+*.xcworkspace/xcuserdata/
diff --git a/Maturita.xcworkspace/contents.xcworkspacedata b/Maturita.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..0cf4a51
--- /dev/null
+++ b/Maturita.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/Maturita.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Maturita.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/Maturita.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/README.md b/README.md
index f8f9ad7..e6b2fd8 100644
--- a/README.md
+++ b/README.md
@@ -169,13 +169,15 @@ jednou odinstalujte a nainstalujte znovu.
iOS ze zdroje (Xcode 26, iOS 26+ / Liquid Glass):
```bash
-open ios/Maturita.xcodeproj
+open Maturita.xcworkspace # v kořeni repozitáře
# Simulátor: vyber iPhone a Run, nic dalšího není potřeba (obsah se
# vytáhne z C zdrojů při buildu). Na iPhone: v Signing vyber svůj Team.
# nebo: make ios # unsigned IPA v dist-ios/maturita-ios.ipa
```
-Projekt musí zůstat v `ios/` uvnitř repozitáře – build čte `../src` a `../scripts`.
+Workspace odkazuje na `ios/Maturita.xcodeproj`. Projekt nepřesouvejte – build
+čte `../src` a `../scripts` a v kořeni by `Maturita/` kolidovalo se
+zkompilovaným binárem `maturita`.
Licence: [GPL-3.0](LICENSE).
@@ -345,12 +347,14 @@ signature – uninstall once and install again.
iOS from source (Xcode 26, iOS 26+ / Liquid Glass):
```bash
-open ios/Maturita.xcodeproj
+open Maturita.xcworkspace # at the repo root
# Simulator: pick an iPhone and Run, nothing else needed (content is
# extracted from the C sources during the build). Device: pick your Team.
# or: make ios # unsigned IPA at dist-ios/maturita-ios.ipa
```
-Keep the project inside `ios/` in the checkout – the build reads `../src` and `../scripts`.
+The workspace points at `ios/Maturita.xcodeproj`. Do not move the project –
+the build reads `../src` and `../scripts`, and at the root `Maturita/` would
+collide with the compiled `maturita` binary.
License: [GPL-3.0](LICENSE).
diff --git a/installers/maturita-ios.html b/installers/maturita-ios.html
index 869718c..ef26dc9 100644
--- a/installers/maturita-ios.html
+++ b/installers/maturita-ios.html
@@ -36,7 +36,7 @@
- Naklonuj maturita.c
- - Otevři
ios/Maturita.xcodeproj
+ - Otevři
Maturita.xcworkspace v kořeni repozitáře
- V Signing vyber svůj Team
- Připoj iPhone a stiskni Run