I followed the stepped to create a ad hoc carefully:
In case the Add-Hoc deployment won't install on a testing device, and you have the device added to the profile, and the app signed correctly ...
Ok, what I did is to add an Entitlements.plist
file and set the Can be debugged
option to NO
and set it on the target as the Code Signing Entitlements
, but actually I don't know if this was the fix because I won't try again and again, now that it worked.
Then, actually I didn't archive the app and save the .ipa file from Organizer - Archives
, but instead I've sent the .app file from the build/Release-iphoneos
as it is, together with the profile downloaded from dev account. It will install in iTunes and it just worked, after couple of hours of frustration.