Compiled nib files include extra ~ipad or ~iphone in filename
Originator: | cspickert | ||
Number: | rdar://20538537 | Date Originated: | 4/14/2015 |
Status: | Resolved | Resolved: | 4/27/2015 |
Product: | Xcode | Product Version: | 6.3 |
Classification: | Other Bug | Reproducible: | Always |
Summary: When compiled using Xcode 6.3 (iOS 8.3 SDK), some nib files end up with an extra ~ipad or ~iphone in certain circumstances. For example, ViewController~ipad.xib becomes ViewController~ipad~ipad.nib. This is causing a crash because the app doesn't expect the compiled nib files to have the double suffix. This appears to be a bug in the version of ibtool included with Xcode 6.3 (and the iOS 8.3 SDK). Steps to Reproduce: 1. Create a new .xib file with a device-specific suffix (either ~iphone or ~ipad). For example: ViewController~ipad.xib. 2. Enable Size Classes in the document (check the checkbox). 3. Run the following command: xcrun --sdk iphonesimulator8.3 ibtool --minimum-deployment-target 7.0 --compile ViewController~ipad.nib ViewController~ipad.xib Expected Results: Prior to Xcode 6.3, the output file produced by the command above would be ViewController~ipad.nib. This is the expected behavior. Actual Results: The output filename is ViewController~ipad~ipad.nib. Version: Xcode 6.3 (6D570), Mac OS X 10.10.3 (14D131) Notes: Disabling size classes in the affected .xib files solves the problem. Configuration: Attachments:
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!
This issue has been verified as resolved and can be closed.
Update from Apple Developer Relations
We believe this issue has been addressed in the latest Xcode 6.4 beta. This is a pre-release version of the complete Xcode developer toolset for Mac, iPhone, iPad, and Apple Watch. This release requires OS X Yosemite.
Please test with this release. If you still have issues, please include any relevant logs or information that could help us investigate.
Xcode 6.4 - Build 6E14 https://developer.apple.com/xcode/downloads/