Can I test an iPhone app on a device synced with another computer? - iphone

Is it possible to test an iPhone app on an iPhone/iPod touch which is synced to a computer other than the host computer?
If so, will this also work for testing a device which is synced to a Windows machine?

I don't see why not. You do need to register the device to do any testing at all though. Here is a good tutorial for how to do that.

Update: I tried it yesterday and it worked just fine.

You definitely can. With XCode 3.2.3 it's pretty easy now--you can dynamically load the provisioning certificate to the phone. To do this, plug in the phone that you want to use via USB, open the Organizer in XCode, and follow the instructions for provisioning the device. You must be connected to the internet.
Note: if there are new developers agreements from Apple that you haven't accepted yet, this certificate provisioning step may fail silently.

Related

Failed to install ad-hoc distribution with itunes 11.0.1

I have strange problem. I developed app code signed it with Distribution provisioning profile which includes correct devices and sent it to Client. He installed via iTunes and there were no problems. Suddenly iTunes 11 was released and Client told me that he is unable to install app on his devices.
The situations looks like this:
authorizing computer
adding app to iTunes library
selecting app to sync/install on device
start synchronization
Synchronization goes to step 4 where message says thet apps to synchronization are prepared and synchronization ends showing in iTunes that app is installed on device. But on device there is no app. No error or any kind of message, nothing...
To make things more complicated I'm able to install app on my devices (I even borrowed iPad's, iPhones and one iPod touch from friends to check it). Although I'm not able to install it on one iPod Touch 4G. The app is compatible with iOS 5 and 6.
Any ideas?
Same issue i was facing, i don't why iTunes 11 has this strange behaviour. But i managed to sent my .ipa to client using, Diawi. You have to upload your .ipa over here and it'll generate a link which will pass to your client and it'll be download easily. So this is simple and nice solution without interacting with iTunes.
Similar situation to me. iTunes 11 (OSX 10.8) failed to install IPA file. Everything seems all right, but there is no app on device, iPhone4 iOS6.0.1 in this case.
But when I install app via Test Flight, installation works.
When I try to install same application on OSX 10.7, iTunes10, installation works fine.
Maybe is problem in iTunes artwork that has to be 1024x1024, I do not know.

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.

Testing Adobe Air App for iPhone

how can I deploy my prototype app in order to test it on my iphone? obviously it isn't at the stage where it can go on the app store but I;d like to play about with it for testing..
Do I HAVE to enrol in the developer program?
You need to be enrolled in the Apple Developer Program to receive a certificate you can use to sign your apps to be installed on your iDevice.
In short, yes. But you knew that.
Although we as a developer don't suggest illegal installation, but some developers may find it is actually easier with the dark method:
Install you iPhone or iPad with "Installous" and "iFile",
with iFile, you can open a wifi port for any computer in the same wifi network to access the machine from there browser and upload file to the machines (without using iTune), so you can put your *.ipa file in the machine.
In order to manually install the ipa file, you may want to use the Installous, so what someone will do is to put the ipa to the [root]/mobile/Documents/Installous/Downloads, then when you open up Installous, go to Downloads, you will see your ipa and be able to install it!
Hope this hope.

iphone app run on device

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.

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.