Generate and enter a in the device settings.
Since the App Store no longer offers these versions, you must side-load an (iOS App Archive). Youtube Ipa For Ios 5.1.1