If you have a test goal , make sure that in the build settings for it, the Target Device Family is set to iPad , as in the target application. This may sound silly, but I have seen it before.
Then, as indicated in other answers, check the same parameter for any subproject target that you could include in the application project.
source share