fix build
apple / swift (push) Successful in 55s
ci / rust (push) Successful in 1m16s
ci / web (push) Successful in 33s
ci / docs-site (push) Successful in 29s
android / android (push) Successful in 3m18s
deb / build-publish (push) Successful in 3m7s
decky / build-publish (push) Successful in 12s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 4s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 4s
ci / bench (push) Successful in 4m32s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 5s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 5s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 5s
rpm / build-publish (bazzite, punktfunk-fedora-rpm) (push) Successful in 8m47s
rpm / build-publish (fedora-44, punktfunk-fedora44-rpm) (push) Successful in 8m50s
docker / deploy-docs (push) Successful in 35s
apple / swift (push) Successful in 55s
ci / rust (push) Successful in 1m16s
ci / web (push) Successful in 33s
ci / docs-site (push) Successful in 29s
android / android (push) Successful in 3m18s
deb / build-publish (push) Successful in 3m7s
decky / build-publish (push) Successful in 12s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 4s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 4s
ci / bench (push) Successful in 4m32s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 5s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 5s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 5s
rpm / build-publish (bazzite, punktfunk-fedora-rpm) (push) Successful in 8m47s
rpm / build-publish (fedora-44, punktfunk-fedora44-rpm) (push) Successful in 8m50s
docker / deploy-docs (push) Successful in 35s
improve iOS & iPadOS UI
This commit is contained in:
@@ -145,4 +145,23 @@ fi
|
||||
|
||||
rm -rf clients/apple/PunktfunkCore.xcframework
|
||||
"${XCODEBUILD[@]}" -create-xcframework "${ARGS[@]}" -output clients/apple/PunktfunkCore.xcframework
|
||||
echo "OK: clients/apple/PunktfunkCore.xcframework"
|
||||
|
||||
# Xcode (unlike `swift build`) refuses to EMBED an unsigned xcframework: the app targets in
|
||||
# Punktfunk.xcodeproj fail with "The framework 'PunktfunkCore.xcframework' is unsigned". So
|
||||
# sign the bundle here. Identity: $CODESIGN_IDENTITY if set, else the first "Apple Development"
|
||||
# identity in the keychain, else ad-hoc ("-") — ad-hoc satisfies `swift build` and most local
|
||||
# Xcode runs; a real identity is needed for device/distribution. --timestamp=none keeps it
|
||||
# offline (a secure timestamp only matters for notarized distribution, which re-signs anyway).
|
||||
SIGN_ID="${CODESIGN_IDENTITY:-}"
|
||||
if [[ -z "$SIGN_ID" ]]; then
|
||||
SIGN_ID=$(security find-identity -v -p codesigning 2>/dev/null \
|
||||
| awk -F'"' '/Apple Development/ {print $2; exit}')
|
||||
fi
|
||||
SIGN_ID="${SIGN_ID:--}" # ad-hoc fallback when no real identity is available
|
||||
if codesign --force --timestamp=none --sign "$SIGN_ID" clients/apple/PunktfunkCore.xcframework; then
|
||||
echo "OK: clients/apple/PunktfunkCore.xcframework (signed: $SIGN_ID)"
|
||||
else
|
||||
echo "WARN: clients/apple/PunktfunkCore.xcframework built but NOT signed — Xcode app" >&2
|
||||
echo " builds will report it unsigned. Set CODESIGN_IDENTITY and re-run." >&2
|
||||
echo "OK: clients/apple/PunktfunkCore.xcframework (unsigned)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user