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!
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

Nolan Hannigan
1,039 PointsProvisioning Profile not found "Device Installation"
I was at the end of the first iOS app tutorial, just getting ready to run the crystal ball on the iPhone. I plugged in the phone, clicked "Use for Development", signed in and requested an iOS development certification.
I tried to run the app after selecting the phone and I get the following error message:
A valid provisioning profile matching the application's Identifier 'com.company.Crystal-Ball' could not be found
What do I do to fix this? Thanks for the help.

Brendan O'Brien
9,066 PointsThanks! This was exactly my problem too

Ben Jakuben
Treehouse TeacherIssues with provisioning profiles and certificates are the absolute WORST! So glad you got this working. It can get pretty frustrating. :thumbs_up:

Brendan O'Brien
9,066 PointsBen Jakuben I think what my problem was is that I tried to add my phone as a development phone before my iOS developer process was complete. So it got stuck half way through the process and then when I finally got the activation code there was nothing else for me to press in Xcode
Nolan Hannigan
1,039 PointsNolan Hannigan
1,039 PointsI figured it out, for anyone who may have the same issue.
I simply went to the Dev Center => Certificates, Identifiers & Profiles => Provisioning Profiles
Then I clicked on the profile that was created to expand it. Clicked download.
Then I drug that onto the Xcode icon and it worked...don't know how, but it worked.