Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Error Analyzing App Version when validating app in archive organizer [duplicate]

Tags:

xcode

ios

I am running Xcode Version 13.0 (13A233)

My build process that is normally run through fastlane stopped working recently ( was working fine up until a few days ago ).

I've been trying to get the build process working again through Xcode before tackling any issues that might still persist with Fastlane.

I archive my app through Xcode and that completes successfully with no issues. Then in the archives section under the organizer. I try clicking 'Validate App' and get the following error:

Error Analyzing App Version

Build number request failed with error: BuildsService: ResponseErrors (1): Error status: 403, code: FORBIDDEN_ERROR, title: 'This request is forbidden for security reasons', detail: 'The API key in use does not allow this request', id: a147f6b6-dcd4-42a6-9cfc-b7d1fa500a85

Xcode Error

I have not configured Xcode to use the App Store Connect API at all, nor could I find anywhere to do so. Normally it just ran through my developer account.

I have tried using the App Store Connect API through Fastlane to see if that would fix the issue, however it stays the same.

What might be causing this and how I can go about fixing it?

like image 523
Reizar Avatar asked Sep 02 '26 19:09

Reizar


1 Answers

After much trial and error, I fixed this issue. For anyone else who faces this same issue, this is what worked for me.

I have both a personal developer account and a work developer account. Both are configured in Xcode and I was trying to build an app through the work developer account.

I think Xcode was trying to use my personal account for some reason. Even though the profiles were configured with work certificates, accounts etc. So I removed my personal account from Xcode and suddenly this issue went away and things started working as normal.

like image 91
Reizar Avatar answered Sep 04 '26 13:09

Reizar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!