mirror of
https://github.com/jayanezj/traccar-client-macos.git
synced 2026-11-05 03:00:46 +01:00
feat: persist local configuration and device identity (#3)
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
This commit is contained in:
23 files changed
+1442
-42
No files matched your search
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
build_root="${1:?Usage: scripts/test.sh /absolute/path/to/external/build-directory}"
|
||||
case "$build_root" in
|
||||
/*) ;;
|
||||
*) echo "The build directory must be an absolute path." >&2; exit 2 ;;
|
||||
esac
|
||||
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
source "$repo_root/scripts/signing-options.sh"
|
||||
mkdir -p "$build_root/TestResults"
|
||||
result_root="$(mktemp -d "$build_root/TestResults/run.XXXXXX")"
|
||||
|
||||
echo "Test results: $result_root/Configuration.xcresult"
|
||||
exec xcodebuild \
|
||||
-project "$repo_root/TraccarClient.xcodeproj" \
|
||||
-scheme TraccarClient \
|
||||
-configuration Debug \
|
||||
-destination 'platform=macOS,arch=arm64' \
|
||||
-parallel-testing-enabled NO \
|
||||
-derivedDataPath "$build_root/DerivedData" \
|
||||
-resultBundlePath "$result_root/Configuration.xcresult" \
|
||||
"CLANG_MODULE_CACHE_PATH=$build_root/ModuleCache" \
|
||||
"SWIFT_MODULE_CACHE_PATH=$build_root/ModuleCache" \
|
||||
"${signing_options[@]}" \
|
||||
test
|
||||
Reference in new issue
Block a user