I had an interesting experience using Xcode 6.3.
I, too, continued this mistake, despite the fact that you usually thought of spelling, targeted membership, etc., as suggested above. I also tried to clear, delete the derived data, and also remove the application from the simulator several times to ensure that the package was built correctly, but to no avail.
Finally, after Brian Michael Bentley's answer, I finally decided to check my .app file in my simulator folder on my HD. I found that all my feathers were there, but with abc ~ ipad.nib instead of the expected abc.nib. I manually renamed all these files to delete the ipad part that was created and worked!
Trying to understand why they were added with the ~ ipad keyword, I looked at the options for my project, and in fact, on my General> Deployment tab, I selected only the iPad. I tried to run the iPhone simulator. I believe that in the past Xcode threw an error indicating that the binary does not support the iPhone and you will not be able to launch the application.
I removed the application from the simulator and did the same thing again - again with only iPad support. This time .app contained abc ~ iphone.nib AND abc ~ ipad.nib for each expected storyboard, and it worked perfectly on the iPhone simulator. Yet again. If we select the iPad only in our Info Info settings, it should not run on iPhone Simulator. This is an Xcode error.
So, there is some inconsistency of behavior on the part of Xcode and, unfortunately, this is an intermittent error, and it can be difficult to reproduce, but I put it here so that it can help others in the future.
Justin-Nicholas Y. Toyama May 15 '15 at 4:03 a.m. 2015-05-15 04:03
source share