can't validate archive for dev team X because iTunes Store wants prov profile for dev team Y

Hi,


I'm currently stumped with trying to get an archive validated for testflight. I'm an independant dev, also part of a dev team XXXX, working on a project for that team. When trying to validate an archive for submission to TestFlight, the process fails with :


<<iTunes Store operation failed.

Invalid provisioning profile. This app contains an embedded provisioning profile that is not associated with your account. Please use a provisioning profile associated with Team ID YYYYY.>>


The problem is that Team ID YYYY is the Team ID of my own team as an individual developer, while the project is code-signed under team XXXX. The code-signing is managed by Xcode, and I'm actually reproducing the problem with a different test project using the same bundle ID.


Any idea what could be causing the problem ?


Thanks a lot

Answered by glaurent in 202807022

Found the problem : I had mistakenly created the iTunes Connect app record under my own team YYYY, instead of team XXXX.


For search purposes : the error number is ITMS-90159

Accepted Answer

Found the problem : I had mistakenly created the iTunes Connect app record under my own team YYYY, instead of team XXXX.


For search purposes : the error number is ITMS-90159

can't validate archive for dev team X because iTunes Store wants prov profile for dev team Y
 
 
Q