macOS Monterey 12.0.1 Release Notes
Update your apps to use new features, and test your apps against API changes.
Overview
The macOS 12 SDK provides support to develop apps for Mac computers running macOS Monterey 12.0.1. The SDK comes bundled with Xcode 13.1, available from the Mac App Store. For information on the compatibility requirements for Xcode 13.1, see Xcode 13.1 Release Notes.
AppKit
Displays Preferences
Known Issues
There might be issues with wakeup when dual monitors are connected. (79839446)
Workaround: Connect the power adapter that came with the Mac.
CoreData
Known Issues
NSExpressionimmediately forbids certain operations that have significant side effects, like creating and destroying objects. Additionally, casting string class names into Class objects withNSConstantValueExpressionis deprecated. (84017178)Workaround: Pass temporary objects to
NSExpressionin the context parameter of expressionValue(with:context:), or withNSPredicateas thesubstitutionVariablesparameter of evaluate(with:substitutionVariables:). You can create a derived predicate with all the substitution variables replaced (bound), using withSubstitutionVariables(_:) on an existingNSPredicateso that code using the object can continue to use a simpleevaluate(with object: Any?)invocation.
iCloud
Known Issues
Legacy Contacts has been removed from macOS Monterey 12 beta 5 and will return in a future release. (81292890)
Custom Email Domain addresses that are associated with a separate iTunes account can’t be configured. (82358431)
Mac Catalyst
Known Issues
Setting the title color of a UIButton doesn’t work regardless of whether you use baseForegroundColor or titleColor(for:). (76566253)
Maps
Deprecations
MKPinAnnotationView and MapPin are deprecated in this beta. (78536295)
Known Issues
Rounded building corners might disappear. (80468151)
Networking
Deprecations
Support for cleartext HTTP URL schemes for Proxy Automatic Configuration (PAC) is now deprecated. Use only HTTPS URL schemes for PAC. This affects all PAC configurations, including, but not limited to, configurations set via Settings, System Preferences, profiles, and
URLSessionAPIs such as connectionProxyDictionary and CFNetworkExecuteProxyAutoConfigurationURL(_:_:_:_:). If you configure a cleartext HTTP PAC URL, the system may upgrade it to HTTPS during PAC file loads. Web Proxy Auto-Discovery (WPAD) Protocol via DNS isn’t affected. Dynamic Host Configuration Protocol (DHCP) Option 252 WPAD may attempt to upgrade cleartext HTTP URLs to HTTPS during PAC file loads. (61981845)
Python
Deprecations
If an app uses Python 2.7, macOS now triggers an alert indicating that the developer must update the app to ensure it will work in future versions of macOS. (80221011)
RealityKit
Known Issues
The
StreamingInputinit on PhotogrammetrySession isn’t supported. (78838906)
SharePlay
Deprecations
SharePlay development in macOS Monterey beta 6 and upcoming beta releases requires the installation of an updated SharePlay Development Profile. This profile enables successful creation and reception of GroupSessions via the Group Activities API in iOS 15, iPadOS 15, and tvOS 15 beta 7, as well as macOS Monterey beta 6. (81900143)
Swift
Known Issues
Applications linking to RealityKit with the iOS 15 or macOS 12 SDKs will fail to launch on a previous OS. (79584511)
Workaround: Add
OTHER_LD_FLAGS = -weak_framework RealityFoundationto your Xcode Project settings to allow running RealityKit apps on an older OS.
SwiftUI
Deprecations
controlProminenceis deprecated. Use the new.borderedProminentButtonStyle instead. (78908460)
Fn(Function) shortcut modifier is deprecated and reserved for system usage. (78627099)