23

I see that Xcode6 has removed the "Devices" tab from the organizer and moved it to a separate "Devices" tab in Window > Devices.

I do not see an option for "Add device to Member Center" from the Devices screen or the Devices > Provisioning Profiles screen.

How can I add a device to Member Center and thus get the correct provisioning profiles installed in Xcode 6?

AstroCB
  • 12,337
  • 20
  • 57
  • 73
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
  • I can't find this option either and am looking for an answer ! – RPM Sep 17 '14 at 22:49
  • 1
    Xcode 6 just fixes the issue for you, it seems, when you attempt to run your app on a device without a provisioning profile. Simply press *Fix Issue* and it does just that. – trojanfoe Sep 21 '14 at 16:16
  • I don't have anything like Fix Issue button? – Can Poyrazoğlu Sep 21 '14 at 21:14
  • When you run the app on a device which has not been registered, Xcode should offer to fix the issue. – trojanfoe Sep 22 '14 at 10:09
  • 2
    @trojanfoe I certainly don't see that option. Mine says "A valid provisioning profile for this executable was not found." and only gives me the option of saying "OK" – SeniorShizzle Sep 27 '14 at 23:25
  • Xcode offers me to fix it on some occasions, but sometimes, it just says that no valid profile was found, without offering a fix. I really wonder why they broke something working without properly testing the new one. – Can Poyrazoğlu Nov 05 '14 at 23:45

5 Answers5

19

In your build settings, set your provisioning profile to automatic. Code signing identity to automatic as well.

In some cases the xCode tries to fix both the main target and the "tests" target, but fails to properly sign the tests target. In such case, for demos downloaded from the internet, I just delete the tests target.

enter image description here

Alex Stone
  • 46,408
  • 55
  • 231
  • 407
user774150
  • 962
  • 2
  • 10
  • 24
  • 7
    Is there a way to provision a device using the organizer or device menu without a project? I just want to add a device to my team provisioning profile. – Matt Bridges Oct 24 '14 at 12:48
  • I think you can add the device's UDID to your provisioning profile through developer.apple.com>iOs dev center> certificates – Alex Stone Dec 23 '14 at 15:45
  • 6
    Whatever happened to the old "Use for development" button? – devios1 Jan 23 '15 at 00:22
  • 2
    Apple XCode updates are really making life super awesome by removing important stuff and making simple things too complicated. – Yogesh Maheshwari May 13 '15 at 12:16
3

@SeniorShizzle I think that the reason that it's showing like that for you is because your phone is running on a version lesser than the Deployment Target set in your app (Xcode -> YourAppName -> General).

Sorry that I couldn't reply as a comment btw. I'm not allowed to do that yet.

Aditya369
  • 834
  • 8
  • 20
2

I found the solution. Delete 'iOS Team provisioning profile:*' in iPhone configuration utility.

and try to run app then you could see fix issue.

taesoo.kim
  • 21
  • 3
0

Another reason you might have trouble adding a new device is that you have reached your limit (100) on the number of devices you are allowed to register.

ghostatron
  • 2,620
  • 23
  • 27
0

My first time using XCode and apparently starting from version 6 they moved the creation of provisioning profile the developer.apple.com website. There you can register your device using the UUID you can find in XCode > Window > Devices for your phone. Then create an App ID and then a provisioning profile which you can then download from the website. Double clicking the downloaded file should add it to XCode > Windows > Devices > Show Provision Profiles.

parliament
  • 21,544
  • 38
  • 148
  • 238