So, I have an universal project
The \"deployment info\" section looks like this: <
I found the attribute which affect the display behavior of Xcode deployment info:
In the PBXProject section of project.pbxproj file, there are lines looks like:
TargetAttributes = {
22CFA0081BE46E9A00A89E90 = {
CreatedOnToolsVersion = 7.2;
};
};
If this attribute exists in the project, the Xcode will not display "iPhone" and "iPad" buttons . Just remove these lines, then the buttons will show.
This should be a bug of Xcode7.2
I found this same problem today in my project. But I needed a solution because it was not respecting my orientation settings on the original target when using an iPad.
I made a copy of the already duplicated target. This solution worked, but I abandoned it to limit my risk to our production build settings.
I ended up just modifying the appropriate ProjectX-Info.plist file Locating the "Supported Interface orientations (iPad)" key and adding all 4 orientations. (Replacing "ProjectX" with your Target)
I am using Xcode 7.0.1 (7A1001) and hope it is fixed in a future release