testing iphone apps built on a remote mac - iphone

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.

Related

How to run sample project in IOS device?

I am working on Audio capture related task, I have downloaded speak here sample code from Apple site, I just want to run and debug about its functionality, when I am trying in my device, it is saying invalid provision certificate, I know what is provisional certificate, we registered for our application. My question is how to run sample projects in device. Is there any way?
please help...
To install application on any iOS device you have to have a developer account and it is not free.
You can go to this website
http://jailcoder.com/
What this does program does is patch SDKSettings.plist inside of Xcode and also patches your project (just adds a run script) and install on your device with fake provisions certificate. This is all fully reversible. You will need to have your device jailbroken with appsync installed.
Then you can just build for device and it'll run it on your device instead of the simulator.
To install application for development or distribution on iOS device you have to "Enroll" or "BUY" to Apple's Developer program or Enterprise program.
Developer Program
Its have Developer certificate as well Distribution certificate but its follows UUID means device ID to install on device.
Enterprise program
Its have Developer certificate as well Distribution certificate but UUID means device ID is optional for in-House distribution provision profile to install on device so you can install on any device.

How to install project ipa file on iPhone query?

I have created Map application for iPhone using xcode 3.2 and sdk 4.3.2. I have created
ipa file and send it to my client. But he is unable to run my project on his iPod. What are
the steps to follow for my client to run an project ipa file. Do my client need to jailbroke his device????
Open iTunes, drag the ipa to the library and then sync the device. Make sure the app is selected to be installed on the device.
The only other thing I can think of, is that his device is not provisioned to run the application. Have him give you the UDID, add him to the provisioning profile and then make another build if the first solution does not work.
And no he doesn't need to jail break his device.
don't jailbreak!
use testflightapp.com :)
follow their directions, and make sure you register your client's device and update your provisioning profiles when building your app.
good luck!
if you have a developper licence, you should try TestFlightApp.com.
I've just explained what's this tool there: How do install iPhone application from Xcode to a remote iPhone

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.

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.