updates
This commit is contained in:
+19
-1
@@ -20,10 +20,28 @@ Provisioning updates are disabled by default. If you explicitly want Xcode to co
|
||||
|
||||
Outputs:
|
||||
|
||||
- Builds: `build/Debug/` or `build/Release/`, including `build.log` and DerivedData.
|
||||
- Builds: `build/Debug/` or `build/Release/`, including `build.log` and `Tarnax.app`.
|
||||
- Releases: a unique folder under `build/releases/`, containing `Tarnax.xcarchive`, `ExportOptions.plist`, logs, and `export/Tarnax.ipa` with a SHA-256 checksum.
|
||||
- Override roots with `BUILD_OUTPUT_DIR` or `RELEASE_OUTPUT_DIR`.
|
||||
|
||||
Release export fails on any archive/export/signature/profile verification error. No unsigned ZIP is passed off as an installable IPA. Profiles include device identifiers: share only the intended IPA with testers and keep the remaining release diagnostics private.
|
||||
|
||||
The current contract harness exercises mocked transport and model behavior. It does not sign in to a live server or exercise the physical-device UI. This project has no XCTest target; the script compiles and runs the existing executable contract harness.
|
||||
|
||||
## Install on your iPhone
|
||||
|
||||
Connect and unlock your iPhone, trust this Mac and enable Developer Mode when required. Pair the device in Xcode's Devices and Simulators first.
|
||||
|
||||
```sh
|
||||
./scripts/deploy.sh --list
|
||||
./scripts/deploy.sh # Build signed Release, install and launch
|
||||
./scripts/deploy.sh --device "iPhone name" # Select when multiple phones are paired
|
||||
./scripts/deploy.sh --ipa /path/Tarnax.ipa # Install an already exported IPA
|
||||
./scripts/deploy.sh --app /path/Tarnax.app --no-launch
|
||||
```
|
||||
|
||||
The script selects only physical, paired iPhones; it never installs on every device. It checks the signature, app identifier, profile expiry and that the chosen phone is provisioned before installing. `TARNAX_DEVICE` can supply a default device identifier. It does not automatically modify Apple account provisioning. A locked or unreachable phone causes a clear device-tool failure; unlock/reconnect and rerun. Updating Tarnax keeps existing app data; launch replaces an already-running Tarnax process.
|
||||
|
||||
## Temporary files
|
||||
|
||||
All script-created temporary files and compiler intermediates use `~/Developer/Scratch/Tarnax/`, including DerivedData, test binaries, caches, IPA verification and deployment extraction. `TMPDIR` is also set there for child tools. Override with `TARNAX_SCRATCH_ROOT` if needed. You can delete this directory when no build, test or deploy script is running. Final apps, archives, IPAs and logs remain in the project `build/` directory. Apple services may maintain their own system caches outside this location.
|
||||
|
||||
Reference in New Issue
Block a user