Creating development builds on iPhone for use by external tester(s) - iphone

How do you build an development iPhone app that can run on arbitrary iPhones you do not have in-hand? I have no iPhone, personally and wish to create a build that I can distribute to a small group of beta testers?
I have a signing cert, but get the dreaded error:
"Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it."
tone

Firstly, you need a paid developer account. (99$)
Use a TestFlight app.

Related

Why are my testers not allowed to test my iphone app?

I'm using TestFlight so a few of my testers can test my new/first app. I went through the provisioning assistant to get all my certificates and profile info, followed their steps, used Build and Archive to create the .ipa, etc.
However, my testers are telling me their devices don't have permission. One of the devices is the iPhone 4S.
I'm using xcode 3 (newest version that my OS can have) and my base sdk is iOS 4.3.
the device which your tester have ... you need to add their Device Ids in your account add those device in your provisioning profile build your app using that provisioning profile and give them It will work ...

how do I give a provisioning app to another person?

I have a developed an iphone application. The web service was developed by someone who is remote and does not have a developer account / xcode etc. He does have iTunes though.
Is there a way for me to allow his iphone to install the application without him having to create a developer account, have xcode etc? A way to make the application available to his iTunes would be ideal.
Is this possible?
Many thanks,
Fidel
Get his iPhone device UDID. Then create a distribution profile for ad-hoc distribution and add his UDID to the profile. Create a distribution build of your app and sign with that distribution profile. Send over the build .app and the .mobileprovision (provisioning profile) to him. He will have to install the profile first via iTunes (drag and drop to Library section and then sync) and then similarly he can install the app once the profile is successfully installed.

How to test an iPhone app on a device for the first time?

I am developing an app for iPhone. How can I test this app on my device?
What are the procedures to follow? Please give information regarding this problem.
Deploying iPhone Apps to Real Devices
http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices
In brief:
Sign up for the iPhone Developer Program
Obtain an iPhone Development Certificate
Generate a Certificate Signing Request
Generate, download and install your provisioning profile
Download and install your Development Certificate
Deploy your iPhone application.
Things you will need are
your private key.
your provisioning profile (with the UUID of your device added).
go to project settings and change code signing entity to your
distribution profile.
then you can build and run after connecting your device.
1) Open Xcode,
2) Go to Active SDK, and select the OS version running on your test device (viewable by going to Settings->General->About on the device).
3) With your project open, click on "Build and Run" (or press Command-R) to run the project, which will prompt you to allow access to your keychain.
4) Once deployed, the app will run automatically.
Distribution
First of all, to run the app on your phisical device you must enroll to the apple developer program.
Second, generate a developer certificate and download it. Then, import the certificate into Xcode and here you go.
There are some steps you need to follow to test your app on your personal iPhone. Below you can find all the steps:
Creat MAC certificate at first step.
Second step is to upload that certificate to developer account.
Now you should open developer account at
http://www.developer.apple.com
You can now find an option for device id in your developer account on
left side.
Now you should register your iphone device.
It is time to create your unique identifier on developer account
Download your certificate and install it on xcode organize
Now open your project embed your unique identifier in your project.
These steps can be beneficial for all software testing gusy involved in mobile application testing.

The application is not installed on iphone because it is not signed

When I try to install my app. to client's iphone I got this type of error:The application is not installed on iphone because it is not signed.
Just try to change build target from Simulator to Device, it did helped me.
Unless you are a member of the enterprise development programme and deploying to 'in-house' devices then to download an app to a device you either need to..
1 - Submit it to App Store with a release profile and then download from there
or (and this sounds like what you are trying to to)
2 - Create either a development profile or ad-hoc distribution profile for the client's device, and download that to their phone, then try to download the app.
To create the profile for the client device you will of course need the UDID for the device which you will be able to find in the organizer or iTunes
See this page in the developer portal for details on assigning devices for provisioning
Set the target to Signing Savvy | iOS Device
Then in Xcode From the product menu=>Build For=> Build For Testing

Why not use development provisioning instead of ad hoc?

I was under the impression that when you use a development provisioning profile for a build of an app, only the specified developers can deploy that build to a phone.
But I just deployed a build that uses a development profile to a phone using Xcode Organizer, even though I'm not one of the valid developers for that profile. One of my colleagues, who doesn't even have Xcode installed, did the same with his phone using iTunes.
In that case, why not use a development provisioning profile for distributing your app to e.g. your QA team, instead of ad hoc distribution?
EDIT: Please read the part in bold carefully before answering. I'm not asking a basic "how does this work" question. I've made a lot of development, ad hoc, and app store builds, and now I find that I seem to have made some wrong assumptions.
There's one situation in which you need an Ad Hoc profile, and that's when you want to test Push Notifications.
If you test Push Notifications on a Development Provisioning Profile, your push notifications need to be sent using the Development Push Notification Certificate for your SSL connections to Apple's sandbox APNS server.
If you want to test Push Notifications using your Production Push Notification Certificate and the live APNS servers, you'll have to deploy your app to a device using a Distribution Certificate and Ad Hoc Provisioning Profile (which includes doing the Entitlement.plist steps, which you can ordinarily skip if you were only using Developer Provisioning Profiles).
Also note that when you deploy using an Ad Hoc profile, your device token will be different from the one you use when you're using the development profile. This the recommended way to test APN because there's no back end changes that need to be made between the Ad Hoc build and the final live deployment on the AppStore.
Ad-Hoc is not for developers, but for testers. Who do not have iPhone SDK / XCode, iTunes only.
(The answer is: you can install ad-hoc app without developer certificate, and can't do it with development app)
Method 1: Install from XCode
The Development Provisioning Profile requires you to run the app (initially) from within XCode.
This has the side-effect of marking the device as being used for development, but also requires you to connect the iPhone/iPod Touch to the machine running XCode. Once you run the app from XCode, the app is installed on the device and you no longer need to be connected to the machine to run it. (Until you want to update the app.)
Method 2: Install from iTunes
An Ad-Hoc provisioning profile allows you to give the app to anyone and let them install it themselves using iTunes. You send them:
the app, and
the Ad-Hoc Provisioning Profile
They select these two and drag them onto iTunes. Then sync.
Later, you can give them an updated version of the app only (without the Ad-Hoc Provisioning Profile, since they've already installed that on their device) and they can drag the new app onto the iTunes icon to install the new version.
One limitation to Ad-Hoc distribution, is that it requires you to enter each Device ID into the iPhone Development Portal. And there is a limit to 100 device IDs per year (you cannot erase any IDs, until your next year begins -- only add them). The 100-ID limit will not be a hindrance for most developers, just keep in mind that you need to get the device ID ahead of time, before you create the Ad-Hoc Provisioning Profile to send to the person you want to install your app.