In the Keychain Access application, select the Keychain Access > Certificate Assistant menu and select Request a Certificate From a Certificate Authority (see Figure 3). To generate the request, you can use the Keychain Access application located in the Applications/Utilities/ folder (see Figure 2).įigure 2 Launching the Keychain Access application This step must be performed once for every device you wish to test on. You will need it later on.įigure 1 Obtaining the identifier for your iPhone/iPod Touchīefore you can request a development certificate from Apple, you need to generate a Certificate Signing Request. Copy this identifier and save it somewhere. Figure 1 shows the Organizer application showing the identifier of my iPhone. Select the Window > Organizer menu item to launch the Organizer application.
#Iphone xcode mac#
To do so, connect your device to your Mac and start Xcode. The following sections walk you through the various steps, from obtaining your certificate, to deploying your applications onto the device.įirst, obtain the 40-character identifier that uniquely identitfies your iPhone/iPod Touch. This needs to be done once for every device you wish to test your apps on. In order to test your iPhone applications on your device, you need to obtain an iPhone Development Certificate from the iPhone Developer Program Portal. Check out to know more about the differences between the Standard and Enterprise programs. For most developers wanting to release applications on the App Store, they can simply sign up for the Standard program, which costs US$99. There are two programs available – Standard and Enterprise. The first step towards testing your applications on a real device is to sign up for the iPhone Developer Program at. In this article, I will walk you through the steps you need to take in order to test your iPhone apps on a real device, be it iPhone, or iPod Touch, the offical Apple way.
Apple, for better or worse, has designed a process involving many hoops that must be jumped through, and this has prompted developers to grumble, and others to explore alternative, non-official open tool chains, which do not require app signing.
#Iphone xcode simulator#
In addition, if your application requires accesses to hardware features on an iPhone/iPod Touch, such as the accelerometer and GPS, you need to test it on a real device – the iPhone Simulator is simply not adequate.Ī repeated criticism from iPhone app developers comes from the difficulty they find in deploying their application to a real iPhone or iPod Touch. This is especially true when you are ready to roll out your applications to the world – you must ensure that it works correctly on real devices.
While the iPhone Simulator is a very handy tool that allows you to test your iPhone applications without needing a real device, nothing beats testing on a real device. For testing purposes, you used the iPhone Simulator, provided as part of the iPhone SDK.
#Iphone xcode how to#
In our previous article on getting started with iPhone development, you learnt how to use the iPhone SDK provided by Apple to develop your first iPhone application.