Hello,
We're attempting to validate our application archive through Xcode but the application is crashing during the validate step and we're not sure why.
- Platform: macOS 15.1
- Arch: arm64
We've confirmed that our developer agreements are up to date (a suggestion made by other posts on these forums). Other suggestions have been to downgrade Xcode but we're hoping there's another explanation.
The application is quite complex - many libraries and framework - but executes as expected during development and testing.
Any insight into this error would be appreciated. We're sure it's something wrong with our plist or archive structure but the crash is limiting our ability to debug.
As mentioned in my ticket:
The root of the issue appeared to be with the formation of the archive. I forced the archive to include an additional directory after Products (something I noticed other archives had) and the crash no longer occurred. The code sign didn't mind the original structure but once it came time to build the zip, an assert was triggered because it was expecting an additional directory.
.xarchive/Products/MyApp.app
Vs.
.xarchive/Products/Applications/MyApp.app
I would recommend an addition to the validation tooling to check for this malformed archive and fail sooner! Let me know that I have a bad orchestration. It was a real head scratcher for days!