Same problem as here (Can't archive anymore, yet "build for archive" still works (Xcode 4)). However, the fixes suggested didn't work. I don't know why. Here are the steps I went through:
- Built and archived for a Distribution provisioning profile.
- Archived, and shared the app.
- Added another device to the profile, downloaded and imported into Xcode.
- Rebuilt the code - it gave me an error that my bundle identifier was wrong, so I fixed it.
- Built for Archiving - no errors.
- Archived - failed with no errors.
I would also add, it runs fine in the simulator, but no longer builds and runs for an attached device. The build says Failed, No Issues.
Does anyone have an idea?