Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

iOS - Problem compiling CrystalBall

Build fails when compiling the CrystalBall project and I get the following error:

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

Any ideas?

2 Answers

Deleted User

Hello, you´re trying to run it using an iPhone connected or another iOS device, but since you don't have or you haven't configured you developer account it won´t let you use that feature. To fix this you need to change the running device and set it to iPhone Simulator.

Hope this helps

Hi Gonzalo,

Many thanks for this, it solved the problem, I had inadvertently plugged in my device to charge and didn't realise the running device had changed. Lesson learned.

Cheers!