When I create a new xib in interface builder the Interface Builder Document (Versioning) development parameter is defaulting to xCode 4.1
Is there anyway to default this to xCode 4.2 - The reason I ask is I recently changed a project to use IOS 5 and 4.2 - The project was originally created in 4.1, and when I create a new xib and set the size of the view to "Form Sheet" it generates a waring:
Attribute Unavailable: Form Sheet simulated metrics are not available prior to Xcode 4.2.
I can fix the warning by changing the Document Version drop down in the property inspector to 4.2
You will have to modify directly the XCode templates :
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/File Templates/User Interface
- Contains templates when you choose the menu File->New...->New File...
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates/User Interface
- Contains templates when you choose the menu File->New...->New Project...
Edit the any xib you want by adding this inside <archive><data>
:
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<real value="4200" key="NS.object.0"/>
</object>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With