How to add device to the Adhoc Distribution profile - ios

I am attempting to install a App via Test Flight
When I click on the URL provided by Test Flight I get a "This build is not available for this device"
I suspect that this is because on my iOS Provisioning portal - Under the Distribution Profile the Device I am attempting to install is not listed
Is this assumption correct - If correct how does one add a device to the Distribution Provision Profile.

You need to add the device to your developer portal
Then you will need to create/modify the profile, making sure your device is included in the list
Creating a Distribution Provisioning Profile

Related

How to install iPA to specific devices using Distribution Profile

I have got a strange requirement from my client. I need to install iPA with distribution Profile to selected devices. Previously I have done the same with developer profile and Adhoc-Distribution profile. If I create iPA with distribution profile, however, I don't get any option to check UDID of the devices before installing. Third party MDMs are not permitted by the client.
I need a solution for checking the UDID of the devices by using distribution profile before installing. MDMs are not permitted and I have already tried developer profile and Adhoc-Distribution profile.
I need to install iPA with distribution Profile to selected devices.
You are describing an Ad Hoc distribution. When you create the Ad Hoc distribution profile at the Member Center web site, you get to specify the devices. That is exactly what an Ad Hoc distribution is: an app associated with a list of specific devices that it can run on.
But if i create iPA with distribution profile, i didn't get any option to check UDID of the devices before installing
With an Ad Hoc distribution profile, you specify the devices (by UDID) at the Member Center. You don't need any further "option". If you export for Ad Hoc distribution using this profile, the app will not run except on the listed devices, which precisely meets your requirements.

Create an IPA file with ionic

I'm trying to compile my ionic app for iOS.
It compiles well with the simulator, so I'd like to test it on some friend's iDevices (I don't have any iphone or ipad), so I'd like to send them the IPA in order to test.
To do that I saw that I have to archive my project, I tried to do so and I got an error:
Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.
I checked my profile, XCode suggests me to fix the issue. But when I try to do so, I got this error:
Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your team.
So I thought that having an iDevice wasn't mandatory in order to compile for iOS. Am I wrong ?
Thanks,
You required provisioning profile to archive your project to make build. Now if you don't have create provisioning profile from your apple developer account, then you have option automatic, but to generate provisioning profile you required your device connected with your xcode,so that xcode takes udid of that device and can make automatic provisioning profile!
Now, if you don't have real device then from your developer account - Add some device first - I mean your friend's device(for that you required udid of it!) - create provisioning profile for development - download it - set it as provisioning profile from general or build settings from your xcode. Then you will able to make build!
If you have device then also you need to create provisioning profile that contains your friend's device, other wise application will not install on it!
You can refer Raywenderlich's tutorials to manage these kind of stuff that i have mentioned above!

Issue regarding provisioning profile ios

As I am new to iOS, I don't know much about it. So please help me
First someone tell me , what is the purpose of provisioning profile.
Second, is it possible to create a provisioning profile without having an Apple Developer Membership??
Help would be appreciated..
Provisioning profile is impossible to obtain without Apple Developer Membership.
Nevertheless Provisioning profile is required to test application on real devices and use it to upload application it to App store.
Provision profile is :
A provisioning profile is a collection of digital entities that
uniquely ties developers and devices to an authorized iPhone
Development Team and enables a device to be used for testing. A
Development Provisioning Profile must be installed on each device on
which you wish to run your application code. Each Development
Provisioning Profile will contain a set of iPhone Development
Certificates, Unique Device Identifiers and an App ID. Devices
specified within the provisioning profile can be used for testing only
by those individuals whose iPhone Development Certificates are
included in the profile. A single device can contain multiple
provisioning profiles.
Take a look on this link please , the author explains everything regardless the provisioning profile .
http://www.doubleencore.com/2013/04/what-is-a-provisioning-profile-part-1/
However you can not get a provisional profile without the Apple Developer Membership.
Also if you want to test you app on a real device or publish it to app store you must have a provisional profile.
"A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. A Development Provisioning Profile must be installed on each device on which you wish to run your application code. Each Development Provisioning Profile will contain a set of iPhone Development Certificates, Unique Device Identifiers and an App ID. Devices specified within the provisioning profile can be used for testing only by those individuals whose iPhone Development Certificates are included in the profile. A single device can contain multiple provisioning profiles."
No, it is not possible to create a provision profile without Apple Developer Membership. If you are deploying an ios App you need to get registered with APPLE.
You need to register your devices' UDIDs in the provisioning profile if you are testing your app and if you want to use it for Ad-hocs.
If you want to submit your app to appstore, then also you will require a provision profile attached with your app having 0 devices i.e infinite devices.
Here is the way you can register and make Provision Profiles:
How to create provision profiles?
Ans 1 : To run or test the application in ios device provisional profile is
must require.
Without it you can not run/test/install in your device.For this you have
to buy Apple Developer Membership from Apple
to became apple registered developer.
After successfully registration below link will useful to create provisional profile.
Link : http://www.wikihow.com/Create-a-Provisioning-Profile-for-iPhone
After downloading provisional profile you have to install and set that profile in your code.
After you can run application in ios device.
Ans 2 : No, Without Apple Developer Membership you can not create provisional profile.

iOS Enterprise program: not able to install IPA file created using in-house provisioning profile on one of our device

We are using iOS enterprise account for distributing our iOS app. We are using the in-house distribution scheme of enterprise program.
As far as my knowledge, we don't need to install the in-house provisioning profile in the targeted device. Also, I believe that we don't need to add the device UDID in iOS portal since it's an enterprise account. Please correct my last two statements if my knowledge is wrong.
I am creating the IPA file using the in-house provisioning profile only. But while installing the same on one of our devices (iPhone 5s), I am getting below error.
"**A valid provisioning profile for this executable was not found.**"
I tried to install the same IPA file on another device (iPhone 4s). I have not installed the distribution provisioning profile in that device also. And it's working fine there. So only I concluded that We don't need to install any provisioning profile on the device in case of iOS enterprise program.
Below is my provisioning profile from enterprise account which I am using.
I am not sure why this is happening. Please help me and let me know if I am missing something.
You have to use a provisioning profile that is set for distribution. This profile needs to be using a certificate that is installed on the Mac you want to create the archive from. The profile gets installed along with the application.
You do not have to have the device added to the portal (only development devices need to be added).
One note - the profile will expire yearly. You will have to publish at least one update every year to include an updated and renewed provisioning profile.
Here's some screenshots:
Keychain Access:
Build Settings (Xcode):
Archive:

Install iPhone application in my device

I was recently developing an iPhone application using Xcode. Now I want to install this app on my iPhone in order to test it.How can I do this? could you tell me please a step by step answer because I am new to this.
I have already created an account on the
iPhone Dev Center
now what is the next step?
As per Apple guidelines:
To test your app on a variety of devices and iOS versions, create a special distribution provisioning profile, called an ad hoc provisioning profile, and send it, along with the app, to testers. An ad hoc provisioning profile doesn’t require that testers be enrolled in an Apple Developer Program, be added to your team, create signing certificates, or use Xcode to run your app. Instead, app testers simply install the app and the ad hoc provisioning profile on their device to launch the app. You can then collect and analyse crash reports or logs from these testers to resolve problems before you ship your app.
Can I do what is mentioned here? and if yes how ?
go to memeber login area and login with your credential..
go to certificate , Identifiers & Profile tab
go to keychain access and create a .csr file and save it, it'll
required for creating certificates
create a certificate from certificate tab
create App Ids from identifier tab
Register your device UDID from Devices tab
Create distribution profile from Provisioning Profile tab and download & save it.
Install the Provisioning profile to your device and build your project using that profile.
Archive your project and create .ipa file
Final step: Install that .ipa file to your device.
Hope it'll help you. Happy Coding.....
With the free account you can not test/run apps on a device.

Resources