Xcode 7.3 injures and maims poor, innocent, elderly xib file

Originator:jalkut
Number:rdar://25358289 Date Originated:25-Mar-2016 10:21 AM
Status:Open Resolved:
Product:Developer Tools Product Version:7.3
Classification:Serious Bug Reproducible:Always
 
Summary:
A xib file from an older OS X Mac app that I'm updating to require modern tools has a xib file that poses problems for Xcode 7.3. Although 7.3 is able to open and edit the xib file without complaint, any save to the xib file produces a file that is no longer openable, causing an unarchiving exception to be logged to the console.

Steps to Reproduce:
1. Open attached Preferences.xib in 7.3.
2. Save to commit automatic updates Xcode has made to the xib.
3. Reopen the saved xib in 7.3.


Expected Results:
Saves should round-trip from 7.3 and be re-openable. The poor innocent xib should suffer no harm.

Actual Results:
The xib has been corrupted such that it can no longer be opened. Xcode declares an error:

The document "Preferences copy.xib" could not be opened. The operation couldn’t be completed. (com.apple.InterfaceBuilder error -1.)

The console log shows:

3/25/16 10:20:19.172 AM Xcode[31399]: -[NSTaggedPointerString string]: unrecognized selector sent to instance 0x3015
3/25/16 10:20:19.172 AM Xcode[31399]: Exception raised while unarchiving document objects - -[NSTaggedPointerString string]: unrecognized selector sent to instance 0x3015


Version:
Version 7.3 (7D175)

Notes:


Configuration:
MacBook Pro 2014 edition 15"

Attachments:
'Preferences.xib' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!