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
Treehouse Staff

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.