I want to generate the .ipa file for App download. I am executing code in xcode 4.5.2 and after build success, dragging the .app file to itunes folder. But, the drag itself is not happening. My device has IOS 5.1.Do i need to upgrade my device OS to IOS6 or any other reaon is the cause. Can anybody tell me, why this is happening?
For the method to generate .ipa file from .app file see my answer to this question:
iOS App loader - what file type should be uploaded
As far as I know, you cannot drag an .app file to iTunes. You can drag an .ipa file however.
To create the .ipa file in Xcode:
Run Product / Archive. If successful, it switches to the Organizer window.
Click "Distribute...", select "Save for Enterprise or Ad-Hoc Deployment" and continue the wizard until you're asked to save the .ipa file.
The saved .ipa file can then be dragged to iTunes and synchronized to your device.
For uploading the app to the Apple' App Store, you don't need to explicitly create an .ipa file. You can be directly upload from the Organizer windows using the same "Distribute..." button.