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

Von Chucwuemeca
Von Chucwuemeca
4,746 Points

I get 2 errors when I plug in my phone.

I get 2 errors when I plug in my phone.

  1. Failed to create provisioning profile.
  2. No profiles for 'com.sambuno.hope'

However I have performed the steps. Please any help would be appreciated. Thank you.

Here is the screenshot: https://goo.gl/x0oxPU

Seth Roope
Seth Roope
6,471 Points

Ever figure this out? I am having the same issue...

2 Answers

On the bar where you manage your schemes. (To the right of the run/play button) Make sure the iOS device you connected to the Mac is selected as the device and not a simulator.

Christian Mitton
Christian Mitton
13,099 Points

This was my issue, it wasn't selected to my phone, thanks

Seth Roope
Seth Roope
6,471 Points

If you look at your "bundle identifier" under "Identity" you might need to change that. I believe what it is saying is that you are not using a unique string as your identifier. At least that is what was going on in my case which was throwing the same exact error. Good luck.

Jesse Gay
seal-mask
.a{fill-rule:evenodd;}techdegree
Jesse Gay
Full Stack JavaScript Techdegree Student 14,045 Points

I had the same problem. I changed the Bundle Identifier to com.teamtreehouse.JessesFunFacts (i.e. I added my name in front of FunFacts), clicked "Try Again", and it accepted it.