Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

Provisioning 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.

I 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.

Brendan O'Brien
Brendan O'Brien
9,066 Points

Thanks! This was exactly my problem too

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Issues 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
Brendan O'Brien
9,066 Points

Ben 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

1 Answer

Alan Johnson
Alan Johnson
7,625 Points

Glad you guys figured this out!