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 <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-18 19:33:47 +02:00
commit ed973e4937
5 changed files with 27 additions and 5 deletions

3
.gitignore vendored
View file

@ -40,3 +40,6 @@ ios/DerivedData/
ios/build/
ios/Payload/
ios/**/xcuserdata/
# Xcode workspace user state
*.xcworkspace/xcuserdata/

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:ios/Maturita.xcodeproj">
</FileRef>
</Workspace>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View file

@ -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).

View file

@ -36,7 +36,7 @@
</p>
<ol>
<li>Naklonuj <a href="https://github.com/pepaskopec-blip/maturita.c">maturita.c</a></li>
<li>Otevři <code>ios/Maturita.xcodeproj</code></li>
<li>Otevři <code>Maturita.xcworkspace</code> v kořeni repozitáře</li>
<li>V Signing vyber svůj Team</li>
<li>Připoj iPhone a stiskni Run</li>
</ol>