Chargement du reste de cette comparaison.

Xcode 11.4 GM diff

Créé Le diff n'expire jamais
71 suppressions
240 lignes
104 ajouts
269 lignes
Overview
Overview
Xcode 11.4 includes SDKs for iOS 13.4, iPadOS 13.4, tvOS 13.4, watchOS 6.2, and macOS Catalina 10.15.4. The Xcode 11.4 release supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.4 requires a Mac running macOS Catalina 10.15.2 or later.
Xcode 11.4 includes SDKs for iOS 13.4, iPadOS 13.4, tvOS 13.4, watchOS 6.2, and macOS Catalina 10.15.4. The Xcode 11.4 release supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.4 requires a Mac running macOS Catalina 10.15.2 or later.
General
General
New Features
New Features
Xcode 11.4 supports building and distributing macOS apps as a universal purchase. To distribute your macOS app as a universal purchase, specify the same bundle identifier as your iOS app in the Xcode template assistant when creating a new project. If you have an existing project, edit its bundle identifier in the Project Editor.
Xcode 11.4 supports building and distributing macOS apps as a universal purchase. To distribute your macOS app as a universal purchase, specify the same bundle identifier as your iOS app in the Xcode template assistant when creating a new project. If you have an existing project, edit its bundle identifier in the Project Editor.
Universal purchase is enabled by default for new Mac Catalyst apps created in Xcode 11.4. When you create a new Mac Catalyst app, it will use the same bundle identifier as your iOS app.
Universal purchase is enabled by default for new Mac Catalyst apps created in Xcode 11.4. When you create a new Mac Catalyst app, it will use the same bundle identifier as your iOS app.
Automatic signing in Xcode 11.4 supports building Mac Catalyst apps with a custom bundle identifier. You can edit the bundle identifier of your app using the Signing & Capabilities tab in the Project Editor. If you choose to build your Mac Catalyst app with a custom bundle identifier that does not match your iOS app, you will not be able to distribute the app as a universal purchase.
Automatic signing in Xcode 11.4 supports building Mac Catalyst apps with a custom bundle identifier. You can edit the bundle identifier of your app using the Signing & Capabilities tab in the Project Editor. If you choose to build your Mac Catalyst app with a custom bundle identifier that doesn’t match your iOS app, you won’t be able to distribute the app as a universal purchase.
Known Issues
When targeting devices running iOS 13.3.1, tvOS 13.3.1, watchOS 6.1, or later using a free Apple Developer account, app extensions incorrectly count against the limit of three apps installed simultaneously. When this happens, Xcode reports an error: “The maximum number of apps for free development profiles has been reached.” (59264389) (FB7568073)
Workaround: Delete apps signed with your free account from your device and also remove any associated provisioning profiles from the device using Xcode’s Devices window. If your app contains more than two app extensions, remove them to remain under the three app limit.
Resolved Issues
Resolved Issues
Creating an Objective-C category file by choosing File > New > File no longer creates a file that includes an import of the AppKit framework. (55977950) (FB7346800)
Creating an Objective-C category file by choosing File > New > File no longer creates a file that includes an import of the AppKit framework. (55977950) (FB7346800)
Apple Clang Compiler
Apple Clang Compiler
New Features
New Features
Xcode 11.4 turns the -Watimport-in-framework-header warning on by default. Using @import in framework headers is discouraged, because doing so requires all importers to use modules. (59222634) (FB7566046)
Xcode 11.4 turns the -Watimport-in-framework-header warning on by default. Using @import in framework headers is discouraged, because doing so requires all importers to use modules. (59222634) (FB7566046)
To temporarily silence this warning, use:
To temporarily silence this warning, use:
#if __has_feature(modules)
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
#endif
@import NameOfFramework;
@import NameOfFramework;
#endif
#endif
Asset Catalogs
Known Issues
Assets localized in the asset catalog are now used at runtime, regardless of whether an associated .lproj directory exists. (49565973)
Resolved Issues
Fixed an issue where previews of symbol images in the asset catalog had flipped baselines. (57540017) (FB7473079)
Asset Catalog Contents.json files ending in a newline will retain that newline when saved. (50630207) (FB6058998)
Build System
Build System
New Features
New Features
Build settings have a new evaluation operator, default, which you can use to specify the default value of a build setting if it evaluates to empty in the context of the evaluation. For example:
Build settings have a new evaluation operator, default, which you can use to specify the default value of a build setting if it evaluates to empty in the context of the evaluation. For example:
$(SETTING:default=something)
$(SETTING:default=something)
If $(SETTING) is empty, this expression evaluates to ‘something’. The default value may itself be an expression that contains build setting evaluations. (57402718)
If $(SETTING) is empty, this expression evaluates to ‘something’. The default value may itself be an expression that contains build setting evaluations. (57402718)
Building codeless kernel extensions with the new build system now requires you to set the GENERATE_KERNEL_MODULE_INFO_FILE build setting to NO. (57247534)
Building codeless kernel extensions with the new build system now requires you to set the GENERATE_KERNEL_MODULE_INFO_FILE build setting to NO. (57247534)
Resolved Issues
Resolved Issues
Fixed a link failure that could occur when building for testing while using bitcode. (57857082)
Fixed a link failure that could occur when building for testing while using bitcode. (57857082)
Debugging
Debugging
New Features
New Features
Xcode 11.4 adds support to copy and paste breakpoints in the Breakpoint Navigator. (11723352)
The view debugger now presents layout guides (UILayoutGuide, NSLayoutGuide) and their referencing constraints. (20387325)
The view debugger now presents layout guides (UILayoutGuide, NSLayoutGuide) and their referencing constraints. (20387325)
View debugging supports showing layers using the Show Layers menu item in the Editor menu. (15775898)
View debugging supports showing layers using the Show Layers menu item in the Editor menu. (15775898)
The exception reason now surfaces as an editor annotation. You can inspect the Exception object in Variables View and find the backtrace of the original uncaught exception, if any, in the Debug Navigator. (8045587)
The exception reason now surfaces as an editor annotation. You can inspect the Exception object in Variables View and find the backtrace of the original uncaught exception, if any, in the Debug Navigator. (8045587)
You can now use the Terminal for standard I/O, instead of Xcode’s Console. Make this choice using the Scheme Editor’s Options tab. (33552211)
You can now use the Terminal for standard I/O, instead of Xcode’s Console. Make this choice using the Scheme Editor’s Options tab. (33552211)
Known Issues
The Build & Run action may fail to launch a watchOS app on series 2 and series 3 watch simulators when attempting to deploy soon after booting the simulator. (60281738)
Workaround: Build and run again on the simulator after the simulated device finishes booting.
Xcode may not persist changes made to diagnostics in the Scheme Editor within the first few minutes of opening a project for the first time. For example, if you enable the Malloc Stack Logging checkbox soon after creating a new project from a template, the checkbox may be spontaneously unchecked before you build and run the target, thus preventing the diagnostics from being enabled. (59154142)
Workaround: If you find that diagnostics you enabled, such as Malloc Stack Logging, aren’t working, please check the scheme editor because the relevant checkboxes may have spontaneously become unchecked. Re-enable the desired preference. Xcode will recover in a few minutes and save the selections you’ve made.
Resolved Issues
Resolved Issues
View outlines in the view debugger are now more visible. (44861893) (FB5361403)
View outlines in the view debugger are now more visible. (44861893) (FB5361403)
Devices
Devices
Known Issues
Xcode 11.4 doesn’t work with devices running iOS 13.4 beta 1 and beta 2. (60055806)
Resolved Issues
Resolved Issues
Icons and names for devices running iOS 13.0 reflect the correct OS version in the Devices and Simulators window. (55044395)
Icons and names for devices running iOS 13.0 reflect the correct OS version in the Devices and Simulators window. (55044395)
Instruments
Instruments
Resolved Issues
Resolved Issues
State restoration in Instruments now depends on the scope selection. As a result, you may need to reconfigure and re-save custom templates in Instruments 11.4. (37746235)
State restoration in Instruments now depends on the scope selection. As a result, you may need to reconfigure and re-save custom templates in Instruments 11.4. (37746235)
Fixed an issue where removing one run from Instruments removed all of them. (53451989)
Fixed an issue where removing one run from Instruments removed all of them. (53451989)
Fixed an issue in the iOS 13.4 Simulator runtime where applications wouldn’t launch using the Allocations and Leaks templates. (56543962) (FB7403237)
Fixed an issue in the iOS 13.4 Simulator runtime where applications wouldn’t launch using the Allocations and Leaks templates. (56543962) (FB7403237)
Fixed a crash that occured when double-clicking a symbol in extended detail view. (58058064)
Fixed a crash that occured when double-clicking a symbol in extended detail view. (58058064)
Importing a file into an Instruments template now creates trace scopes according to the template specification. (58100654)
Importing a file into an Instruments template now creates trace scopes according to the template specification. (58100654)
Instruments now properly tracks processes that exited during “All Processes” recordings. (59072482)
Instruments now properly tracks processes that exited during “All Processes” recordings. (59072482)
Fixed an issue where the Allocations instrument wouldn’t record on watchOS devices. (59268958) (FB7568204)
Fixed an issue where the Allocations instrument wouldn’t record on watchOS devices. (59268958) (FB7568204)
Interface Builder
Interface Builder
New Features
New Features
Added Pointer Button property to UITapGestureRecognizer to control which mouse events trigger the gesture recognizer to succeed. (59330235)
Added new Pointer Interaction property on UIButton. (59337826)
UIDatePicker has a new Style property, and will use a new compact style by default in Mac Catalyst apps on macOS 10.15.4. (56384950)
Added dynamic system gray colors to inspector color pickers. (55403376) (FB7281404)
Added dynamic system gray colors to inspector color pickers. (55403376) (FB7281404)
Resolved Issues
Resolved Issues
Fixed an issue that prevented the color picker panel from having any effect when a text field in the inspector was focused. (56067005) (FB7358220)
Added Scroll Types property to UIPanGestureRecognizer to control which mouse events trigger the gesture recognizer to succeed. (59330150)
Resolved an issue where NSSwitch did not correctly update in the canvas when the control size was set to Small or Mini. (56520376)
Resolved an issue where Xcode could hang when working with UITableViewCell in a tvOS storyboard. (56353682)
Resolved a crash that could occur when switching the style of a UITableViewCell from basic to custom. (56079081)
Removed a large tooltip that obscured the list of constraints. (55938862) (FB7343268)
Fixed a bug where NSMenuItem images no longer displayed on the canvas. (55838210) (FB7336326)
Resolved a crash when editing attributed string values of UILabel and UIButton controls. (55737956) (FB7326816)
Resolved a hang when using AVPlayerViewController in tvOS storyboards. (55645930) (FB7318427)
Fixed a bug where using named colors in IBInspectable properties would use a fixed color at runtime, instead of the dynamic color from the asset catalog. (55248109) (FB7248211)
Resolved an Xcode crash that occurred when editing NSToolbar items in Mac documents. (55172989) (FB7212782)
Improved the rendering of images in iOS, macOS, tvOS and watchOS documents. PDF images render their vector representations. The scale factor is better preserved when image filenames end with a scale (@2x). Use a more pleasant placeholder when an image is missing. (53887572)
Improved performance working with Mac XIBs and storyboards containing a large number of controls. (52603889) (FB6472772)
Fixed duplicate keyboard shortcuts used for inspector categories. (52388396) (FB6366331)
Fixed an issue where Interface Builder canvas and previews did not always display the correct image content for the selected languages when localizing images in the asset catalog. (48353744)
Fixed a compilation bug with the label on an NSTabViewItem not getting localized. (46290566)
Removed WKWebView from the Apple TV object library because it isn’t supported on the platform. (45957591)
Resolved an issue where drag images of view controllers would sometimes render upside-down when both 1x and 2x displays were connected. (45464632) (FB5704168)
Fixed an issue where NSResponder.h would incorrectly show up in the Assistant Editor for XIB/Storyboard files. (37259359)
Fixed an issue where some Xcode editors, often Interface Builder, would be misaligned from the Xcode window that contains them. (39655724)
Objects are automatically labeled based on connections, sometimes resulting in view controllers called “Delegate”. This behavior has been changed to only apply from parents to children. Additionally, accessibility connections (“link” and “title”) no longer affect automatic labeling. (22972580) (FB5806917)
Resolved a crash when selecting a container view controller and opening the Preview editor. (23099319)
Fixed an issue where the inspector section for NumberFormatter Symbols had a light background in dark mode. (57393302) (FB7459536)
Fixed an issue where the inspector section for NumberFormatter Symbols had a light background in dark mode. (57393302) (FB7459536)
Fixed an issue where several NSResponder actions were missing from the Connections Inspector. (56546759) (FB7403346)
Fixed an issue where several NSResponder actions were missing from the Connections Inspector. (56546759) (FB7403346)
Fixed a crash that could occur when moving duplicate NSComboBox items in the Inspector. (55796760)
Fixed a crash that could occur when moving duplicate NSComboBox items in the Inspector. (55796760)
Fixed an issue where the Interface Style Simulated Metrics setting wouldn’t apply to objects being dragged. (55207867)
Fixed an issue where the Interface Style Simulated Metrics setting wouldn’t apply to objects being dragged. (55207867)
Fixed an issue where named Global Tint colors weren’t properly unarchived during Interface Builder document loading, resulting in incorrect Global Tint colors on subsequent document saves. (55158004) (FB7232333)
Fixed an issue where named Global Tint colors weren’t properly unarchived during Interface Builder document loading, resulting in incorrect Global Tint colors on subsequent document saves. (55158004) (FB7232333)
Fixed an issue where unrecognized system colors wouldn’t have their fallback colors preserved after loading and saving Interface Builder documents. (54623340)
Fixed an issue where unrecognized system colors wouldn’t have their fallback colors preserved after loading and saving Interface Builder documents. (54623340)
Fixed a bug that prevented entering a 0 constant in the constraint popup editors. (54076090)
Fixed a bug that prevented entering a 0 constant in the constraint popup editors. (54076090)
Fixed an issue where XIB template files didn’t have dynamic background colors. (53907727) (FB6918296)
Fixed an issue where XIB template files didn’t have dynamic background colors. (53907727) (FB6918296)
Fixed a crash that occurred if an NSLevelIndicator Minimum inspector value was higher than its Maximum. (53302326) (FB6740368)
Fixed a crash that occurred if an NSLevelIndicator Minimum inspector value was higher than its Maximum. (53302326) (FB6740368)
Fixed an issue where Interface Builder documents that contain UINavigationBar titles configured with named colors could be archived with duplicate-named color resources. (52162293) (FB6253352)
Fixed an issue where Interface Builder documents that contain UINavigationBar titles configured with named colors could be archived with duplicate-named color resources. (52162293) (FB6253352)
Fixed an issue where Apple TV UITableViewCell safe area frames displayed incorrectly in XIB files. (51679086)
Fixed an issue where Apple TV UITableViewCell safe area frames displayed incorrectly in XIB files. (51679086)
Fixed an issue where Xcode could crash after configuring text to be non-attributed. (46228389) (FB5673720)
Fixed an issue where Xcode could crash after configuring text to be non-attributed. (46228389) (FB5673720)
Fixed an issue where creating a Swift outlet with drag-to-source could result in a class-not-found error. (57883610) (FB7491401)
Fixed an issue where creating a Swift outlet with drag-to-source could result in a class-not-found error. (57883610) (FB7491401)
UIDatePicker compact style is available. (58963416)
UIDatePicker compact style is available. (58963416)
Removed inspector support for configuring NSTableColumn header cell fonts to match the API. You can configure header cell fonts by subclassing NSTableHeaderCell and overriding the font property in code. (23664679) (FB5630174)
Removed inspector support for configuring NSTableColumn header cell fonts to match the API. You can configure header cell fonts by subclassing NSTableHeaderCell and overriding the font property in code. (23664679) (FB5630174)
Metal
Metal
New Features
New Features
The Metal Frame Debugger now supports iOS and tvOS simulators. (54273848)
The Metal Frame Debugger now supports iOS and tvOS simulators. (54273848)
Resolved Issues
Resolved Issues
The SIMD-group functions (see section 6.8.2 of the Metal Shading Language Specification) compile for iOS. (59338106)
The SIMD-group functions (see section 6.8.2 of the Metal Shading Language Specification) compile for iOS. (59338106)
Organizer
Organizer
New Features
New Features
The Crashes Organizer now shows crash logs for universal purchase macOS apps. (57607495)
The Crashes Organizer now shows crash logs for universal purchase macOS apps. (57607495)
Playgrounds
Known Issues
SwiftUI views aren’t rendered by Quick Look previews or inline result views. (59908350)
Resolved Issues
Inline results no longer obscure lines below them. (35682773) (FB5729414)
Automatic code suggestions are more reliable for Playgrounds embedded within projects. (59411425)
Single line doc comments no longer cause the following line to be rendered as documentation. (55861744)
iOS live views now use the system background color by default. (54516552)
Improved reliability of issue annotations in Playground source code. (43793952) (FB5423160)
Previews
Previews
New Features
New Features
Xcode Previews now saves the zoom and pin state of the canvas. (49168788)
You can now turn off the device bezels in Xcode Previews using the Editor > Previews menu. (48676867)
Xcode Previews now shows UI for quickly adding a new PreviewProvider when the open file contains no PreviewProvider. (45471721)
You can now copy, cut, paste, duplicate, and delete views directly within the Xcode Previews canvas. (56134191)
You can now copy, cut, paste, duplicate, and delete views directly within the Xcode Previews canvas. (56134191)
Selecting a SwiftUI preview in code now highlights the corresponding preview in the canvas, and vice versa. (56412209)
Selecting a SwiftUI preview in code now highlights the corresponding preview in the canvas, and vice versa. (56412209)
Xcode Previews now supports previewing iPad applications brought to the Mac. (41416222)
Xcode Previews now supports previewing iPad applications brought to the Mac. (41416222)
Known Issues
Known Issues
On-device debugging of SwiftUI Previews may not work for Series 2 and Series 3 watches because the preview is built for the wrong architecture. (59909746)
Workaround: Use the Build & Run action with the watch selected as the destination. The application will be built for the correct architecture.
Previews may fail for Mac Catalyst applications or sandboxed macOS applications when Xcode isn’t in the Applications folder. (57096274)
Workaround: Move Xcode to the Applications folder
Using ForEach to set Preview properties may result in preview failure. (58985849)
Using ForEach to set Preview properties may result in preview failure. (58985849)
Workaround: Use Group.
Workaround: Use Group to set Preview properties.
Resolved Issues
Resolved Issues
The Xcode Previews canvas now surfaces better accessibility information for selectable views. (55538520)
Fixed an issue where the popover SwiftUI inspector could open empty. (58064269)
Fixed a crash when working with certain user types in Xcode Previews. (56057560)
Fixed an issue where SwiftUI previews display pixelated on 1x displays. (55227670)
Fixed a crash when using the Xcode Previews inspector. (54991451)
Fixed an issue where some Xcode Previews would spin forever when first updating. (55560302)
Fixed an issue where some Xcode Previews would spin forever when first updating. (55560302)
Xcode Previews now correctly builds previews in frameworks that depend on other frameworks in the project. (56956786)
Xcode Previews now correctly builds previews in frameworks that depend on other frameworks in the project. (56956786) (FB7431181)
Fixed a crash in Xcode Previews that could occur when using the inspectors. (55933725)
Fixed a crash in Xcode Previews that could occur when using the inspectors. (55933725)
Reality Composer
Project Navigator
Known Issues
Known Issues
Edit on iOS does not work with Reality Composer version 1.3.1 on iOS and iPadOS. (59741048)
When restoring a workspace, the Canvas and Assistant checkboxes are sometimes unexpectedly disabled in the Editor Options menu. (59962740)
Workaround: Use the Canvas and Assistant items in the Editor menu, or their respective keyboard shortcuts, to toggle the visibility of these views.
Server
Server