I am trying to create an Ad-hoc version for beta testing(.ipa extension) of an ios app I made. The problem is that whenever you try to install the app via Xcode>Organizer>DEVICE>Applications>Add I get a message saying "The argument is invalid". The app installs just fine on the simulator and all of my devices with no warning or errors if you installing it via the "Build and Run" button. I just get this message when trying to install the .ipa. I have double checked the Provisioning Profile and the device(s) are correctly added. I am code signing the project to the "iPhone Distribution" Profile with all of the correct devices. Also, from reading similar questions on here (Q1,Q2) I though it might be a symlink problem. I removed all of the symlinks and still get this error. I ran
find ./ -type l -exec ls -l {} \;
to find all the symlinks and after fixing all of them when I run that command it doesn't return anything.
Any ideas on how to fix this error?
Thanks :)