iphone app run on device - iphone

WHats the easy way to accomplish this ..??
I am developing an iphone app and have also got my app installed in my ipod touch. I showed it to a friend of mine and he wants me to install in his ipod touch. I loaded the xcode project in his mac and everything works fine. Now I need to make this app run on his device. How can I do this ..???
For some reason I don't have access to the my personal mac through which I installed on my device.
Also his device is not sync to his itunes and he does not want to sync it.

See Installing Apps Wirelessly. Don't worry about the enterprise account requirement, that's not necessary any more.
You'll need to register your friend's device in the Provisioning Portal and digitally sign the app with a provisioning profile that references that device.

Your friend's device needs to be added to your provisioning file. If your friend's device UDID is not registered with your developer account and not in the provisioning file, then it won't install.

You will need access to your personal Mac for your Developer certificate and/or the private key for your Developer certificate.
Then after you add your friend's iPhone's UDID in the iOS Developer Portal, you can create a mobileprovision that will allow you to build an app that can be be installed on this iPhone.
You can sync this app and the mobileprovision file to the iPhone via iTunes, or slightly more complicated if you don't want to sync, put on a server with the mobile provision packaged in an appropriate format for wireless installation.

Related

testing iphone apps built on a remote mac

I'm using macincloud service to try/play/learn about building iPhone apps. I have a dummy app, and I'll like to test it on my real device.
I've got the developer certificate, I've installed the profiles, but now I'll like to test my app on a real device. Because it is not possible to connect my iPhone to the macincloud servie and because I'm on a windows machine, how can I test my app on a real device(the one with UDID that was used in generating the certificates and provisioning profiles).
Is there any file that xCode is generating and it can be used to transfer on a real device from a Win7 machine?
You need to generate an archive in XCode, and then from the organizer click "Share" to generate an IPA file. This file along with the ad-hoc provisioning profile can install the app on a provisioned device via iTunes on a Mac or a Windows machine.
For info on provisioning your device for ad-hoc deployment, see here: http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices or the apple developer docs.
Good Luck.
Correct answers have been given already. However, have a look at http://testflightapp.com . That might come handy when you go for more test devices especially when you want to distribute it to a beta testing community.
You want to do an Ad-Hoc build. You will have to read Apple's docs to see whats involved. Then you will have an app file you can install with any iTunes.

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.

Loading iPhone development apps on iPhone using Windows

I have an iPhone app prototype and I can't get it on my iPhone from Windows. The application shows up in my iTunes and my phone syncs properly (there is no message) but the app doesn't show up on my phone. (the prototype also has my UDID built in). Are there any other issues that could be happening? Please help!
Use the iPhone Configuration Utility. Make the Distribution Certificate on your Mac (create a signing request, upload to portal, download certificate, install in keychain), then create a Distribution Provisioning Profile in the portal of an Ad-Hoc type, signed with your Distribution Certificate, tied to an App ID and selected devices. After that, Build and Archive a binary (ipa) of your app in Xcode with that Distribution Provisioning Profile, then 'Share' it in the Xcode Organiser. That ipa can now be added to the Configuration Utility in either OS X or Windows and installed on any device that was selected when creating the Ad-Hoc Distribution Provisioning Profile.

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

How to add adhoc application on multiple iphone on the same computer in itunes?

How to install my app in adhoc release on multiple device with the same computer/itunes, when i try to do it, itunes sync the devices..so i clean them up ...
Apple has solved your problem with an Enterprise Utility called the "iPhone Configuration Utility" which you may freely download from their information webpage here: http://support.apple.com/downloads/iPhone_Configuration_Utility_2_0_for_Mac_OS_X
Once you install this and connect a device and close iTunes (which typically launches in response to the device connection) you can easily use its simple interface to manage your adhoc provision profiles, add the device and install or remove adhoc apps directly.
I used this app months ago to put the Crash Landing demo I'd built with the SDK directly on my wife's 2.1 iPhone 3G from my desktop dev Mac without messing up her own laptop Mac iTunes sync management of her apps, music, etc. FYI: I've not tried this since the June update to v2.0 of the Utility which accompanied the release of OS 3.0. edit: I couldn't resist testing this (yes, it still works)
The only downside I noticed to this method is that the iPhone/Touch user will have to later delete the app manually on their device, as their iTunes management won't list the app in the device applications tab to be unchecked.
it should just work, as long as the mobileprovision file that you're using includes all of the devices that you're trying to use. (also assuming that all of the devices are set to sync to that one computer's iTunes library.)
If the device is jailbroken you can install sshd and copy the application directly.