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 Build a Simple iPhone App with Swift Running Apps On a Device Running on Device

Keychain Access - I hit deny on keychain access and now it keeps saying build failed. How do I reset my keychain?

I hit deny on keychain access and now it keeps saying build failed. How do I reset my keychain?

I couldn't remember my keychain password and wasn't able to allow access.

2 Answers

There is a way to reset the keychain, but you will need to login to everything again. The steps are:

  1. Go to Keychain Access by going to Applications>Utilities>Keychain Access or clicking CMD+Space and typing in Keychain.
  2. Go to the Keychain Access Preferences from the Keychain Access Menu.
  3. You will see a button to reset your keychain. You WILL lose all your passwords, so make sure you have access to the passwords or know them.
  4. Quit Keychain Access.
  5. Restart your computer.

Good Luck!

CMD(Command)+Space should take you to Spotlight

Michelle Harrison
Michelle Harrison
8,782 Points

It is August 20, 2018 and I just had this same issue, except I didn't forget my password I just didn't know what it was (I'm new to mac and wasn't sure what exactly I was giving my password for lol) For anyone that comes after me, first off...Kudos for getting all the way here and second...you don't have to reset your keychain. What I did was log into my Keychain Access and deleted all of the instances that showed today's date and the time I XCode tried getting access. So assuming you just did this, click on the "Passwords" under Category and you'll see a list of Access requests I guess they are. Under Date Modified you'll see about 10 or so requests for the date you did it and the time. Go ahead and delete all of those by right-clicking and selecting Delete. Once they're gone, run the app in Xcode again and it'll ask you for your password...multiple times lol. Good luck and Happy Coding!