I know this is more of an XCode question than a Unity one but I thought someone here might be able to shed some light on the problem I’m having.
I can build to the device fine when I just do a standard build and run from xcode but when I try run the new Build and Archive I get this error -
But if I Build and Archive an apple sample XCode project it works fine.
Any ideas why it might be doing this?
I’m just really not sure what the error is even referring to, I don’t get any warnings or anything and the build process seems to work fine, just the archive step that gets the error…
Yeah, this seems kinda naff but I fixed it by doing this -
Open your Xcode project
Select Unity-iPhone in targets (Double click so it opens the info)
find “Generate Debug Symbols” and check it on. (Just Search for it in the search field)
Now with any luck the build + archive feature should work!
I ran into the same error message today while creating an IPA, and apparently it had to do with an issue on Apple’s end which caused certificates to be created in a wrong way. Apple fixed the issue, and I got it working again by just revoking the certificate and creating a new one (and updating my provisioning profiles to use the new certificate).
Also see the following pages on Unity Answers and Stackoverflow: