cupertino-docs/docs/xcode-release-notes/documentation_xcode-release-notes_xcode-11_2-release-notes.json

74 lines
12 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"abstract" : "Update your apps to use new features, and test your apps against API changes.",
"codeExamples" : [
],
"contentHash" : "a4cd5b11392cd780bf45ebd1d8edd4980d2de648a828456ce77adb0a6ceec4b8",
"crawledAt" : "2025-12-02T17:09:12Z",
"id" : "792B2470-E484-48CE-A4DF-50C52326A070",
"kind" : "article",
"language" : "swift",
"overview" : "## Overview\n\nXcode 11.2 includes SDKs for iOS 13.2, macOS Catalina 10.15, watchOS 6.1, and tvOS 13.2. Xcode 11.2 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.2 requires a Mac running macOS Mojave 10.14.4 or later.\n\n### Devices\n\n#### Resolved Issues\n\n### Interface Builder\n\n#### New Features\n\n#### Known Issues\n\n#### Resolved Issues\n\n### Localization\n\n#### Resolved Issues\n\n### Previews\n\n#### Resolved Issues\n\n### Simulator\n\n#### New Features\n\n#### Known Issues\n\n#### Resolved Issues\n\n### Swift\n\n#### Known Issues\n\n### Swift Compiler\n\n#### New Features\n\n#### Resolved Issues\n\n### Swift Packages\n\n#### Known Issues\n\n#### Resolved Issues\n\n### SwiftUI\n\n#### Resolved Issues\n\n### watchOS\n\n#### Known Issues\n\n#### Resolved Issues",
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_2-release-notes\ncrawled: 2025-12-02T17:09:12Z\n---\n\n# Xcode 11.2 Release Notes\n\n**Article**\n\nUpdate your apps to use new features, and test your apps against API changes.\n\n## Overview\n\nXcode 11.2 includes SDKs for iOS 13.2, macOS Catalina 10.15, watchOS 6.1, and tvOS 13.2. Xcode 11.2 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11.2 requires a Mac running macOS Mojave 10.14.4 or later.\n\n\n\n\n\n### Devices\n\n#### Resolved Issues\n\n- Errors during iOS app installation are now surfaced as installation failures rather than reporting that “Install claimed to have succeeded, but the application could not be found.” (54367725)\n\n### Interface Builder\n\n#### New Features\n\n- Added support for configuring [doc:\/\/com.apple.documentation\/documentation\/WatchKit\/WKInterfaceAuthorizationAppleIDButton] styles. (53251536)\n\n#### Known Issues\n\n- Setting the Selected Segment Tint Color of a segmented control in Interface Builder to a named color will cause a failure when the view is loaded on iOS 12 and earlier. (55254963)\n\n**Workaround**: Set the segmented controls [doc:\/\/com.apple.documentation\/documentation\/UIKit\/UISegmentedControl\/selectedSegmentTintColor] in an [doc:\/\/com.apple.documentation\/documentation\/ObjectiveC\/NSObject-swift.class\/awakeFromNib()] method.\n\n#### Resolved Issues\n\n- Fixed an issue with [doc:\/\/com.apple.documentation\/documentation\/UIKit\/UITabBarController] where decoding an instance from a storyboard would create extra views at the left end of the screen. If you worked around this issue on Xcode 11.0 or 11.1 by creating a subclass of [doc:\/\/com.apple.documentation\/documentation\/UIKit\/UITabBarController] and hiding extra views in the initializer you can remove the workaround. (55310448)\n- Fixed a crash that occurred in iOS\/tvOS projects when reselecting the currently selected color in a user-defined runtime attribute. (55464140)\n- The host systems appearance no longer affects which fallback color is archived for an adaptive asset catalog color. (55570108)\n\n### Localization\n\n#### Resolved Issues\n\n- Fixed a crash when importing a localization with `xcodebuild` into a project referencing a Swift package. (55636751)\n\n### Previews\n\n#### Resolved Issues\n\n- Xcode Previews now support using static variables in inner structs. (45235180)\n- Xcode Previews now correctly resolve build settings that are relative to your projects `SRCROOT`. (51569011)\n- Fixed a crash in Xcode Previews when rendering macOS views that had a zero width or height. (51952905)\n- Xcode Previews now passes `BUILT_PRODUCTS_DIR` correctly as a `DYLD_FRAMEWORK_PATH` when rendering previews to allow you to reference and resolve built frameworks and other products. (53967108)\n- Functions tagged with `@ViewBuilder` now preview correctly in Xcode Previews. (54433866)\n- Xcode Previews now correctly support structs, functions, and other types marked with `@available`. (54568910)\n- Fixed an issue where some SwiftUI tutorials failed to build or preview with Xcode Previews. (54732993)\n- Fixed a crash in the SwiftUI inspectors when inspecting some [doc:\/\/com.apple.documentation\/documentation\/SwiftUI\/Color] types. (55129285)\n\n### Simulator\n\n#### New Features\n\n- simctl video recording now produces smaller video files, supports HEIC compression, and takes advantage of hardware encoding support where available. In addition, the ability to record video on iOS 13, tvOS 13, and watchOS 6 devices has been restored. (50625716, 54409532, 55207068).\n\n\n- Simulator now has a menu item and keyboard shortcut to bring up the app switcher in iOS simulators. (54793361)\n- In [doc:\/\/com.apple.documentation\/documentation\/AVFoundation\/AVAssetExportSession], the [doc:\/\/com.apple.documentation\/documentation\/AVFoundation\/AVAssetExportSession\/allExportPresets()] type method now returns presets in iPhone 11, iPhone 11 Pro, and iPhone 11 Pro Max simulators. (55659811)\n- `xcrun simctl list --json` now includes more information about devices and runtimes, including the device type used by each device. (55671833)\n\n#### Known Issues\n\n- Third party “endpoint security” software may cause slow simulators, system freezes, or prevent debug processes from running in simulators reliably. This sometimes manifests as `debugserver` disconnections or simulator applications receiving a `SIGKILL` signal. (55853555)\n\n**Workaround**: Uninstall the third party software.\n\n#### Resolved Issues\n\n- Fixed a crash loop that could occur on macOS 10.15 Catalina when using iCloud Drive in simulated devices running older versions of iOS. (51392951, 54282967, 54818084)\n- Fixed an issue causing simulated devices running iOS 13 to display a black window instead of enabling an external display or a CarPlay display. (53966664)\n- Resolved an issue that prevented apps from installing on iOS 8.4 simulators. (55646411)\n\n\n- Simulators no longer shut down when a process inside the simulator misuses Metal APIs or attempts to execute an invalid shader. (55725833)\n\n### Swift\n\n#### Known Issues\n\n- If a module is built with `BUILD_LIBRARIES_FOR_DISTRIBUTION` and contains a public type with the same name as the module itself, clients will fail to import the module. (19481048) (FB5863238)\n\n**Workaround**: Rename either the type or the module to remove the conflict.\n\n### Swift Compiler\n\n#### New Features\n\n- Swift function builders use a new type checking algorithm that improves compile times and eliminates many instances of “unable to type-check this expression in reasonable time” errors for SwiftUI-heavy code. (50150793)\n\n#### Resolved Issues\n\n- The enum `NEHotspotConfigurationError` in the [doc:\/\/com.apple.documentation\/documentation\/NetworkExtension] framework changed back to `NS_ENUM` (from `NS_ERROR_ENUM`), as it was before Xcode 11.0. (54134493)\n- Fixed a runtime crash that would occur when running watch apps statically linked with Swift libraries. (55082864)\n\n### Swift Packages\n\n#### Known Issues\n\n- If an iOS, tvOS, or watchOS app uses a Swift Package that builds a dynamic library, it cannot be submitted to the App Store. (55564324)\n\n**Workaround**: Modify the Package manifest to build a static library.\n\n#### Resolved Issues\n\n- The scheme autogenerated for a Swift package will be automatically updated when the package adds or removes targets. (50586754, 54777895)\n\n### SwiftUI\n\n#### Resolved Issues\n\n- All downloadable project files from the SwiftUI tutorials inside Xcodes documentation viewer now download. (55575465)\n\n### watchOS\n\n#### Known Issues\n\n- Launching the watch App on an iOS simulator will cause `NTKFaceSnapshotServices` to continuously crash in the background. The watch app should function as normal. (56349123)\n\n**Workaround**: To stop crashes, quit the simulator or erase content and settings.\n\n#### Resolved Issues\n\n- watchOS applications may be built with the watchOS 6 SDK and a deployment target of watchOS 5.3. (55360395)\n\n## Xcode 11\n\n- **Xcode 11.7 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.6 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.5 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.4.1 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.4 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.3.1 Release Notes**: Update your apps to use new features, and test your apps against API changes\n- **Xcode 11.3 Release Notes**: Update your apps to use new features, and test your apps against API changes\n- **Xcode 11.2.1 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11.1 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n- **Xcode 11 Release Notes**: Update your apps to use new features, and test your apps against API changes.\n\n",
"sections" : [
{
"content" : "",
"items" : [
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.7 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_7-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.6 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_6-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.5 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_5-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.4.1 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_4_1-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.4 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_4-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes",
"name" : "Xcode 11.3.1 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_3_1-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes",
"name" : "Xcode 11.3 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_3-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.2.1 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_2_1-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11.1 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_1-release-notes"
},
{
"description" : "Update your apps to use new features, and test your apps against API changes.",
"name" : "Xcode 11 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11-release-notes"
}
],
"title" : "Xcode 11"
}
],
"source" : "appleJSON",
"title" : "Xcode 11.2 Release Notes",
"url" : "https:\/\/developer.apple.com\/documentation\/Xcode-Release-Notes\/xcode-11_2-release-notes"
}