iPhone App failed to install - iphone

Through the safari browser , I have added one of my org device UDID in the Developer account. Now I am trying to install one of custom application using iTunes to that device. But App failed to install.
I am able to see in the Developer account that , under the profiles , it is showing 0.
Why I am unable to install the app in the device.
The same scenario I tried with iPad , But It got installed. Can anyone tell me what could be the reason ??

What you need to do is sign the Application with an Adhoc_Distribution Profile and include your iPhone as well as any other devices you want to deploy your application on.
To create the profile, go to provisioning portal, select Provisioning from left, then choose distribution tab. From there select Adhoc_Distribution, select proper AppID and add the devices you want to deploy application upon.
Download the profile and follow these steps..
http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/
Then use the iTunes to install the Application on required devices.

Related

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 do I test my app on iphone

I am university student, and i received from school an invitation to apple developer which i created an account and joined the group. I downloaded and installed the "WWDR intermediate certificate" and installed it, also noticed that they added my device in the provisioning profile.
From here I am lost, were I am not sure what is the next steps I should do
Login to the Member Center
Go to the provisioning portal
Create a developer certificate (different from a distribution cert, which you'll need for AppStore release)
Create an App ID (and add a device, if you're doing an ad hoc app)
Create, download, and install a provisioning profile
Plug your iPhone into your Mac
Build your Xcode project for the device (instead of for the simulator)
In the developer portal you should:
Enter your app and give it a name.
Add the app to a provisioning file.
Download the provisioning file
Drag that file into Xcode.
In the organizer-window in Xcode - add the provisioning file to your phone. This might not be necessary since Xcode can automatically download a team provisioning file.
That was from the top of my head. Try search for a guide or tutorial for it, there's plenty of them :)

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

Installing app on Devices(iPhone/iPod)

I have developed an application for iPhone and iPod touch. Now i want to install that app on the device. I have created a provisioning profile for the particular device.
My query is that, now to install the app on a device I have to add the provisioning profile of that device to xcode and after selecting the developer in build option in project info pane i build the project and send the build and provisioning profile to the user.
Is there any to install the app without doing the above task of building the project with the provisioning profile.
Means i have a build of an app and a newly downloaded provisioning profile. I will send the user both build and profile in a zip file. will the user be able to install the app on his/her device?
Thats a bit of a confusing description, but I think the answer is yes. I normally ZIP the app before sending. The user must install the profile then the app by draggin into applications in iTunes (windows) or just ot iTunes on the Dock (Mac)