mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
* iOS: move Hex for iPhone to Anomaly's Apple team
(cherry picked from commit 09061502ff)
* Cut Hex Mobile TestFlight betas with a dedicated release tag
Connect the Anomaly app record and pin the mobile package graph. Cut ios-beta prereleases from dev at the scheduled windows or on dispatch, skipping unchanged mobile inputs instead of creating desktop releases or allocating build numbers locally. Prepare the generated project for the Cloud archive after clone.
Verified actionlint, duplicate and desktop-only skips, strict SwiftPM resolution, and an unsigned Release device archive containing the app, keyboard, and widgets. First Xcode Cloud onboarding and signed distribution are still pending.
---------
Co-authored-by: Kit Langton <kit.langton@gmail.com>
16 lines
584 B
Shell
Executable file
16 lines
584 B
Shell
Executable file
#!/bin/sh
|
|
set -eu
|
|
|
|
# The Xcode project is generated; the full dependency graph is checked in.
|
|
if [ -n "${CI_PRIMARY_REPOSITORY_PATH:-}" ]; then
|
|
cd "$CI_PRIMARY_REPOSITORY_PATH/ios"
|
|
else
|
|
cd "$(dirname "$0")/.."
|
|
fi
|
|
command -v xcodegen >/dev/null || brew install xcodegen
|
|
xcodegen generate
|
|
pins=HEXMobile.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
|
|
mkdir -p "$pins"
|
|
cp Package.resolved "$pins/Package.resolved"
|
|
xcodebuild -resolvePackageDependencies -project HEXMobile.xcodeproj -scheme HEXMobile \
|
|
-disableAutomaticPackageResolution -onlyUsePackageVersionsFromResolvedFile
|