2

I have an app that I have had on the AppStore for a while and I have updated it several times.

After I installed my Mac from scratch without backing up my certificates (as I now know I should), I have been trying to set up the signing process again with no luck. I get the error:

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.1'

Code Signing

After a couple of attempts I have deleted all certificates in the KeyChain, deleted all provisioning files both in the organizer and on my phone and deleted everything on the provisioning portal.

Then I let Xcode do everything. (XCode 4.6 installed today) It adds both developer and distribution certificates to my keychain and the development and distribution provisioning files to the organizer.

But one strange thing happens. An old provisioning profile that I used on another project a couple of years ago keeps popping up. I wonder why and if it might disturb the signing process?

Below is from the provisioning portal. The lower profile is the old one that keeps popping up. It has another appID. And it is strange that it says. "Managed by XCode" on only that one. I let Xcode do it all. And the date on it is the same as the profile I created today.

Provisioning portal

Can I get rid of this old one? Can it be that Xcode is confused and this is the reason?

Cub71
  • 313
  • 2
  • 14

1 Answers1

0

It's possible that the old provisioning profile is still lingering in your project file. I had a simular problem. Here's how I fixed it: Link

joern
  • 27,354
  • 7
  • 90
  • 105
  • Nope. That wasn't the problem. Those lines were empty. PROVISIONING_PROFILE = ""; "PROVISIONING_PROFILE[sdk=iphoneos*]" = ""; – Cub71 Jan 29 '13 at 11:48