Right now i develop ipad application in vmware macos X image. Is it possible to deploy application on real device and debug it in vmware image?
It doesnt matter if you use vmware or a real mac, as long as the xcode organizer recognizes the device when you attach it to an usb port.
To deploy an application on a real device you need developer certificates from apple. (You need to pay the $99 to them to be a registered iphone developer to get them). You can then register your device at developer.apple.com and you can run applications on it which you have signed with your certificate.
If the device is jailbroken it can be done without proper certificates, but I have never done that.
Related
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.
I am trying to upload my iPhone app to my iPhone. I'm running Xcode and OS X on a VMWare virtual machine. Even though iTunes recognizes the iPhone when it's plugged in (implying that the USB connection between the virtual machine and the iPhone is working fine), no matter what I do, Xcode does not recognize the device.
The error is:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
Ideas?
'No provisioned devices' implies that you did not add your device to the provisioning portal, or you dont have the proper provisions and certificates installed.
Xcode and iOS are VERY strict about code signing, and so apps will not install on any device (besides the simulator) without the proper certificates and provisioning profiles. They're very easy to make, and only require an apple developer account available for $100.
From the device side:
Plug In your device, enter the organizer, then select your device and click the plus button in the organizer. It will ask for login credentials, then if all goes well, will add your device to your developer portal and possibly generate a wildcard provision.
From the computer side:
Enter the apple developer member center. Click 'iOS provisioning portal' and apply for and download the proper certifications. Then drag those certifications onto the xcode application icon and it will install them in your keychain and move them to the proper place within the organizer.
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.
Can you distribute an iPhone app for testing in the iPhone simulator on computers that do not have the XCode development tools installed? Can you just install the simulator on a computer for testing?
I have a group of testers that are not developers and do not need to have the dev tools other than the ability to run the simulator to test the app.
Thanks
The official way to achieve your goal of user acceptance testing without requiring the users to have the development tools is to use Ad-Hoc deployment instead of the simulator.
To conduct an ad-hoc deployment you will need all your testers to have a device (iPhone, iPod touch, or iPad) and you will need to acquire their device's unique identifier UDID. Once you have that you will need to go into the iPhone developer website and create a new deployment signing certificate of type 'ad-hoc', making sure to specify that each of your testers has rights to that build.
By doing this your testers will be able to run the app on real hardware, and will only be required to have iTunes installed on either a Windows or Macintosh computer.
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.