The checkbox to create a .xib file in Xcode 6 seems to be disabled. I can not find any way to enable it again. Does anybody know if this is possible?
4 Answers
Make sure you didn't accidentally select the OS X Cocoa Class file type instead of iOS Cocoa Touch Class.
Incorrect:

Correct:

1 Comment
Creating xib files in xcode 6 is,
First of all create empty project as, Go to-> File > New >Project, Then select IOS >Other > Empty then Next After that creating a xib file as, Go to->File >New> File then IOS > Cocoa Touch Class and then NEXT Then select Viewcontroller and check for the "Also create XIB file" Then Next
This will create a empty project as well as xib file.
1 Comment
I had encountered this problem. Below is fix for this :
- Right click on files present in
Project Navigatorsection. Select
New File.OR
Select
Filefrom list of tab present in XcodeSelect
New -> FileOR
Simply press
cmd+NChoose template for your new file as
iOSnot OS X, tvOS or watchOS.


