Solved

How can I run on IOS device using a distribution profile?

Posted on 2015-02-19
5
97 Views
Last Modified: 2015-03-10
Hi,

I am really stuck on this and loosing my mind. I have upgraded to XCode 6 and am trying to run my app on my device using a distribution profile. Now no doubt you're thinking that you can't, I should be using a development profile for running on device, and that the distribution profile is for submitting to the appstore (or similar). However I have done this before! In fact I have some existing projects which I'd created before upgrading which ARE still running to device using a distribution profile, but having just created a new project it's not working with that. There's a lot of contradictory information on the net regarding whether this is possible, but I know the general consensus is that you can't, despite having been how I've always done it, confirmed by others saying that they can.

Can anyone make any suggestions? Or explain the discrepancy? Or anything to bring some sanity back to this world!

b.t.w I upgrade from XCode 4 to 6, so don't have any experience with XCode 5
0
Comment
Question by:paddycobbett
  • 3
5 Comments
 
LVL 12

Expert Comment

by:KRUNAL TAILOR
ID: 40623186
0
 
LVL 1

Author Comment

by:paddycobbett
ID: 40631982
Hi thanks for the references.

I created a brand new project selecting "swift" as the language, and set up my distribution profile and it bombed out when running on device just after the loading screen, despite working with a developer profile.

I then went and followed the EXACT same steps creating a new empty project but in this instance selected "objective-c" as the language and it worked! I repeated both exercises to check that I was getting a consistent outcome in each case, and sure enough I do.

Is there some additional configuration that needs to be set up for projects being developed in swift? There must be something different in the way the projects are built in each instance.
0
 

Expert Comment

by:auscom
ID: 40632380
Hi

You can't run on a device from XCode using a distribution profile, as you said this is for submitting to the app store only.  The best profile to use for development is the "Team Provisioning Profile" as this automatically managed by XCode to include all your devices.

The one exception, which may explain why you have been able to do this before is if you have an "Enterprise" developer account with apple.  The enterprise account is for internal apps, where you cannot or don't want to manage UDID's
0
 
LVL 1

Accepted Solution

by:
paddycobbett earned 0 total points
ID: 40647716
Thank you very much for your responses. For anyone else having this problem this is what was causing it:

https://developer.apple.com/library/ios/qa/qa1886/_index.html#//apple_ref/doc/uid/DTS40015165
0
 
LVL 1

Author Closing Comment

by:paddycobbett
ID: 40655791
Found answer elsewhere
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let Bitmoji into your life. Now is the time to learn a new language of smartphone messaging with this brief introduction.
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question