mirror of
https://github.com/jayanezj/traccar-client-macos.git
synced 2026-11-05 00:00:45 +01:00
Store receiver and identity together in Keychain, with versioned tracking preferences, explicit authorization retry and stable Settings focus. Adopt free Apple Development locally and credential-free ad hoc CI. Run configuration and focus tests through both CI toolchains. Final decisions: https://github.com/jayanezj/traccar-client-macos/issues/3#issuecomment-6396087703
16 lines
476 B
Bash
16 lines
476 B
Bash
#!/bin/bash
|
|
# Shared by build/test/verification scripts; development never falls back to ad hoc.
|
|
signing_mode="${TRACCAR_SIGNING_MODE:-development}"
|
|
case "$signing_mode" in
|
|
development)
|
|
signing_options=("CODE_SIGN_STYLE=Manual")
|
|
;;
|
|
adhoc)
|
|
signing_options=("CODE_SIGN_STYLE=Manual" "CODE_SIGN_IDENTITY=-" "DEVELOPMENT_TEAM=")
|
|
;;
|
|
*)
|
|
echo "TRACCAR_SIGNING_MODE must be development or adhoc." >&2
|
|
exit 2
|
|
;;
|
|
esac
|