SDK privacy packaging prerequisite review — 19 November 2026

Scope: verify-sdk.py, private-sdk-5.5.39.lock.json, install.sh and actual
Xcode dependency references. Independent reviewer added test_verify_sdk.py.
No private SDK, app build, signing artifact or server was changed by reviewer.

The app and notification service link linphonesw through their framework build
phases to /opt/data/NetExpertsPhone/sdk-backport-5.5.39/private-package. Their
productRef objects identify the same local package. Package.resolved's obsolete
remote pin is not evidence of the selected SDK and is correctly no longer used.

The lock covers all 767 package files, including Package.swift, Swift wrappers,
framework binaries/resources and BACKPORT-PROVENANCE.json. The latter pins the
base 5.5.39 commit and backport patch hashes. Source provenance is also checked
against the lock. Current additional files are generated .build cache markers.

Initial independent test run: 15/16 passed. Added compilable Swift sources were
not rejected by a known-files-only hash loop. Root fixed this by requiring exact
file inventory equality, excluding only .build, before checking every hash.
Reviewer inspected the final correction; root reports final suite 16/16 passed.
Tests cover real selected package acceptance, binary/wrapper tampering, missing
files, wrong version/provenance, extra sources, multiple/remote/wrong packages,
path/symlink escapes and allowed generated build-cache contents.

install.sh runs the guard with set -eu before embedded manifest writes or signing.
The main build phase always runs and has script sandboxing disabled. The script
modifies embedded build copies only. No remaining blocking finding for the current
project/package prerequisite. No app call/media/release acceptance is implied.

Limits: selector conservatively considers every linphonesw product object in the
project, not only reachable targets; actual app/extension links were independently
traced above. Hash validation establishes package byte identity, not reproducible
builds or independent identity of already embedded DerivedData framework copies.

Run: /usr/bin/python3 SDKPrivacy/test_verify_sdk.py
