0

I have deleted by mistake my Xcode automatically generated provisioning profile from developer account. App id still exist. Is there any way where I can recover the provisioning profile generated by xcode or make the xcode generate new provisioning profile. On enabling the automatically manage signing option the xcode take the old provisioning profile but it is not visible in the developer account.

GoRoS
  • 5,183
  • 2
  • 43
  • 66
Hardroid
  • 51
  • 6
  • You cannot recover ad-hoc provisioning profile if you have deleted it from the developer account, better generate new ones. – Anand Yadav Oct 23 '17 at 12:55
  • @AnandYadav Its not getting generated automatically...How do i generate it automatically... – Hardroid Oct 23 '17 at 13:02
  • select your Xcode project in navigator and select target you will see automatically manage signing button check that – Anand Yadav Oct 23 '17 at 13:16
  • Yeah i have enabled that but no new profile is being generated xcode is still using the old profile which i deleted it from developer account. – Hardroid Oct 23 '17 at 13:21
  • Try generating it by yourself – Anand Yadav Oct 23 '17 at 13:22
  • Thats what i am doing... But I want to use automatically generated system...so that i dont have to change the profiles again and again in the settings... – Hardroid Oct 23 '17 at 13:42
  • How do you know it is using the old profile? Are you looking in the the embedded.mobileprovision file? It would probably help to show your project code signing settings. – wottle Oct 23 '17 at 13:56
  • There is not profile in development and distribution section on developer account... And in xcode project settings it is showing the date when it was created. – Hardroid Oct 23 '17 at 14:55

1 Answers1

0

I don't believe when using newer versions of Xcode that you will see the Xcode generated provisioning profiles in the Member Center. See this post for more details.

If the old provisioning profile is still valid, Xcode will continue to use it. It will only generate a new one if you have invalidated the old one somehow (revoking the cert, the profile expires, etc.) If you go into the Xcode preferences, under Accounts, you will probably still see the old provisioning profile listed there. Also, you can check for the local provisioing profiles at the location specified here.

It would also be helpful for you to indicate why using the old profile would be a problem. You specify that you deleted it, but don't really indicate where you deleted it. Your local copy on your Mac in the ~/Library/MobileDevice/Provisioning Profiles directory? From the member center? On an iOS test device?

Are you now unable to build to devices? Are you worried the profile will expire sooner than you'd like, so you want to generate a new one to give you a full year of the app running on the device?

wottle
  • 13,095
  • 4
  • 27
  • 68