Is there any way to add testing device UDID to free provisioning profile? - ios

I don't have paid developer account and want to test my ios app on a team member's iPhone which is not registered to my provisioning profile. Is there any way to register a new device without deploying from the code directly.

I got a solution for this... May not be a proper solution... Still if it can help..,
If you connect your device to mac and refresh your free provisioning profile in xcode with selecting connected device for running, in xcode that will automatically register your device to your provisioning profile. And you can access one provisioning profile on multiple mac by using same apple id and bundle identifier.
Note: you can register maximum 5 devices to a free provisioning profile.

For Now you can not add UDID of a device in Free developer account, since a free account has no access to the Certificates, Identifiers, and Profiles in the developers portal.
But you can install the app by connecting (multiple, I guess upto three) device(s) with your Xcode.

Free apple developer account dose not allow for create any development or distribution certificate and it is also not allow to add any UDID until enroll (99$ per year).
You can refer to this link:
Adding UDID of testers with free developer account

Related

Apple Development: add UDID to provisioning profile without Apple development membership?

I'm trying to use Diawi to distribute my test iOS app within my team and Diawi gave me "unable to download" error. I'm aware that I have to add the other members device's UDID into my provisioning profile.
However, I have not enroll in Apple Dev Program since it's 99$/Year. So is there any alternative to which I can distribute my app without spending 99$?

Airwatch ad-hoc distribution without generating new IPA

I maintain an internal iOS app for a client who has an Apple Developer Program account (not Enterprise). They routinely give new devices access to the app by adding the UDIDs to the Devices list in their Apple Developer account and updating their Distribution provisioning profile. Then they deploy the app to the new devices through Airwatch.
When they add new devices in this way, they don't want to have to rebuild the app in Xcode with the updated profile. Instead, they believe they should be able to export the updated profile from their developer account, upload the profile to Airwatch, and push the app to the new devices, without ever generating a new IPA.
Is it possible to do this without an Enterprise Apple Developer account?
As long as you can get the new provisioning profile on the devices through MDM, you don't need to publish a new build. You just need to make sure the profile is installed on the device before they try to install the app. iOS doesn't necessarily care if the valid provisioning profile is bundled with the app when it was packaged. It just cares if a valid provisioning profile is installed on the device when an app is installed / run on the device.
I have used a similar technique with some internal apps we have, since we use a wildcard bundle ID in our profile. If the profile bundled with app A expires, it doesn't matter as long as the user has installed app B, which has a newer, still valid profile.
In my opinion, the workflow should look like this:
new device(s) received
add devices to provisioning profile on developer site
download updated profile and distribute it to all devices, including new device(s) via MDM
have users of new device install app (which should work since they now have a valid profile on their device for the bundle ID in question)
This works for profiles, however, when the certificate expires, you will need to rebuild the app(s).

Do we need to be enrolled in Apple Developer Program in order to install iOS app for testing in Appium on real device?

Error - No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.security.application-groups, keychain-access-groups.
Yes, you must have one Apple Developer Program Account if you want run any app on real devices.
If you already have one, than following the step:
1,Enter you ADP member center(developer.apple.com/account), and go into Certificates, Identifiers & Profiles;
2,Create a development certificate in Certificates;
3,Create an App IDs in Identifiers with a app bundle ID(like com.mycompny.myproject);
4,Add some new devices(which will run you app) in Devices;
5,Create an new provisioning profile using you certificate, App ID and device you just create before;
6,Then open you XCode, go into preferences, in Accounts tab, login your ADP account, select the correct team and click View Details button, download your certificate and profile;
7,At last, Open your project, change the bundle id(Project->Target->General) to the App ID you just registered.
With XCode 8 you don't.
https://developer.apple.com/xcode/
Developing and running your app on your Apple device is as easy as entering your Apple ID into Xcode preferences. Apple Developer Program membership is not required.

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.

OTA is only available for enterprise account?

I have an apple individual account($99). Is it possible to let my client test the app by OTA? Thanks. I mean just give him a link http://www.xxxx.com/app.html
You can also use a service like Testflight. They use OTA with AdHoc provisioning for installing, too.
Yes it is, you need the UDID of your client's device, add it to your provisioning profile and send him/her the ipa and the provisioning profile. He/She then can "install" both files on the device using either iTunes or iPhone Configuration Utility (Windows).

Resources