Creating Ad-Hoc is an important and integral part of iPhone application development. It helps iphone developer in testing the app during development phase on user’s device and improve before it hits the Apple app store.
The traditional process makes it highly inefficient and time consuming. This post is a small effort to make the user aware of the process of installation smoother. In fact clients and QA will be glad to test the app because with the iOS4 you can install the AdHoc right from your iOS device.
Just follow the steps and you are ready with ”ONE CLICK INSTALLATION WIRELESSLY” . . no WIRES no DRAG DROP no PROVISIONING’s to be shared with the client !
2. Introduction
Creating Ad-Hoc is an important and integral part of iPhone application
development. It helps iphone developer in testing the app during
development phase on user’s device and improve before it hits the Apple
app store.
The traditional process makes it highly inefficient and time consuming. This
post is a small effort to make the user aware of the process of installation
smoother. In fact our clients and QA will be glad to test the app because
with the iOS4 you can install the AdHoc right from your iOS device.
Just follow the steps and you are ready with ”ONE CLICK INSTALLATION
WIRELESSLY” . . no WIRES no DRAG DROP no PROVISIONING’s to be shared
with the client !
10/24/2011
3. Steps are as follows :-
1. Prepare an Ad-Hoc Distribution by duplicating the release configuration.
IN THE BUILD CONFIGURATION
2. Attach the appropriate code signing identity for the Ad-Hoc Configuration
and release configuration.[You can use the same provisioning to code sign
both Ad-Hoc and Release]
3. Add a Entitlements.plist file if not added before, and set the Debug value to
NO.
4. Under the Code Signing Entitlements – Ad-Hoc Distribution
configuration, fill in Entitlements.plist.
5. Set “Skip Install” property in  the build configuration to NO.
10/24/2011
4. …Continued
FROM XCODE MENU OPTIONS
6. Go to edit scheme
- Set Build Configuration to Ad-Hoc Distribution under the Run
configuration.
- Set Build Configuration to Ad-Hoc Distribution under the Archive
configuration.
7. Select DEVICE from the run Options.
10/24/2011
5. …Continued
8. From the Xcode menu select product -> then click on Archive.
9. Go to organizer, the archive version of your app should be there.
10. Select the archived app from the organizer and click share. Select the .ipa
and click next.
11. In the save dialog box, check for enterprise distribution
- Enter any temporary URL for now
- Enter title
12. You will be requiring a file server, use drop box as it’s free and quite
efficient one.
10/24/2011
6. …Continued
13. Save the archived file in the public folder of your dropbox. Copy the public
URL of “yourapp.ipa” file from the dropbox public folder. Edit the plist file
and replace the underneath file URL in the tag <string>http//fileurl</string>
to one you copied.
14. Copy the public URL of “yourappname.plist” file from the drop box public
folder. Share this URL with your client in the underneath syntax:
itms-services://?action=download-
manifest&url=http://dl.dropbox.com/u/35724246/xyz/app.plist
[You can put this URL as a link while emailing it to your client ]
15. Your client has to just click this link for installation.
10/24/2011
7. …Continued
16. An IMPORTANT NOTE whenever your app consists of static API’s like three
20 and others, the “skip install” property in those static API project and
target should be set to YES.
XCODE VERSION - 4.1
SAMPLE XCODE PROJECT
http://dl.dropbox.com/u/35724246/WirelessAd_HocSample.zip?dl=1
10/24/2011