Solved

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

Posted on 2015-02-19
5
106 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Transferring files to iPhone 3 99
iPhone 7/ HDMI 6 30
Building a mobile voice application 8 113
Different Javascript on iPhone than Win 10 desktop? 7 50
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A brief look into what is, how to use, and how to make GIFs
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.
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…

739 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