Solved

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

Posted on 2015-02-19
5
82 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now