46

Xcode 13.2 Beta Release Notes

 2 years ago
source link: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Overview

Xcode 13.2 beta includes SDKs for iOS 15.2, iPadOS 15.2, tvOS 15.2, watchOS 8.3, and macOS Monterey 12.1. The Xcode 13.2 beta release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 13.2 beta requires a Mac running macOS 11.3 or later.

General

New Features

  • Xcode 13.2 beta includes support for app projects created with Swift Playgrounds 4. (84436977)

Create ML

Known Issues

  • In the CreateML App, selecting data and clicking train doesn’t trigger the expected actions. (84309240)

Devices

Resolved Issues

  • Resolved an issue where an iOS device could become unavailable for development when a watch paired to it could not be prepared for development. (82111305) (FB9533359)

Interface Builder

Resolved Issues

  • Fixed an issue where Xcode would crash after you enabled a bar appearance in the inspector and then undid the action. (83695512)

Localization

Resolved Issues

  • Fixed an issue where the compiler didn’t extract some strings when exporting for localization. (82144823) (FB9537440)

Metal

New Features

  • TextureConverter 1.1 adds support for decompressing textures during build time. You can also use TextureConverter as a stand-alone tool to decompress textures outside the build process. To use, set the file path for the decompressed file with the --decompressed option. (82632250)

  • TextureConverter 1.1 adds support for error metrics. Set the --metrics option to calculate at compression time, or use --compare to calculate the error between two texture files. (82632360)

  • TextureConverter 1.1 adds support for skipping compression when the output texture is up to date. Use the --check_date option to compare the modified date and time of the input and output textures. Use the --check_details option to compare the version of TextureConverter used for compression and the compression options used (KTX files only). (83534773)

Organizer

New Features

  • Added support for smart insights notifications. Receive notifications when monitoring power and performance regressions in your app. Click the bell icon in the top-right of the Xcode Organizer’s Regressions view to enable notifications. (66497478)

Simulator

Resolved Issues

  • Resolved an issue that prevents iPhone mini simulators from launching in Virtual Machines that don’t support Metal pass-through. (83663966) (FB9663296)

    Note: This fix may increase CPU use and impact overall performance when running on some hardware or in a virtual machine. If necessary you can enable higher performance by reducing quality using the following:

    
    defaults write com.apple.CoreSimulator FramebufferServerUseLowQualityScaling 1

    This mode isn’t suitable for taking screenshots, recording videos, or comparing images.

Swift

New Features

  • You can now use Swift Concurrency in applications that deploy to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 or newer. This support includes async/await, actors, global actors, structured concurrency, and the task APIs. (70738378)

Resolved Issues

  • Fixed an issue that prevented Swift libraries depending on Combine from building for targets including armv7 and i386 architectures. (82183186, 82189214)

  • Fixed an issue where availability checks in iPhone and iPad apps running on a Mac with Apple silicon always returned true, which caused iOS apps running in macOS Big Sur to see iOS 15 APIs as available and crash when trying to use those APIs. These availability checks now return the correct result for apps compiled with Xcode 13.2. (83378814)

Known Issues

  • You can’t use TestFlight to distribute apps that use Swift Concurrency and deploy to operating systems prior to iOS 15, macOS 12, tvOS 15, and watchOS 8. (84645973)

  • Mac Catalyst apps that use Swift Concurrency may fail to launch on an operating system prior to macOS Monterey. (84393581)

    Workaround: Modify the file Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/swift/libswift_Concurrency.tbd in your Xcode installation and add the string $ld$previous$@rpath/libswift_Concurrency.dylib$$6$1.0$15.0$ to the end of the symbols array, then rebuild your app.

  • watchOS apps that use Swift Concurrency and deploy prior to watchOS 8 may fail to build for 64-bit watchOS simulator targets with a link error. (84394162)

    Workaround: In the build settings for your watchOS app extension, add -lswiftCompatibilityConcurrency to “Other Linker Flags.”

Swift Packages

Resolved Issues

  • Fixed an issue where creating a new file in a Swift Package wouldn’t offer file customization options in the Template assistant. (65109424) (FB7854693)

Templates

Resolved Issues

  • The SwiftUI Core Data templates now set automaticallyMergesChangesFromParent to true on their view context, so changes are visible in the view context as they occur, including when you use Core Data with CloudKit. (73022349) (FB8967865)

Xcode Cloud

Known Issues

  • When onboarding new products to Xcode Cloud, Xcode doesn’t include a Start Condition, causing the onboarding to fail. (84641030)

    Workaround: During onboarding, manually add a Start Condition to the default workflow.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK