|
| 1 | +# iOS release repair notes — 2026-03-21 |
| 2 | + |
| 3 | +## Outcome |
| 4 | + |
| 5 | +- Version `1.11.0` confirmed across app metadata. |
| 6 | +- iOS release build succeeded. |
| 7 | +- TestFlight upload succeeded. |
| 8 | + |
| 9 | +## What was fixed |
| 10 | + |
| 11 | +1. **Version alignment** |
| 12 | + |
| 13 | +- Confirmed / normalized `1.11.0` in: |
| 14 | +- `package.json` |
| 15 | +- `src-tauri/tauri.conf.json` |
| 16 | +- `src-tauri/Cargo.toml` |
| 17 | +- `src-tauri/gen/apple/project.yml` |
| 18 | +- `src-tauri/gen/apple/app_iOS/Info.plist` |
| 19 | + |
| 20 | +2. **Release helper correctness** |
| 21 | + |
| 22 | +- Updated `scripts/release.mjs` so version bumps include `src-tauri/Cargo.toml`. |
| 23 | + |
| 24 | +3. **Repo irregularities cleaned up** |
| 25 | + |
| 26 | +- Removed accidental nested repo copy from inside `code-editor/`. |
| 27 | +- Removed stale generated simulator/build junk. |
| 28 | + |
| 29 | +4. **iOS build failure fix** |
| 30 | + |
| 31 | +- Xcode/Tauri iOS release builds were failing in the `Build Rust Code` script phase. |
| 32 | +- Root cause: `ENABLE_USER_SCRIPT_SANDBOXING` caused Cargo traversal to fail inside the generated Apple project. |
| 33 | +- Fix applied in generated Apple project config: |
| 34 | +- `src-tauri/gen/apple/project.yml` |
| 35 | +- `src-tauri/gen/apple/app.xcodeproj/project.pbxproj` |
| 36 | +- Effective setting: |
| 37 | +- `ENABLE_USER_SCRIPT_SANDBOXING = NO` |
| 38 | + |
| 39 | +## Successful build artifact |
| 40 | + |
| 41 | +- IPA path: |
| 42 | +- `src-tauri/gen/apple/build/arm64/KnotCode.ipa` |
| 43 | + |
| 44 | +## Successful upload |
| 45 | + |
| 46 | +- Upload transport: `xcrun altool` |
| 47 | +- App Store Connect accepted the upload. |
| 48 | + |
| 49 | +## Notes |
| 50 | + |
| 51 | +- App Store Connect auth initially failed due to stale/incorrect Apple ID app-specific password. |
| 52 | +- Retrying with updated upload credentials succeeded. |
| 53 | +- Xcode emitted a deprecation note that `app-store` export naming is deprecated in favor of `app-store-connect`. |
0 commit comments