Search code examples
swiftxcodearchivetestflight

Xcode 11 project, when trying to archive the version is reset just before archive ends


I am suspecting a permission issue. my Dev id has App Manager access, and should be able to submit a new version. After updating the App to swift4 using Xcode 11, I try to submit a new version for uploading to testFlight..

I can successfully update the version from Target -> General -> Identity -> Version , and set it to version to 3.0.0 however, after the archive process done ( with Generic iOS device selected as build only device ), the version is reset back to 2.4.3.

In the signing and capabilities, I am using automatic signing with the company team, and in Signing certificate: Apple Development: Akram Husseini (xxxxxxxxx) Provisioning profile is : Xcode managed profile.

Update: added picture to show build phases run script

build phases


Solution

  • there was a batch script, thanks Roberto for your help..