
Today Apple released macOS Catalina 10.15 (19A536g) Beta 6 to Developers.
If we follow Apple’s previous Beta release schedule, Beta 6 should have come out on August 12th. Apple releases a new Beta about every two weeks. Beta 6 took about one week longer than usual, yet has the least changes of any Beta release by a large margin. I went through both Beta 5 and the new Beta 6 release notes to find all the changes. Like usual, I also have included the entire patch notes list as an archive. When Apple releases the Beta 7 patch notes, the previous patch notes are overwritten and taken down.
Summary of Beta 6 Patch Notes
- 3 New Features
- 13 New Resolved issues
- 1 New Known Issues
- 1 New Deprecations
A Full List of changes is listed below, along with the full patch notes list.
Report your bugs NOW!
We only have a few Beta’s left to test. The public Release of Catalina is only about a month away!!! You will want to get any bugs that you find into Apple now. If you get them in now, they could be fixed in the current beta cycle instead of waiting until after September’s release date. If you wait it could be months before the fix is put into a dot release combo update.
Link to Apple’s Public Developer Documentation
developer.apple.com/documentation/macos_release_notes
Previous 10.15 Beta Releases
- 6th Catalina 10.15 Beta 6 (19A536g) – 08/19/19 – Current Release
- 5th Catalina 10.15 Beta 5 (19A526h) – 07/31/19 – Release Notes
- 4th Catalina 10.15 Beta 4 (19A512f) – 07/17/19 – Release Notes
- 3rd Catalina 10.15 Beta 3 (19A501i) – 07/02/19 – Release Notes
- 2nd Catalina 10.15 Beta 2 (19A487l) – 06/17/19 – Release Notes
- 1st Catalina 10.15 Beta 1 (19A471t) – 06/03/19 – Release Notes
How to Download macOS 10.15 Catalina Beta Releases
- Sign up Public Beta – Apple Beta Software Program
- Sign up as an Apple Developer (Yearly $100)
- Contact your Apple SE to join AppleSeed for IT
1. New Features in Beta 6
AVFoundation – The AVPlayer class includes two new properties, eligibleForHDRPlayback and eligibleForHDRPlaybackDidChangeNotification, which you can use to determine whether an HDR display is available and can play on the current device. (35938145)
Networking – NSURLRequest.CachePolicy.reloadRevalidatingCacheData and NSURLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData APIs are now available. (49660334)
SwiftUI – The RangeReplaceableCollection protocol is extended to include a remove(atOffsets:) method and the MutableCollection protocol is extended to include a move(fromOffsets:toOffset:) method. Each new method takes IndexSetinstances that you use with the onMove(perform:) and onDelete(perform:) modifiers on ForEach views. (51991601)
2. New Resolved Issues in Beta 6
General – Using Quick Look to preview an HTML document no longer causes the app you’re using to quit unexpectedly. (53330705)
App Store – You no longer receive an error when downloading or updating apps. (49755328)
EndpointSecurity – Using APIs related to muting by paths and path prefixes no longer causes the kernel to panic. (53517643)
EndpointSecurity – Messages to clients are no longer truncated. (53517680)
Mac Catalyst – In order to show a share sheet from a toolbar item using the UIActivityViewController, create the NSToolbarItem using the init(itemIdentifier:)initializer and pass it a UIBarButtonItem configured as a UIBarButtonItem.SystemItem.action. There is no need to set the barButtonItem property. (47292316)
Mac Catalyst – The UIKit module now imports the newly added NSToolbar and NSTouchBar headers, NSToolbar+UIKitAdditions.h and NSTouchBar+UIKitAdditions.h. (50704322)
Music – Navigating using the back button works as expected. (51248128)
Music – You can scroll content on shelves. (51248128)
Music – Artwork changes now appear immediately; playlists have been added. (51201715)
Podcasts – Setting “Automatically Download Episodes” to “Never” now takes effect. (50960777)
Spotlight – Mail messages now display previews. (35678035)
SwiftUI – Using a ForEach view with a complex expression in its closure no longer results in compiler errors. (53325810)
SwiftUI – The Path structure no longer causes your app to crash if you’re using the SDKs included in Xcode 11 beta 6 and later. (53523206)
3. New Known Issues in Beta 6
Networking – The urlSession(_:taskIsWaitingForConnectivity:) delegate callback might not function as expected. (54309264)
4. New Deprecations in Beta 6
Networking – To enable NetBIOS, you can create or edit the /etc/nsmb.conf file. If your system doesn’t already have an /etc/nsmb.conf file, use the following Terminal commands while logged in as an Administrator:echo “[default]” | sudo tee -a /etc/nsmb.conf echo “port445=both” | sudo tee -a /etc/nsmb.conf To disable NetBIOS, you can safely delete the /etc/nsmb.conf file.
Full 10.15 (19A536g) Beta 6 Patch/Release Notes
I always post the full macOS 10.15 Beta 4 patch notes to this page to document them for you. The reason behind that is that Apple will usually just replace over the old patch notes so you are then unable to see what was fixed in the previous release.
Overview of 10.15 (19A536g) Beta 6
The macOS 10.15 SDK provides support for developing apps for Macs running macOS Catalina 10.15. The SDK comes bundled with Xcode 11 beta available from Beta Software Downloads. For information on the compatibility requirements for Xcode 11, see Xcode 11 Beta 5 Release Notes.
General
New Features
- Installing third party kernel extensions now requires that you restart your Mac before they’re permitted to load. (50340461)
Known Issues
- During installation of macOS 10.15 you might be prompted to enter your administrator password multiple times to allow installation to proceed. (51206649)
Resolved Issues
- Using Quick Look to preview an HTML document no longer causes the app you’re using to quit unexpectedly. (53330705)
Deprecations
- macOS frameworks are now thinned for the x86-64 architecture. Apps that execute i386 code now fail with the
EBADARCHerror code. The remaining stub frameworks are nonfunctional and exist only for compatibility purposes. (51236070)
AirDrop
Known Issues
- AirDrop doesn’t work when a VPN is connected with the
includeAllNetworksandexcludeLocalNetworksoptions enabled.Workaround: Disconnect the VPN before using AirDrop. (52618489)
App Store
Resolved Issues
- You no longer receive an error when downloading or updating apps. (49755328)
Apple TV
Known Issues
- Support for signing in with an account from a different country is currently unavailable. (51240948)
AppleEvents
New Features
- To enhance security, AppleEvents and AppleScripts that target an app on a remote system must authenticate as the same user on the remote system. An AppleEvent that targets an app running as a different user receives a
procNotFounderror.To allow remote AppleEvents to target apps in any user session, run the following command in Terminal on the server:defaults write /Library/Preferences/com.apple.AEServer RestrictAccessToUserSession -bool falseThen disable and reenable Remote Apple Events in System Preferences > Sharing. (5353592)
Audio
New Features
- You can now enable voice processing mode on
AVAudioEngine. (50906329) - You can use new
AVAudioNodetypes to wrap a user-defined block for sending or receiving data in real-time. - A new method is available for an
AVAudioEnginebased app to retrieve a list of all nodes attached to anAVAudioEngineinstance. - A new rendering mode in
AVAudioEnvironmentNodeselects the best spatial audio rendering algorithm automatically based on the output device. - A new
AVAudioSessionproperty allows system sounds and haptics to play while the session is actively using audio input. - A new property,
AVAudioSession.PromptStyleinforms apps which style of voice prompt they should play based on other audio activity in the system. - The
AVAudioSession.RouteSharingPolicyenumeration is extended to allow apps to specify route sharing policies so their audio and video is routed to the same location as AirPlay. - Audio Unit Extensions now support user presets that are available across all host apps.
Deprecations
- The OpenAL framework is deprecated and remains present for compatibility purposes. Transition to
AVAudioEnginefor spatial audio functionality. AUGraphis deprecated in favor ofAVAudioEngine.- Inter-App audio is deprecated. Use Audio Units for this functionality.
- Carbon component-based Audio Units are deprecated and support will be removed in a future release.
- Legacy Core Audio HAL audio hardware plug-ins are no longer supported. Use Audio Server plug-ins for audio drivers.
AVFoundation
New Features
- The
AVPlayerclass includes two new properties,eligibleForHDRPlaybackandeligibleForHDRPlaybackDidChangeNotification, which you can use to determine whether an HDR display is available and can play on the current device. (35938145) - AVFoundation now supports encoding video with alpha channels using HEVC. Videos encoded in this manner are broadly supported in AVFoundation APIs and by Safari within web pages. Technical details of the format can be found in the Interoperability Profile specification. (8045917)
Deprecations
- The previously deprecated 32-bit QuickTime framework is no longer available in macOS 10.15.
- The symbols for QTKit, which relied on the QuickTime framework, are still present but the classes are non-functional.
Camera
Known Issues
- Apps using Picture Taker must specify the
NSCameraUsageDescriptionkey to access the FaceTime camera. (47916725)
Core Image
New Features
- The
init(imageURL:options:)andinit(imageData:options:)initializers no longer support RAW decoder versions earlier than 6. Version 6 and later remain supported. (50911303) - Added new APIs for instantiating and modifying the built-in Core Image filters.
- The
CICoreMLModelfilter is enhanced to support models with an input or output of typeMLFeatureType.multiArray. - Metal
CIKernelinstances now support arguments with arbitrarily structured data. - Metal
CIKernelinstances now support returning a group of two by two pixels. - The integer values of
CIFormatsymbols, such asARGB8, have changed to a new set of values which are consistent across platforms. The former values remain supported for backward compatibility; however, you should avoid dependancies on specific numerical values.
EndpointSecurity
Resolved Issues
- Using APIs related to muting by paths and path prefixes no longer causes the kernel to panic. (53517643)
- Messages to clients are no longer truncated. (53517680)
Deprecations
- The
kauthAPI will be removed in a future release. (50419013)
iCloud
Known Issues
- The Cloud Files section in About This Mac > Storage > Manage might inaccurately represent the current state of files on your Mac. (50362095)
- Even when Optimize Storage is switched off, iCloud Drive might fail to automatically download all files. (50667204)Workaround: Download files individually.
- When creating a new Pages, Numbers, or Keynote document in a shared folder, you might see the message “Couldn’t connect to iCloud”. (50827963)Workaround: Close and reopen the document.
iWork
Known Issues
- Attempting to open iWork documents in Finder will unexpectedly create a
.cpgzfile if the corresponding iWork app isn’t installed. (40693892)Workaround: Install the corresponding app from the App Store before opening the document.
Launch Daemons and Agents
New Features
- Launch daemons and launch agents introduce new user privacy protections. Specifying privacy-sensitive files and folders in a launchd property list might not work as expected and prevent the service from running. Having
ProgramorProgramArgumentspointing to an executable in a privacy sensitive location is currently allowed, but may be restricted in a future release. (49702405)To comply with the new privacy protections, resources for a launchd service must be stored in locations that aren’t privacy sensitive. If necessary, the app can set up resources during its execution rather than using launchd property list keys, making it possible to grant the app access using System Preferences > Security & Privacy > Privacy.The following launchd property list keys are affected:KeepAlive,PathState,QueueDirectories,Sockets,SockPathName,StandardErrorPath,StandardInPath,StandardOutPath, andWatchPaths.
Localization
Known Issues
- Certain languages might exhibit clipped or misaligned layout. (51068688, 50983852)
- Certain languages might display unlocalized text. (47765173, 51196633)
Mac Catalyst
Known Issues
MPMediaPickerControllermight not display the contents of your library. (51785735)- AppKit and Mac Catalyst apps are currently view-only clients of PencilKit. (51146823)
- The
UIScreenclass’sisCapturedAPI isn’t currently supported. (48360589) - The
currentproperty onUIDeviceand the OS Product Name is currently returned as iOS rather than macOS, which can affect diagnostic logs generated by your system. (49792004) - Event handling in extension contexts may produce unexpected results, including failure to deliver trackpad pinch and zoom gestures. (50145462)
- When sending Mail attachments via MessageUI, each attachment might appear as two icons when viewed by the recipient. (50369995)
- Controls drawn with accent color incorrectly maintain their active color when the window is inactive. There is no need to work around this in your app. (50563638)
- When your Mac Catalyst app is launched directly into the background, it experiences all the state transitions of a regular app launch — such as
application(_:didFinishLaunchingWithOptions:)andapplicationDidBecomeActive(_:)— followed by state transitions to return to background state from there —applicationWillResignActive(_:)andapplicationDidEnterBackground(_:). This will soon be updated to match iOS, where your app will receive onlyapplicationDidFinishLaunching(_:), and only if it wasn’t already running. (50742219) - For Mac Catalyst apps to save to Photos Library, explicitly linking the Photos framework is required. (50781430)
- Opening a CloudKit share URL might not launch a Mac Catalyst app that’s present on the system. Additionally, the system might not take the user to the appropriate App Store page to download an app which isn’t present on the system. (50877241)
- Action and share extensions might exhibit visual anomalies. (51005363)
- All assets at 3x scale factor are currently ignored when compiling the asset catalog for Mac Catalyst apps. Because the search begins with the universal asset, assets for a specific memory or graphics class won’t be found. For example, if you provide an image and only give a 6GB and Metal 5v1 asset, it won’t be found at runtime. It’s recommended that you provide all images as vectors to allow generation of the correct scale factors, or at minimum provide 2x versions of the assets. If you’re classifying resources based on memory and graphics families then you should provide “Any Memory” and “Any Graphics”. (51033745)
- CallKit
CXActioninstances might return an error. (51074735) - When creating a Mac Catalyst app from your iPad app, Xcode automatically generates a unique Mac bundle identifier. If you have an existing Mac bundle identifier you’d prefer to use, you can do so by using manual signing in Xcode. (51076014)Follow these steps to configure your project, AppID, and provisioning profile:
- Sign in to Apple Developer, then select Certificates, Identifiers, and Profiles.
- In the Identifiers section, select your iOS app identifier to edit.
- Check the Mac Catalyst capability to enable it, then click the Configure button.
- Choose Use an existing macOS AppID and select the identifier you’d like to use from the popup menu. Click the Save button to finish editing your AppID.
- In the Profiles section, click the + button to create a new profile, select ‘macOS App Development’, and click Continue.
- Select your iOS AppID from the popup, click Continue, and complete the rest of the profile creation flow. When finished, click the Download button.
- In Xcode, select your project to view the Project Editor and select your app’s target. Then select the Build Settings tab.
- Set the Derive Mac Catalyst Product Bundle Identifier setting to No.
- Expand the Product Bundle Identifier build setting to view its configurations. Next to the Debug configuration, click the + button to add a conditional value.
- For the build setting condition, select Any macOS from the popup menu. Edit the value of the conditional build setting to match the macOS bundle identifier you want to use. Repeat this step for all configurations in your project.
- In the Signing & Capabilities tab, uncheck Automatically manage signing.
- For your macOS app, select Import Profile from the Provisioning Profile popup and then select the profile you downloaded earlier.
Resolved Issues
- In order to show a share sheet from a toolbar item using the
UIActivityViewController, create theNSToolbarItemusing theinit(itemIdentifier:)initializer and pass it aUIBarButtonItemconfigured as aUIBarButtonItem.SystemItem.action. There is no need to set thebarButtonItemproperty. (47292316) - The UIKit module now imports the newly added
NSToolbarandNSTouchBarheaders, NSToolbar+UIKitAdditions.h and NSTouchBar+UIKitAdditions.h. (50704322)
Known Issues
- If your Mac contains both macOS Mojave 10.14 and macOS 10.15 volumes, you might experience issues searching in Mail. (46611310)Workaround: While running macOS Mojave 10.14, open Terminal and execute the following command:
sudo touch /.metadata_never_index_unless_rootfsReboot into macOS 10.15, open Terminal and execute the following command:sudo touch /System/Volumes/Data/.metadata_never_index_unless_rootfsReboot into macOS Mojave 10.14, open Terminal and execute the following command:sudo mdutil -E /Depending on the size of your Mail database, it might take many hours to reindex all content.
Music
Resolved Issues
- Navigating using the back button works as expected. (51248128)
- You can scroll content on shelves. (51248128)
- Artwork changes now appear immediately; playlists have been added. (51201715)
Networking
New Features
NSURLRequest.CachePolicy.reloadRevalidatingCacheDataandNSURLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheDataAPIs are now available. (49660334)- All
URLSessionTaskinstances with a GET HTTP method which contain a body will now produce the errorNSURLErrorDataLengthExceedsMaximum. (46025234)
Known Issues
- The
urlSession(_:taskIsWaitingForConnectivity:)delegate callback might not function as expected. (54309264) - The
NWEthernetChannelAPI doesn’t currently support VLAN interfaces.NEPacketTunnelProviderwill see both tagged and untagged frames arriving on physical interfaces. Depending on the Ethernet driver, VLAN tags might be processed by hardware and thus stripped off the Ethernet frames thusNEPacketTunnelProviderwon’t see the VLAN tag. (51275655)
Deprecations
- Support for FTP and File URL schemes for Proxy Automatic Configuration (PAC) is removed. HTTP and HTTPS are the only supported URL schemes for PAC. This affects all PAC configurations including but not limited to configurations set using Settings, System Preferences, profiles, URLSession APIs such as
connectionProxyDictionary, andCFNetworkExecuteProxyAutoConfigurationURL(_:_:_:_:). (28578280) - SPDY support is removed from the
URLSessionandNSURLConnectionAPIs. Servers should use HTTP 2 or HTTP 1.1. (43391641) - The Network Kernel Extension API is now deprecated. (49284108)
- To enable NetBIOS, you can create or edit the
/etc/nsmb.conffile. If your system doesn’t already have an/etc/nsmb.conffile, use the following Terminal commands while logged in as an Administrator:echo "[default]" | sudo tee -a /etc/nsmb.conf echo "port445=both" | sudo tee -a /etc/nsmb.confTo disable NetBIOS, you can safely delete the/etc/nsmb.conffile.
Photos
New Features
- To improve the Photos upgrade experience, Photos is testing database upgrades using a clone of the Photo Library. This clone doesn’t include the content of each photo, but does include faces metadata and a thumbnail image of each person in your library. It also contains metadata such as the asset name and the geographic location of the photo. It is created at
~/Pictures/macOS 10.15 Pre-Upgrade Backup, and you can manually remove this backup at any time. The clone will be removed automatically before the final release of macOS 10.15. (51033690)
Podcasts
Known Issues
- Deleting podcasts using About This Mac > Storage > Manage doesn’t update what’s shown in the Podcasts app until it’s relaunched. (50354510)
Resolved Issues
- Setting “Automatically Download Episodes” to “Never” now takes effect. (50960777)
Quartz Composer
Deprecations
- Starting in macOS 10.15, the Quartz Composer framework is deprecated and remains present for compatibility purposes. Transition to frameworks such as Core Image, SceneKit, or Metal. (50911608)
Screen Time
Known Issues
- Screen Time > Content & Privacy > Content > Web Content > Allowed Websites Only isn’t currently enforced in macOS 10.15 beta. (50462899)
Scripting Language Runtimes
Deprecations
- Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)
- Use of Python 2.7 isn’t recommended as this version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run
python3from within Terminal. (51097165)
Spotlight
Resolved Issues
- Mail messages now display previews. (35678035)
SwiftUI
New Features
- You can now create a
Colorfrom aUIColororNSColor. (49833933) NSManagedObjectnow conforms toObservableObject. The new@FetchRequestproperty wrapper can drive views from the results of a fetch request, andmanagedObjectContextis now included in the environment. (50280673)- Gesture modifiers are renamed for consistency. For example,
tapAction(count:_:)is renamed onTapGesture(count:perform:), andlongPressAction(minimumDuration:maximumDistance:_:pressing:)is renamed onLongPressGesture(minimumDuration:maximumDistance:pressing:perform:). (50395282) Textnow has a default line limit ofnilso that it wraps by default. (51147116)ContentSizeCategoryand several other enumerations are nowCaseIterable. (51168712)SegmentedControlis now a style ofPicker. (51769046)BindableObjectis replaced by theObservableObjectprotocol from the Combine framework. (50800624)You can manually conform toObservableObjectby defining anobjectWillChangepublisher that emits before the object changes. However, by default,ObservableObjectautomatically synthesizesobjectWillChangeand emits before any@Publishedproperties change.// RoomStore.swift import Foundation class RoomStore: ObservableObject { @Published var rooms: [Room] = [] } struct Room: Identifiable { var id: UUID var name: String var capacity: Int var hasVideo: Bool } // ContentView.swift import SwiftUI struct ContentView: View { @ObservedObject var store: RoomStore var body: some View { NavigationView { List(store.rooms) { room in RoomCell(room: room) } .navigationBarTitle("Rooms") } } }@ObjectBindingis replaced by@ObservedObject.- The
Identifiableprotocol is now part of the Swift standard library. As a result, your model files no longer need to import the SwiftUI framework. (SE-0261) - The
EnvironmentValuesstructure has four new properties for reading accessibility values from the environment:accessibilityDifferentiateWithoutColor,accessibilityReduceTransparency,accessibilityReduceMotion, andaccessibilityInvertColors. (51712481) - The
color(_:)text modifier is renamed foregroundColor(_:) for consistency with the more generalforegroundColor(_:)view modifier. (50391847) - The
BindableObjectprotocol’s requirement is nowwillChangeinstead ofdidChange, and should now be sent before the object changes rather than after it changes. This change allows for improved coalescing of change notifications. (51580731) - The
RangeReplaceableCollectionprotocol is extended to include aremove(atOffsets:)method and theMutableCollectionprotocol is extended to include amove(fromOffsets:toOffset:)method. Each new method takesIndexSetinstances that you use with the onMove(perform:) and onDelete(perform:) modifiers onForEachviews. (51991601) - Added improved presentation modifiers:
sheet(isPresented:onDismiss:content:),actionSheet(isPresented:content:), andalert(isPresented:content:)— along withisPresentedin the environment — replace the previouspresentation(_:),Sheet,Modal, andPresentationLinktypes. (52075730) - Updated the APIs for creating animations. The
basicanimations are now named after the curve type — such aslinearandeaseInOut. The interpolation-basedspring(mass:stiffness:damping:initialVelocity:)animation is nowinterpolatingSpring(mass:stiffness:damping:initialVelocity:), andfluidSpring(stiffness:dampingFraction:blendDuration:timestep:idleThreshold:)is nowspring(response:dampingFraction:blendDuration:)orinteractiveSpring(response:dampingFraction:blendDuration:), depending on whether or not the animation is driven interactively. (50280375) - Added an initializer for creating a
Fontfrom aCTFont. (51849885) - You can style a
NavigationViewusing two new style properties:StackNavigationViewStyleandDoubleColumnNavigationViewStyle. By default, navigation views on iPhone and Apple TV visually reflect a navigation stack, while on iPad and Mac, a split-view styled navigation view displays. (51636729)When using theDoubleColumnNavigationViewStylestyle, you can provide two views when creating a navigation view — the first is the master and the second is the detail. For example:NavigationView { MyMasterView() MyDetailView() } .navigationViewStyle(DoubleColumnNavigationViewStyle())
Known Issues
- Using Xcode 11 beta 4 with macOS Catalina beta 5 prevents previews from working. Update to Xcode 11 beta 5 to use previews. (52082331)
Imageinstances don’t use resizing information configured in asset catalogs. Configure the size of an image using theresizable(capInsets:resizingMode:)modifier instead. (49114577)
Resolved Issues
- Using a
ForEachview with a complex expression in its closure no longer results in compiler errors. (53325810) - The
Pathstructure no longer causes your app to crash if you’re using the SDKs included in Xcode 11 beta 6 and later. (53523206)
Deprecations
- The
Commandstructure is replaced by passing selectors directly. (53187891) NavigationDestinationLinkandDynamicNavigationDestinationLinkare deprecated; their functionality is now included inNavigationLink. (50630794)- The
Lengthtype is replaced byCGFloat. (50654095) TabbedViewis now namedTabView. (51012120)HAlignmentandVAlignmentare now deprecated, use the more flexibleHorizontalAlignmentorVerticalAlignmenttypes instead and useTextAlignmentfor text. (51190531)- The
SelectionManagerprotocol is removed, useOptionalandSetinstances directly for selection. (51557694) - The
isPresentedenvironment value is deprecated and replaced with the more generalpresentationModevalue. (51641238) - The
StaticMemberprotocol is deprecated. Use protocol-conforming types directly instead. For example, use an instance ofWheelPickerStyledirectly rather than thewheelstatic member.(52911961) - Complex overloads for the
background(_:alignment:)andborder(_:width:)modifiers are deprecated. Use shapes in abackground(_:alignment:)oroverlay(_:alignment:)to draw these instead. (53067530) - SwiftUI APIs deprecated in previous betas are now removed. (52587863)
- The
identified(by:)method on theCollectionprotocol is deprecated in favor of dedicatedinit(_:id:selection:rowContent:)andinit(_:id:content:)initializers. (52976883, 52029393)The retroactive conformance ofIntto the Identifiable protocol is removed. Change any code that relies on this conformance to pass \.self to the id parameter of the relevant initializer. Constant ranges of Int continue to be accepted:List(0..<5) { Text("Rooms") }However, you shouldn’t pass a range that changes at runtime. If you use a variable that changes at runtime to define the range, the list displays views according to the initial range and ignores any subsequent updates to the range. - Several extensions to the
Bindingstructure are removed. (51624798)If you have code such as the following:struct LandmarkList: View { var landmark: [Landmark] @Binding var favorites: Set<Landmark> var body: some View { List(landmarks) { landmark in Toggle(landmark.name, isOn: self.$favorites.contains(landmarkID)) } } }Define the following subscript on the Set structure:extension Set { subscript(member: Element) -> Bool { get { contains(member) } set { if newValue { insert(member) } else { remove(member) } } } }Then, changeself.$favorites.contains(landmarkID)toself.$favorites[landmarkID]. - The
Bindingstructure’s conditional conformance to theCollectionprotocol is removed. (51624798)If you have code such as the following:struct LandmarkList: View { @Binding var landmark: [Landmark] var body: some View { List(landmarks) { landmark in Toggle(landmark.value.name, isOn: landmark[\.isFavorite]) } } }Define the following collection type:struct IndexedCollection<Base: RandomAccessCollection>: RandomAccessCollection { typealias Index = Base.Index typealias Element = (index: Index, element: Base.Element) let base: Base var startIndex: Index { base.startIndex } var endIndex: Index { base.startIndex } func index(after i: Index) -> Index { base.index(after: i) } func index(before i: Index) -> Index { base.index(before: i) } func index(_ i: Index, offsetBy distance: Int) -> Index { base.index(i, offsetBy: distance) } subscript(position: Index) -> Element { (index: position, element: base[position]) } } extension RandomAccessCollection { func indexed() -> IndexedCollection<Self> { IndexedCollection(base: self) } }Then, update your code to:struct LandmarkList: View { @Binding var landmarks: [Landmark] var body: some View { List(landmarks.indexed(), id: \.1.id) { (index, landmark) in Toggle(landmark.name, isOn: self.$landmarks[index].isFavorite) } } } - The
relativeWidth(_:),relativeHeight(_:), andrelativeSize(width:height:)modifiers are deprecated. Use other modifiers likeframe(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)instead. (51494692)
Xcode
Deprecations
- Command line tool support for Subversion — including
svn,git-svn, and related commands — is no longer provided by Xcode. If you need Subversion or related command line tools, install the Command Line Tools package by runningxcode-select --install. (50266910)

