Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdd680bbe9 | ||
|
|
6cb8593b3d |
No files matched your search
+10
-19
@@ -1,11 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Builds one Stemify IPA on a Mac. ios/scripts/build-remote.sh runs this on WHITE-M1AIR from DevOps.
|
||||
# build-ipa.sh public build/public/stemify-<v>.ipa org.cdnutter.stemify, ad-hoc signed. Gitea releases (main) + Sideload.
|
||||
# build-ipa.sh public build/public/stemify-<v>.ipa org.cdnutter.stemify, ad-hoc signed. Gitea releases (main) + iOS Repos /personal.
|
||||
# build-ipa.sh dev build/dev/stemify-<v>-dev.ipa org.cdnutter.stemify-dev, ribbon icon, DEV BUILD banner.
|
||||
# Gitea pre-releases (dev branch) + Sideload Developer.
|
||||
# Gitea pre-releases (dev branch) + iOS Repos /dev.
|
||||
# build-ipa.sh signed build/signed/stemify-<v>-signed.ipa org.cdnutter.stemify, signed with the
|
||||
# personal profile (CarPlay, Siri). Never published anywhere.
|
||||
# signed needs prov/Stemify.mobileprovision (App ID org.cdnutter.stemify), prov/key.p12 and P12_PASS.
|
||||
# signed needs prov/Stemify.mobileprovision (App ID org.cdnutter.stemify) and the Apple Development identity in
|
||||
# ~/Library/Keychains/build.keychain-db (password in ~/.config/signing/keychain_pass).
|
||||
# prov/StemifyWidgets.mobileprovision (org.cdnutter.stemify.widgets) is optional, without it the widgets are left out.
|
||||
# build/work is scratch and is wiped each run.
|
||||
set -euo pipefail
|
||||
@@ -30,10 +31,10 @@ BN=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
|
||||
# "0.9.0" -> 0.9.0, "1.0 RC 1" -> 1.0-rc1, used in file names and release tags.
|
||||
VERSION=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
|
||||
IPA=$B/$MODE/stemify-$VERSION$SUFFIX.ipa
|
||||
KC=$HOME/Library/Keychains/build.keychain-db
|
||||
|
||||
if [ "$MODE" = signed ]; then
|
||||
for f in prov/Stemify.mobileprovision prov/key.p12; do [ -f $f ] || { echo "missing $f" >&2; exit 1; }; done
|
||||
[ -n "${P12_PASS:-}" ] || { echo "P12_PASS not set" >&2; exit 1; }
|
||||
for f in prov/Stemify.mobileprovision $KC $HOME/.config/signing/keychain_pass; do [ -f $f ] || { echo "missing $f" >&2; exit 1; }; done
|
||||
PROF_ID=$(security cms -D -i prov/Stemify.mobileprovision | plutil -extract Entitlements.application-identifier raw -)
|
||||
[ "${PROF_ID#*.}" = "$APP_ID" ] || { echo "prov/Stemify.mobileprovision is for ${PROF_ID#*.}, need a profile for $APP_ID" >&2; exit 1; }
|
||||
fi
|
||||
@@ -56,31 +57,21 @@ PL
|
||||
codesign -f -s - --entitlements $OUT/group.plist $EXT
|
||||
codesign -f -s - --entitlements $OUT/group.plist $APP
|
||||
else
|
||||
KC=$PWD/$OUT/sign.keychain-db; KP=$(uuidgen)
|
||||
security create-keychain -p "$KP" $KC
|
||||
security set-keychain-settings -lut 3600 $KC
|
||||
security unlock-keychain -p "$KP" $KC
|
||||
security import prov/key.p12 -P "$P12_PASS" -A -t agg -f pkcs12 -k $KC >/dev/null
|
||||
# The dev cert chains to Apple's WWDR G3 intermediate, which a fresh keychain doesn't have.
|
||||
[ -f prov/wwdr.cer ] || curl -fsSL -o prov/wwdr.cer https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer
|
||||
security import prov/wwdr.cer -A -k $KC >/dev/null 2>&1 || true
|
||||
security set-key-partition-list -S apple-tool:,apple: -s -k "$KP" $KC >/dev/null
|
||||
security list-keychains -d user -s $KC $(security list-keychains -d user | tr -d '"')
|
||||
security unlock-keychain -p "$(cat $HOME/.config/signing/keychain_pass)" $KC
|
||||
ID=$(security find-identity -v -p codesigning $KC | sed -nE 's/.*"(Apple Development:.*)"/\1/p' | head -1)
|
||||
[ -n "$ID" ] || { echo "no Apple Development identity in $KC" >&2; exit 1; }
|
||||
security cms -D -i prov/Stemify.mobileprovision > $OUT/prov.plist
|
||||
/usr/libexec/PlistBuddy -x -c 'Print :Entitlements' $OUT/prov.plist > $OUT/ent.plist
|
||||
if [ -f prov/StemifyWidgets.mobileprovision ]; then
|
||||
security cms -D -i prov/StemifyWidgets.mobileprovision > $OUT/wprov.plist
|
||||
/usr/libexec/PlistBuddy -x -c 'Print :Entitlements' $OUT/wprov.plist > $OUT/went.plist
|
||||
cp prov/StemifyWidgets.mobileprovision $EXT/embedded.mobileprovision
|
||||
codesign -f -s "$ID" --entitlements $OUT/went.plist --timestamp=none $EXT
|
||||
codesign -f -s "$ID" --keychain $KC --entitlements $OUT/went.plist --timestamp=none $EXT
|
||||
else
|
||||
rm -rf $APP/PlugIns
|
||||
fi
|
||||
cp prov/Stemify.mobileprovision $APP/embedded.mobileprovision
|
||||
codesign -f -s "$ID" --entitlements $OUT/ent.plist --timestamp=none $APP
|
||||
security list-keychains -d user -s $(security list-keychains -d user | tr -d "\"" | grep -v sign.keychain)
|
||||
security delete-keychain $KC
|
||||
codesign -f -s "$ID" --keychain $KC --entitlements $OUT/ent.plist --timestamp=none $APP
|
||||
fi
|
||||
|
||||
rm -f $IPA
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Run from DevOps: syncs ios/ to WHITE-M1AIR, builds there, and pulls the IPAs back into ios/build/<mode>.
|
||||
# build-remote.sh dev build (the usual one): build/dev
|
||||
# build-remote.sh public public build, only when a release is asked for: build/public
|
||||
# build-remote.sh signed personal signed build: build/signed
|
||||
# build-remote.sh signed owner's signed build: build/signed (needs WHITE-M1AIR ~/stemify-build/ios/prov/Stemify.mobileprovision)
|
||||
# build-remote.sh dev signed ... several at once
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
@@ -11,7 +11,7 @@ MODES=${*:-dev}
|
||||
for m in $MODES; do case $m in public|dev|signed) ;; *) echo "usage: $0 [public|dev|signed]..." >&2; exit 1 ;; esac; done
|
||||
rsync -a --exclude build --exclude prov --exclude Stemify.xcodeproj ./ $H:$R/
|
||||
for m in $MODES; do
|
||||
ssh $H "cd $R && P12_PASS=\$(cat prov/cert_pass.txt 2>/dev/null) bash scripts/build-ipa.sh $m"
|
||||
ssh $H "cd $R && bash scripts/build-ipa.sh $m"
|
||||
mkdir -p build/$m && rsync -a $H:$R/build/$m/ build/$m/
|
||||
done
|
||||
ls build/{public,dev,signed}/stemify-$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')*.ipa 2>/dev/null
|
||||
+8
-28
@@ -7,7 +7,7 @@
|
||||
"apps": [
|
||||
{
|
||||
"name": "Stemify",
|
||||
"bundleIdentifier": "org.cdnutter.stemify-pub",
|
||||
"bundleIdentifier": "org.cdnutter.stemify",
|
||||
"developerName": "cdnutter",
|
||||
"subtitle": "Plex music player with live stem mixing.",
|
||||
"localizedDescription": "Plays your Plex library and lets you mute vocals or remix stems on the fly. Works offline with downloads, and in the car with CarPlay.",
|
||||
@@ -16,33 +16,13 @@
|
||||
"category": "entertainment",
|
||||
"versions": [
|
||||
{
|
||||
"version": "0.10.1",
|
||||
"marketingVersion": "0.10.1",
|
||||
"buildVersion": "52",
|
||||
"date": "2026-11-20T12:25:58-08:00",
|
||||
"localizedDescription": "Folded art-left: art's left edge matches the controls' padding",
|
||||
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.1/stemify-0.10.1.ipa",
|
||||
"size": 3142623,
|
||||
"minOSVersion": "17.0"
|
||||
},
|
||||
{
|
||||
"version": "0.10.0",
|
||||
"marketingVersion": "0.10.0",
|
||||
"buildVersion": "40",
|
||||
"date": "2026-11-19T22:26:40-08:00",
|
||||
"localizedDescription": "## iOS\n\n- New app icon: glowing stem-colored capsules on a night gradient.\n- Plays straight from Plex when the stem server is off or can't be reached. Stems come back once it's reachable again.\n- Picks the Plex server address again after a network change, when the app returns to the foreground, and when a stream fails.\n- Folded Now Playing uses the space at the bottom and shows bigger art.\n- iPhone Duo:\n - Folded is portrait only, and unfolded is landscape only.\n - Left-aligned art applies only when folded.\n - Unfolded stem bars are full width with roomier rows.\n - Deck stems fill the pane down to the hinge and the bottom edge.\n - Tab bar slots stay put across fold and unfold.\n\n## Web player\n\n- New layout: icon sidebar, blurred-art album headers, track table with an album column, play on card hover.\n- Graphite is the new default theme.\n- Album art can expand into a tile in the sidebar.\n- The mixer has vertical channel strips with live level meters. Drag anywhere on a strip, or use the wheel or arrow keys.\n- Save mix and Add to playlist buttons sit under the mixer.\n- The queue button moved to the right side of the player bar.\n- Tracks without stems are tagged NO STEMS.\n- Explanatory text is gone, and the playlist list is gone from the sidebar.\n- Assets are cache-busted, so a plain reload picks up new versions.",
|
||||
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.10.0/stemify-0.10.0.ipa",
|
||||
"size": 3124915,
|
||||
"minOSVersion": "17.0"
|
||||
},
|
||||
{
|
||||
"version": "0.9.0",
|
||||
"marketingVersion": "0.9.0",
|
||||
"buildVersion": "31",
|
||||
"date": "2026-11-18T17:21:50-08:00",
|
||||
"localizedDescription": "Stemify iOS 0.9.0: Duo split layout, Library Layout in Settings, folded Duo fixes.",
|
||||
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/ios-v0.9.0/stemify-0.9.0.ipa",
|
||||
"size": 2710062,
|
||||
"version": "0.11.0",
|
||||
"marketingVersion": "0.11.0",
|
||||
"buildVersion": "67",
|
||||
"date": "2026-12-04T12:44:22-08:00",
|
||||
"localizedDescription": "New bundle ID: org.cdnutter.stemify (was org.cdnutter.stemify-pub). Delete the old app and install this one, settings don't carry over.\n\n- Create empty playlists, delete playlists from the long-press menu\n- Stem playlists get sorting, rename, custom cover, Set Mix for All Songs, Copy to Plex Playlist\n- Crop and size playlist covers before applying (Plex and Stem playlists)\n- Random Album Radio keeps going, adding an album with each new song\n- Edit Songs moved into the \u2022\u2022\u2022 menu, playlist pages sit higher\n- Lyrics Vocals/Softness sliders turn karaoke on\n- Softer app icon glow\n- iPhone Duo: stricter fold/unfold orientation, Now Playing close drag tracks the finger at 120 Hz",
|
||||
"downloadURL": "https://gitea.iamchrisama.com/cdnutter/stemify/releases/download/v0.11.0/stemify-0.11.0.ipa",
|
||||
"size": 3106655,
|
||||
"minOSVersion": "17.0"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user