XCode crash when importing Provisioning Profile

DISCLAIMER: It is my first post in this category. iOS development is somewhat new field for me as I did not do as much development for iOS in the past.
In last few months it is primary development activity for me. Coming from Windows world it is different, but this time and age, there is no big difference to go between platforms, OSes, dev. environments. During this exciting time few things I stumbled on and I will put few notes here to share and to remember.

Ok, enough on that… let’s talk business.

For last month or so I was getting XCode crash when trying importing Provisioning Profiles from Apple’s dev. portal. XCode’s Organizer and XCode itself would just spin and die.

I am using Ad Hoc distribution for testing and adding new devices would require you to reload profiles.

Please note that you can still download profile as a file from the portal and then load it in the Organizer, but Refresh function is much better.

Today I was very impatient and after some quick research issue is now solved…

Steps:

  • Close XCode
  • Open Terminal and navigate to ~/Library/Developer/Xcode/
  • In there you would find file “connect1.apple.com 4.6.1.db
  • Delete it
  • Close Terminal
  • Open XCode
  • Go to Organizer -> Provisioning Profiles -> Refresh
  • No crash?!!! Great! Issue solved

Enjoy

This entry was posted in iOS development and tagged , , , , , . Bookmark the permalink.

Leave a Reply

  • About

    From being a junior developer all the way to Development Manager position, I was always interested in new technologies. Passionate speaker, IT junky, developer, architect, team lead, and development manager - many hats, one goal - making software better and closer to people’s needs. For the most part I am using my blog as a scratch pad, writing small articles on things which I came across, was asked about more then once, and which would otherwise require additional research again and again.

    View Serguei Dosyukov's profile on LinkedIn
  • Testimonials

    I've been using this [theme] since the start. It is by far the most attractive, feature packed and stable of...

    Rhyull

    The greydragon theme is fantastic. It’s clean, stable and feature rich. It took me a while to decide to move...

    Ed

    I’m a huge fan of this theme. I’ve got more than 90,000 pictures in my gallery3 running on a Ubuntu...

    Jklobo

    more...

  • Categories