iOS 6 네번째 베타(10A5376e) 배포와 함께 Xcode 4.5 Developer Preview도 새로운 빌드가 배포되고 있습니다.
한가지 특이사항은 Xcode 4.5 Developer Preview 4 4G144I 빌드가 먼저 공개되었다 불과 몇 시간 후 4G146 빌드가 다시 올라왔다는 점입니다. 이번 버전의 자세한 변경 내역은 다음을 참고해 주십시오.
Xcode Release Notes
This document contains release notes for Xcode 4.5 developer preview 4. It discusses new featuresand issues present in Xcode 4.5 developer preview 4 and issues resolved from earlier Xcode releases.
About Xcode 4.5 developer preview 4 Supported Configurations
Xcode 4.5 developer preview 4 requires OS X 10.8 or OS X 10.7.4. It does not run on earlier versions of OS X. Xcode supports development for iOS 6 beta 4, OS X 10.8, and OS X 10.7.
Installation
This preview release of Xcode 4.5 is distributed as a single application bundle, Xcode45-DP4.app. To install Xcode during the preview period, open the downloaded DMG file and drag Xcode45-DP4.app to your Applications folder.
Within Xcode, you can launch additional developer tools, such as Instruments and FileMerge, via the menu item Xcode > Open Developer Tool. You can then keep the tool in your Dock for access when Xcode is not running.
Technical Support and Learning Resources
Apple offers a number of resources where you can get Xcode development support:
• http://developer.apple.com: The Apple Developer website is the best source for up-to-date technical documentation on iOS and OS X.
• http://developer.apple.com/xcode: The Xcode home page on the Apple Developer website provides information on the developer tools.
• http://devforums.apple.com: The Apple Developer Forums feature a dedicated Developer Forum for Xcode developer previews.
Use http://bugreport.apple.com to communicate issues with Apple. Include detailed information of the issue, including the system and developer tools version information, and any relevant crash logs or console messages.
New Features in Xcode 4.5 Source Editing
Xcode remembers recently used code completion items and gives them a higher priority in code com- pletion popup. (9790948)
The source code editor automatically cleans up trailing whitespace at the end of a line. This applies only to edited lines, minimizing unwanted whitespace noise when committing changes. To adjust this behavior, select While Editing > Automatically trim trailing whitespace in the Text Editing preferences. (2535591)
Typeover completions automatically add closing parentheses, brackets, and quotes when you type an initial opening character. The closing character is added such that it allows you to type over it; this is helpful when you’re typing both the open and close character quickly. Use the Tab key to quickly jump over a type-over completion. (3780948)
Xcode Workspaces and Schemes
File, directory, and group icons in jump bars act as proxies to the item. (7452760)
When Xcode auto-creates schemes, it adds new schemes in the order of the projects in the workspace and then in target order within each project. (7996506)
New projects can be added to either a workspace or a project. (8032086)
Interface Builder
Storyboards support view controller containment. To install a view controller inside of another view con- troller’s view, add a container view from the library and connect an embed segue to the destination. At runtime, the scene will be installed prior to invoking the -viewDidLoad method on the source view con- troller. (9630246)
Modal segues can be presented without animation. (10384049)
Unwind segues can allow transitioning to existing instances of scenes in a storyboard. (9211697)A new method in the UIViewController class, –shouldPerformSegueWithIdentifier:sender:, allows conditional triggering of segues. (9447109)
Issues Outstanding in Xcode 4.5 developer preview 4 Core Data Modeling
Support for syncing with MobileMe is deprecated. By default, the syncable key is set to YES in the User Info Dictionary for entities and properties, but the syncable key is no longer shown so it cannot be dis- abled. (10787672)
Workaround: To explicitly set syncable to NO for an entity or property, add a key value pair in your User Info Dictionary:
1. Select an entity or property
2. Select the Data Model inspector
3. In the User Info section, add this key-value pair:key = "com.apple.syncservices.Syncable" value = "NO"Localization
After using the base internationalization feature of the project editor, Xcode automatically generates strings files for each of your Interface Builder documents. To resynchronize your strings files with new content from your Interface Builder documents, use ibtool –generate-strings-file to produce new strings files and merge the new strings into your existing localized strings files manually. (11462724)
LLDB
The po, print, and expression commands cannot access enumerators directly. (11485295) ! Workaround: Use the full name of the enumeration; for example, print MyEnum::e1.
Interface Builder
When adding subviews to a split view while loading both views from nib files, you may see log mes- sages about unsatisfiable constraints because of autoresizing mask constraints on the split view panes. This is a benign log message, as split view will automatically fix up the problem after the subview is added to the split view. (11614767)
Workaround: Before adding the subview to the split view pane, loop over the subviews of the split view and call setTranslatesAutoresizingMaskIntoConstraints:NO
Source Editor
Text and font rendering in Xcode on Mountain Lion is optimized for Retina Display. If you’re not using a Retina Display, some specific font configurations can sometimes appear blurry or a little different in Xcode on Mountain Lion. (11486875)
Workaround: To switch back to non-Retina Display optimized text and font appearance, set NSFontDefaultScreenFontSubstitutionEnabled to YES for Xcode in Terminal:
$ defaults write com.apple.dt.Xcode NSFontDefaultScreenFontSubstitutionEn- abled -bool YES