macOS 10.15 Beta

本文翻譯自: macOS Catalina 10.15 Beta Release Notes
https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_beta_release_notes?language=objc

很多內容個人開發中沒有涉及,難免錯漏,歡迎指正。




General

New Features

  • Installing third party kernel extensions now requires that you restart your Mac before they’re permitted to load. (50340461)

    安裝第三方內核插件需要重啓電腦

Known Issues

  • Migration Assistant is currently unable to correctly migrate data from a Mac running macOS 10.15 to another Mac running macOS 10.15. (50894629)

    遷移助理 Migration Assistant 無法正確在 10.15 的Mac 之間遷移

  • WarningYour Secure Token might be lost if FileVault is enabled on a non-APFS formatted volume while upgrading to macOS 10.15. You might be able to work around this by disabling FileVault before upgrading to macOS 10.15, then reenabling FileVault once the upgrade has completed. (51091312)

  • During installation of macOS 10.15 you might be prompted to enter your administrator password multiple times to allow installation to proceed. (51206649)

    安裝 10.15 可能需要多次輸入管理員密碼

  • macOS 10.15 cannot be installed onto an encrypted volume unless it is already in the APFS format. (51127640)

    macOS 10.15 無法安裝進加密的卷宗,除非它已經是 APFS 格式。

  • During upgrades to macOS 10.15, files and folders stored at the root-level of a volume are moved aside to /Library/SystemMigration/History/Migration-UUID/QuarantineRoot/. (45378791)

    在升級到 macOS 10.15 過程中,以 root 級別儲存的 文件和文件夾被移動到 /Library/SystemMigration/History/Migration-UUID/QuarantineRoot/

  • If your Mac currently has macOS 10.10 or earlier installed, you must first upgrade to macOS Mojave 10.14 before upgrading to macOS 10.15. (50181382)

    如果你的電腦版本是 10.10 及以前,需要升級到 10.14,才能升級到 10.15;
    如果當前系統版本是 10.9,升級到 10.15 的過程中,可能會多次中斷退出。

  • The Install macOS 10.15 app might quit unexpectedly when run on macOS 10.9. (50868081)

    在運行 10.9 系統的 macOS 上安裝 10.15 可能會意外退出。

  • On Macs with the Apple T2 Security Chip, if you’ve used Startup Security Utility to lower Secure Boot to Medium Security or No Security, you’re currently unable to modify Secure Boot settings after upgrading to macOS 10.15. (51043128)

    Workaround: Set Secure Boot to Full Security before upgrading to macOS 10.15. Alternatively, disabling and reenabling FileVault might resolve the issue.

    在帶 有蘋果 T2安全芯片的 Mac 上,如果你使用 啓動加密工具 來降低加密引導到 中級加密狀態或不加密狀態,在升級到 10.15 後可能無法調整加密引導。
    建議在升級到 10.15後,將 加密引導調整到 全加密 Full Security。否則,取消或重啓 FileVault 可以解決這個問題。

  • Some apps might not automatically relaunch after installation or updating and must be manually relaunched. (51228752)

Deprecations

  • macOS frameworks are now thinned for the x86-64 architecture. Apps that execute i386 code now fail with the EBADARCH error code. The remaining stub frameworks are nonfunctional and exist only for compatibility purposes. (51236070)

    macOS 框架精簡爲只支持 x86-64 。 使用 i386 的應用,會報錯 EBADARCH
    剩下的相關框架,將無效,或者只做兼容性的目的。


Accessibility

Known Issues

  • On Macs with the Apple T2 Security Chip, VoiceOver is currently unavailable while in macOS Recovery. (49870874)

    在使用 T2 Security Chip 的電腦上,macOS 回覆是,VoiceOver 無法使用。


Apple CryptoKit

Known Issues

當使用SecureEnclave API 來獲取鑰匙的訪問權限,用戶可能不會授權。這將導致一些列的獲取權限的操作失敗。

When using the SecureEnclave API with access control set on keys, users might not be prompted to authenticate. This might cause subsequent operations requiring authentication to fail. (51279188)


Apple File System (APFS)

Known Issues

  • Important

    融合卷宗 不能 有卷複製操作,無論是作爲源還是目標。

    Volume replication shouldn’t be used with Fusion volumes, either as a source or destination. (51114645)


Apple TV

Known Issues

  • Support for signing in with an account from a different country is currently unavailable. (51240948)

    不支持在不同國家登陸賬戶。

  • Navigating using the back button might produce unexpected results. (51207403)

    使用返回按鈕導航,可能會產生意想不到的結果。

  • Support for Dolby Atmos content and downloads is currently unavailable. (51050344)

    目前不支持 杜比全景聲(Dolby Atmos )內容的下載。

  • The option to show only offline downloads is currently unavailable. (50997542)

    目前沒有 只展示離線下載的功能。

  • Apple TV might not remember the previously selected tab when it’s relaunched. (50922604)

    Apple TV 重啓後,可能不記得上次選中的 tab。


Audio

New Features

  • You can now enable voice processing mode on AVAudioEngine. (50906329)

    你可以通過 AVAudioEngine 使用音頻處理模式。

  • You can use new AVAudioNode types to wrap a user-defined block for sending or receiving data in real-time.

    你可以使用 AVAudioNode類型來包裝一個用戶定義的 block 來實時接收或發送數據。

  • A new method is available for an AVAudioEngine based app to retrieve a list of all nodes attached to an AVAudioEngine instance.

    對於基於 AVAudioEngine 的應用,有一個新的方法來獲取 AVAudioEngine 單例的所有節點。

  • A new rendering mode in AVAudioEnvironmentNode selects the best spatial audio rendering algorithm automatically based on the output device.

    AVAudioEnvironmentNode 中一個新的渲染模式, 自動選擇基於外設的最佳的 spatial audio 渲染算法。

  • A new AVAudioSession property allows system sounds and haptics to play while the session is actively using audio input.

    一個新的 AVAudioSession 屬性允許 系統聲音和觸覺在會話正在音頻輸入時運行。

  • A new property, AVAudioSessionPromptStyle informs apps which style of voice prompt they should play based on other audio activity in the system.

    一個新的屬性:AVAudioSessionPromptStyle 告知應用 哪種聲音模式 他們將會在系統其他音頻活動上採用。

  • The AVAudioSessionRouteSharingPolicy enumeration is extended to allow apps to specify route sharing policies so their audio and video is routed to the same location as AirPlay.

    AVAudioSessionRouteSharingPolicy 枚舉被擴充,可以讓應用明確路由共享策略,這樣他們的音視頻可以像路由到 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 AVAudioEngine for spatial audio functionality.

    OpenAL 框架過期,但爲了兼容性而保留。使用 spatial audio 需要遷移到使用 AVAudioEngine

  • AUGraph is deprecated in favor of AVAudioEngine.

    爲了支持AVAudioEngineAUGraph過期。

  • 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.

    基於 Carbon 組件的音頻單元過期,後續將會被移除。

  • Legacy Core Audio HAL audio hardware plug-ins are no longer supported. Use Audio Server plug-ins for audio drivers.

    遺留的 Core Audio 虛擬音頻硬件將不再支持。使用 音頻服務插件來製作音頻驅動。


AVFoundation

New Features

  • 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)

    AVFoundation 支持使用 HEVC 的 alpha 通道來視頻編碼。使用這種方式編碼的視頻將被 AVFoundation 的 API 和 網頁中的Safari 廣泛支持這種格式的技術細節可以操作規範說明中找到。

Deprecations

  • The previously deprecated 32-bit QuickTime framework is no longer available in macOS 10.15.

    從前 32 位的 QuickTime 框架在 10.15 中不在繼續有用。

  • The symbols for QTKit, which relied on the QuickTime framework, are still present but the classes are non-functional.

    依賴 QuickTime 的 QTKit 符號將保留,但是類都會無用。


Books

Known Issues

  • Books and PDFs imported into the Books app might not upload to iCloud Drive. (47124224)

    導入到 Books 應用的書籍和 pdf 將不會上傳到 iCloud 雲盤。


Camera

Known Issues

  • Apps using Picture Taker must specify the NSCameraUsageDescription key to access the FaceTime camera. (47916725)

    應用如果需要訪問 FaceTime 攝像頭,必須定義 NSCameraUsageDescription 鍵。


Core Image

New Features

  • The filterWithImageURL:options: and filterWithImageData:options: initializers no longer support RAW decoder versions earlier than 6. Version 6 and later remain supported. (50911303)

    filterWithImageURL:options:and filterWithImageData:options: 初始化不再支持 6 以前的原始解碼版本。6 和後續的版本保持支持。

  • Added new APIs for instantiating and modifying the built-in Core Image filters.

    添加新的 API 舉例和修飾 內置 Core Image 濾鏡。

  • The CICoreMLModel filter is enhanced to support models with an input or output of type MLFeatureTypeMultiArray.

    CICoreMLModel 濾鏡被增強來支持 MLFeatureTypeMultiArray類型的輸入輸出模型。

  • Metal CIKernel instances now support arguments with arbitrarily structured data.

    Metal 的 CIKernel實例支持任意結構數據的參數。

  • Metal CIKernel instances now support returning a group of two by two pixels.

    Metal 的 CIKernel實例支持返回兩個像素組成的組。

  • The integer values of CIFormat symbols, such as kCIFormatARGB8, 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.

    kCIFormatARGB8CIFormat 符號的整型數值,被改爲一組跨平臺的一致的新的數據。爲了向後兼容,從前的數據保留。但是,你需要避免特殊數值的依賴。


Device Management

Known Issues

  • Sending a Volume Purchase Program download request to a client from a Mobile Device Management server might cause an authorization dialog to appear on the client. (49376544)

    從移動設備管理服務器 向 客戶端下發 批量採購計劃下載 可能會在客戶端展示授權彈窗。

  • You might be unable to log in while creating a mobile account on a server with Mobile Device Management Bootstrap Token support. (50912641)

    在移動設備管理知道令牌的支持下創建移動賬戶時,你可能無法登陸。

  • After installing a Device Profile with PrintMACAddress=true, the user’s MAC address might not print as expected. (51003427)

    使用 PrintMACAddress=true 安裝設備描述文件後,用戶的mac 地址可能不會被正確打印。


DriverKit

Known Issues

  • The Filter Packet network extension type and NWEthernetChannel API don’t currently work with network interface drivers implemented using DriverKit. (48709552)

    Filter Packet 網絡拓展類型,和 NWEthernetChannel API 目前不運行在使用 DriverKit 的網絡接口驅動。

  • If a user space driver quits unexpectedly or you restart your Mac, you might need to unplug and reattach the accessory cable to enumerate the driver. (50042397)

    如果用戶控件的驅動以外退出,或者你重啓電腦,你可能需要 卸載驅動 並重新加載附屬接口來列舉驅動。


EndpointSecurity

Known Issues

  • The exec and open events are cached, however the cache entries aren’t invalidated when the file is manipulated. exec events are cached based on the executable and openevents are cached as a product of the executable and the target file being opened. (45497117)

    execopen 事件被緩存,然而文件操作時,緩存入口不可用。exec 事件基於可執行性而緩存, open事件緩存爲一個可執行的或作爲目標文件被打開的產品,

  • The cache flag for es_respond_auth_result and es_respond_flags_result is ignored. (49071387)

    es_respond_auth_result and es_respond_flags_result 的緩存標誌(cache)被忽略。

  • EndpointSecurity system extensions don’t have access to early boot events. (49487645)

    終端加密系統驅動無法訪問早起的引導事件。

  • The original_ppid field of es_process_t isn’t currently set and always returns -1. (50746916)

    es_process_toriginal_ppid 目前沒有設置,並總返回 -1.

Deprecations

  • The kauth API will be removed in a future release. (50419013)

    kauth API 未來將會被移除。


FileVault 文件保險箱

Known Issues

  • Password reset for FileVault volumes from macOS Recovery doesn’t function as expected. (50455695)

    Workaround: While in macOS Recovery, launch Terminal from the Utilities menu, then type resetpassword and press return. In the window which appears, select My keyboard isn’t working when typing my password to log in.

    FileVault 卷宗從macOS 恢復中重置密碼無法如其運行。

    替代方案:在 macOS 恢復時,打開終端,輸入 ``resetpassword命令。在顯示出的窗口中,選擇My keyboard isn’t working when typing my password to log in` 。


Finder

Known Issues

  • Files can’t be copied from or deleted on an iOS device via the Files tab in Finder. (48649759)

    使用 Finder 的文件 tab 鍵,無法複製或刪除 iOS 設備上的文件。

  • Finder might quit unexpectedly when trying to restore using the Time Machine interface. Instead, control-click the item and choose Restore. (49398715)

    當使用 Time Machine 界面來還原時,Finder 可能會閃退。替代的方法是,選中文件後再選擇還原。

  • You might be unable to download folders from iCloud. (50855741)

    Workaround: Download files within the folder individually.

    你可能無法從 iCloud 下載文件夾。

    替代方法:單獨下載文件夾中的文件。

  • When iCloud Desktop is enabled, attempting to drag a volume mounted on the desktop might unexpectedly result in the volume being copied to the Desktop. (51187890)

    當 iCloud 桌面不能使用,將卷宗拖拽到桌面,可能會意外的導致卷宗被拷貝到桌面。


iCloud

Known Issues

  • Turning off the Siri switch in iCloud settings doesn’t stop Significant Locations from syncing. To stop syncing, turn off the Significant Locations switch. (50908297)

    關閉iCloud 設置中的 Siri 切換不會停止同步的標誌性座標。關閉標誌性座標開關,停止同步。

  • If you’re using iCloud Drive to sync Desktop & Documents Folders, your Desktop might be empty after upgrading to macOS 10.15. (50789836)

    Workaround: Enable Desktop and Documents in System Preferences under iCloud > iCloud Drive > Options, then restart your Mac.

    如果你使用iCloud 雲盤來同步桌面、文稿文件夾,升級 10.15 後,你的桌面可能變空。

    替代方案:在 iCloud > iCloud Drive > Options 中,讓 桌面和文稿在系統設置中生效,然後重啓Mac。

  • The Cloud Files section in About This Mac > Storage > Manage might inaccurately represent the current state of files on your Mac. (50362095)

    About This Mac > Storage > Manage 中的雲文件分區可能會迅速的 代表你電腦的當前文件狀態。

  • Even when Optimize Storage is switched off, iCloud Drive might fail to automatically download all files. (50667204)

    Workaround: Download files individually.

    即使 優化存儲被關閉,iCloud 雲可能無法自動下載所有文件。

  • Pages, Numbers, and Keynote documents in shared folders can only be opened on macOS and iOS. iWork documents in shared folders are currently inaccessible from iCloud.com. (50738067)

    共享文件夾中的 Pages, Numbers, 和 Keynote 文件只能被 macOS 和 iOS 打開。共享文件夾中的 iWork 文件目前無法從 iCloud.com 訪問。

  • 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.

    創建新的 Pages, Numbers 或 Keynote 文稿時,你也許會看到提示消息Couldn’t connect to iCloud

    解決方案:關閉並重啓文稿。


iPad Apps on Mac

Known Issues

  • iPad Apps on Mac that use CloudKit might not receive push notifications. (51264475)

    使用 CloudKit 的在 Mac 上運行的 iPad 應用可能無法接收推送。

  • In order to show a share sheet from a toolbar item using the UIActivityViewController, create the NSToolbarItem using the initWithItemIdentifier:initializer and pass it a UIBarButtonItem configured as a UIBarButtonSystemItemAction. There is no need to set the barButtonItem property. (47292316)

    從 toolbar item 上戰士共享的 sheet,使用UIActivityViewController。 使用 initWithItemIdentifier 初始化,並傳遞UIBarButtonItem 作爲 UIBarButtonSystemItemAction , 來創建 NSToolbarItem

  • Currently, you’re unable to import AppKit and UIKit modules in the same compilation unit. If you want to import AppKit headers into an iPad App on Mac, you can import the individual AppKit header in Objective-C, or you can create a bridging header to import the individual AppKit header for Swift. (48094910)

    目前,你無法在同一個編譯單元 引入 AppKit 和 UIKit 模塊。如果你需要引入 AppKit 到 ipad app,你可以引入單獨的 AppKit OC 頭文件;或者你可以創建橋街頭來引入單獨的 AppKit Swift 頭文件。

  • The UIScreen class’s captured API isn’t currently supported. (48360589)

    UIScreen 類的 captured 目前不支持。

  • When donating interactions using the INInteraction class on macOS, the completion handler is invoked with an error which can be safely ignored. (48371526)

    當在 macOS 上使用 INInteraction 類交互時,完成的處理將被 可以被安全忽略的錯誤 喚醒。

  • You can’t open the Services Preferences pane from the Services > Services Preferences menu item in the app menu. (49780697)

    Workaround: Use System Preferences to navigate directly to the Services Preferences pane.

    你無法從 Services > Services Preferences 打開 服務偏好設置面板 。

    替代方法:從系統偏好設置中直接導航出 服務偏好設置的面板。

  • The currentDevice property on UIDevice and the OS Product Name is currently returned as iOS rather than macOS, which can affect diagnostic logs generated by your system. (49792004, 51304085)

    UIDevicecurrentDevice 屬性 和 OS Product Name 目前返回爲 iOS,而非 macOS。將會影響系統產生的分析日誌。

  • UILabel, UITextField, and UITextView instances with alignment set to center or right in Interface Builder have the wrong alignment when designing for or running iPad Apps on Mac. (50062524)

    Workaround: Reapply the desired alignment in awakeFromNib.

    UILabelUITextFieldUITextView實例將在 IB 中居中或者居右,設計在 Mac 上運行的 iPad 應用時,有錯誤的對齊方式。

  • 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)

    當使用 MessageUI 發送郵件附件時,收件人預覽時,每個附件會展示兩個圖標。

  • If you use UIDocumentBrowserViewController to create a new document, then cancel, the helper process presenting the document browser might quit unexpectedly. (50558637)

    使用 UIDocumentBrowserViewController 創建新文檔,然後取消,輔助程序將展示文件瀏覽器可能會意外退出。

  • 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)

    窗口非激活狀態下,被繪製了特殊色彩的控件可能會保留他們原來的激活顏色。這個在你的應用中不需要特別處理。

  • The UIKit module currently doesn’t import the newly added NSToolbar and NSTouchBar headers, NSToolbar+UIKitAdditions.h and NSTouchBar+UIKitAdditions.h. You can import these headers directly in Objective-C, or you can create a bridging header to import them for Swift. Be sure to import Foundation before importing these headers. (50704322)

    UIKit 模塊目前沒有引入新添加的 NSToolbarNSTouchBar 頭文件:NSToolbar+UIKitAdditions.h and NSTouchBar+UIKitAdditions.h。你可以在 OC 下直接引入,或者在 swift 下使用橋接頭。在引入這些頭文件之前,需要引入 Foundation 框架。

  • The new required NSURLCache initializer initWithMemoryCapacity:diskCapacity:diskPath: is currently unimplemented. (50739637)

    新需要的 NSURLCache 初始化方法 initWithMemoryCapacity:diskCapacity:diskPath: 目前沒有實施。

  • When your iPad App on Mac is launched directly into the background, it experiences all the state transitions of a regular app launch — such as application:didFinishLaunchingWithOptions: and applicationDidBecomeActive: — followed by state transitions to return to background state from there — applicationWillResignActive: and applicationDidEnterBackground:. This will soon be updated to match iOS, where your app will receive only applicationDidFinishLaunching:, and only if it wasn’t already running. (50742219)

    當你的在 Mac 上運行的 iPad 應用被直接加載到後臺,它將經歷一個正常應用啓動的狀態變化,比如 application:didFinishLaunchingWithOptions:applicationDidBecomeActive:,狀態變化後,從以下方法返回後臺狀態 applicationWillResignActive:applicationDidEnterBackground。這些將被更新來適應 iOS。你的應用將只接收 applicationDidFinishLaunching,而且只在它已經運行的情況下。

  • iPad Apps on Mac don’t currently use the same default keychain access group as iPad apps. (50779224)

    Mac 上的 iPad 應用目前不使用與 iPad 應用相同的默認的鑰匙串訪問組。

  • For iPad Apps on Mac to save to Photos Library, explicitly linking the Photos framework is required. (50781430)

    Mac 上的 iPad 引用保存照片,明確需要使用 Photos 框架。

  • It isn’t currently possible to pass shared items from a Sharing extension back to the host through its completion handler. (50835062)

    現在無法通過完成處理 從共享拓展傳遞共享項目到主機。

  • Opening a CloudKit share URL might not launch an iPad App on Mac 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)

    打開 CloudKit 分享 URL 可能不會打開系統上一個Mac 上運行的 ipad 應用。另外,系統可能不會帶領用戶到適合的 App Store 界面來下載系統上沒有出現的應用。

  • Ad-hoc app signing doesn’t allow access to the Keychain. Adding Keychain Sharing should trigger mandatory signing using a profile, in turn allowing access to the Keychain. (50898387)

    Ad-hoc 應用簽名不允許訪問鑰匙串。添加鑰匙串分享 需要觸發使用說明文件強制簽名,來有權使用鑰匙串。

  • A tooltip added to an NSToolbarItem will be presented as a blank window. (50957416)

    NSToolbarItem上添加的 tooltip 展示出來將是空窗口。

  • Password AutoFill might not appear in iPad Apps on Mac. (50992371)

    Workaround: Toggle the following setting off and on in Safari Preferences > AutoFill > User names and passwords

    Mac 上的 iPad 應用將不會顯示密碼自動填充功能。

    解決方案:關閉下面的開關:Safari Preferences > AutoFill > User names and passwords

  • Action and share extensions might exhibit visual anomalies. (51005363)

    動作和分享拓展可能會顯示異常。

  • The productsRequest:didReceiveResponse: method from StoreKit currently returns with didFailWithError and products aren’t loaded. (51028870)

    StoreKit 的 productsRequest:didReceiveResponse: 方法目前將返回 didFailWithError,且 product 無法加載。

  • Localization for ASAuthorizationAppleIDButton isn’t currently available. (51032803)

    ASAuthorizationAppleIDButton 無法修改位置。

  • All assets at 3x scale factor are currently ignored when compiling the asset catalog for iPad Apps on Mac. 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)

    Mac 上的 iPad 應用在編譯時,將忽略 3x 的資源。從全部資源開始搜索,特定的資源不會被發現。比如,你提供一個圖片,並只給 6GB 的 5V1 資源,在運行時它不會被發現。

    建議你按照指引正確的提供所有的資源,或者至少提供 2x。如果你使用內存和圖形家族給資源分類,你需要提供任意內存或者任意圖形。

  • When the user quits an iPad App on Mac, the app transitions to UIKit background state and the app’s audio will be stopped; however, no AVAudioSession interruption notification will be posted. In an upcoming beta, AVAudioSession will issue a begin interruption notification in response to the app transitioning to UIKit background state. Additionally, if an iPad App on Mac attempts to activate an AVAudioSession, start an AudioQueue, AURemoteIO, or other high-level player object while in UIKIt background state, it might succeed. In an upcoming beta, audio input and output won’t be allowed to start and AVAudioSession won’t be allowed to activate while the app is in UIKIt background state. (51050672)

    當用戶退出 Mac 上的 iPad 應用,應用切換到 UIKit 後臺模式,app 的音頻也將會停止。然而,AVAudioSession 終端通知將會被髮送。在將來的 beta 模式,AVAudioSession 響應切換到後臺,將發出一個 開始中斷的通知。

    另外,在 UIKit 後臺狀態下,應用將嘗試去激活一個 AVAudioSession,開始 AudioQueue, AURemoteIO, 或者其他更高級的播放器對象,這個對象可以被繼承。

    在即將到來的 beta 版本中,UIKit 的後臺模式下,音頻輸入輸出將不被允許啓動,AVAudioSession 不被允許來激活。

  • CallKit CXAction instances might return an error. (51074735)

    CallKit 的CXAction 可能會返回錯誤。

  • MTKView objects might render incorrectly. This will be resolved in an upcoming beta. (51084042)

    MTKView 對象可能會渲染錯誤。這個會在將來的 beta 版本中解決。

  • Color asset variant isn’t passed during runtime, so these colors won’t appear in your iPad App on Mac. (51113192)

    顏色資源變量在運行時不會被傳遞,所以這些顏色在 Mac 的 iPad app 上不會顯示。

  • If you create an NSToolbarItem with a UIBarButtonSystemItem of type compose, reply, search, or camera, your app might behave unexpectedly. (51253315)

    當你使用 compose, reply, searchcamera 類型的 UIBarButtonSystemItem 來創建 NSToolbarItem,你的應用可能會展示錯誤。

  • SFSafariViewController doesn’t open the URL from initialization time when presented; SFSafariViewController’s intended design on macOS is to open the URL from initialization when presented, then dismiss itself. (51267323)

    SFSafariViewController 在展示時,無法打開初始時創建的連接。SFSafariViewController 在 macOS 上設計是爲了在展示時打開 URL,然後關閉自己。

  • If your iPad App on Mac is launched directly into the background, a second background launch request launches the app into the foreground, making it visible to the user. If your app uses any of the supported APIs which might result in a background launch, this might cause your app to launch in the foreground without user input. (51287556)

    如果你的 iPad 應用啓動後直接進入後臺,第二個後臺啓動需要將應用啓動到前臺,讓用戶課件。如果你的應用使用了可能導致後臺啓動的API,這些可能會導致你的應用在前臺運行。

  • In macOS 10.15 beta, the UIGraphicsRenderer class’s defaultFormat function returns the nonextended color range renderer format by default. To use-extended color range format for rendering, create an instance using preferredFormat and pass it to initWithBounds:format:. (51303954)

    UIGraphicsRenderer 類的 defaultFormat 功能默認返回非拓展的顏色返回渲染模式。 使用擴展的顏色幅度,使用 preferredFormat 創建實例,並傳遞 initWithBounds:format:

  • When creating a Mac version of 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)

    當創建 Mac 版本的 ipad 應用時,xcode 自動生成一個獨一的 Mac bundleID。如果你存在 Mac bundleid,最好使用它。你可以在 xcode 中使用手動簽名。

    Follow these steps to configure your project, AppID, and provisioning profile:

    以下步驟可以用來配置你的 工程,APPID,和配置文件。

  1. Sign in to Apple Developer, then select Certificates, Identifiers, and Profiles.

    在 Apple developer 中前面,選擇 Certificates, Identifiers, and Profiles.

  2. In the Identifiers section, select your iOS app identifier to edit.

    在 Identifiers 區域,選擇 iOS 應用的 identifier 來編輯。

  3. Check the UIKit for Mac capability to enable it, then click the Configure button.

    選擇允許 UIKit for Mac capability,然後點擊 Configure 配置按鈕。

  4. 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.

    選擇存在的 macOS AppID ,並在彈出的目錄中選擇這個 ID。點擊保存按鈕來結束編輯 AppID。

  5. In the Profiles section, click the + button to create a new profile, select ‘macOS App Development’, and click Continue.

    在說明文件區域,點擊添加按鈕,來添加新的 profile,選擇 ‘macOS App Development,點擊繼續。

  6. Select your iOS AppID from the popup, click Continue, and complete the rest of the profile creation flow. When finished, click the Download button.

    在彈窗中選擇 iOS AppID,點擊繼續,然後結束後續的 profile 創建流程。結束後,點擊下載按鈕。

  7. In Xcode, select your project to view the Project Editor and select your app’s target. Then select the Build Settings tab.

    在 xcode 中,選擇你的功能來查看 Project Editor ,選擇你的 app target。然後點擊 Build Settings 這個 tab。

  8. Set the Derive UIKit for Mac Product Bundle Identifier setting to No.

    設置 Derive UIKit for Mac Product Bundle Identifier 標識爲 NO。

  9. Expand the Product Bundle Identifier build setting to view its configurations. Next to the Debug configuration, click the + button to add a conditional value.

    展開 Product Bundle Identifier 編譯設置,來查看他的配置。在 Debug 配置旁邊,點擊添加按鈕來添加額外的數值。

  10. 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.

    在 build 設置條件下,從彈出的菜單中選擇任意 macOS。編輯這個值,匹配你想使用的 macOS bundleID。在你的工程中重複這個操作。

  11. In the Signing & Capabilities tab, uncheck Automatically manage signing.

    在簽名設置中,取消自動管理簽名。

  12. For your macOS app, select Import Profile from the Provisioning Profile popup and then select the profile you downloaded earlier.

    對於你的 macOS 應用,從配置文件彈窗中 選擇之前下載的需要導入的 Profile 文件。


iWork

Known Issues

  • Attempting to open iWork documents in Finder will unexpectedly create a .cpgz file if the corresponding iWork app isn’t installed. (40693892)

    Workaround: Install the corresponding app from the App Store before opening the document.

    如果沒有安裝 iWork 應用,嘗試去打開 iWork 文稿時,將會意外創建一個 .cpgz 文件。


Game Controllers

Known Issues

  • HID reports from DualShock 4 game controllers using Bluetooth might be reported differently by lower level frameworks such as IOKit in comparison to macOS Mojave 10.14. This might cause existing macOS games to become unresponsive to input from these controllers in macOS 10.15 beta. (51163262)

    相比 Mojave 10.14 ,DualShock 4 遊戲控制器中的 HID 報告 使用藍牙將會被 如 IOKit 的底層框架報告的不同。這會導致存在 macOS 遊戲在這些控制器中對輸入沒有響應。


Localization

Known Issues

  • Certain languages might exhibit clipped or misaligned layout. (51068688,50983852)

    某些語言可能會佈局偏離。

  • Certain languages might display unlocalized text. (47765173,51196633)

    某些語言可能會展示未國際化的文字。


Mail

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_rootfs
    

    Reboot into macOS 10.15, open Terminal and execute the following command:

    sudo touch /System/Volumes/Data/.metadata_never_index_unless_rootfs
    

    Reboot 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 many hours to reindex all content.

如果你的 Mac 同時包含 10.14 和 10.15 卷宗,你可能會在查找郵件是遇到問題。

解決方案:在運行 10.14 是,打開終端,執行以下命令:sudo touch /.metadata_never_index_unless_rootfs

重新啓動到 10.15,打開終端執行以下命令:sudo touch /System/Volumes/Data/.metadata_never_index_unless_rootfs

重新啓動到 10.14,打開終端執行以下命令:sudo mdutil -E /

根據你的郵件數據庫大小,可能會花費數小時來索引所有內容。


Music

Known Issues

  • Navigating using the back button might produce unexpected results. (51248128)

    使用返回按鈕導航可能會產生未知結果。

  • Music might take a long time to launch for some users. (51207753)

    對於一些用戶,Music 可能需要一段長的時間來啓動。

  • You might be unable to scroll content on shelves. (51248128)

    你可能無法在架子上滑動內容。

  • Connecting to another computer using Home Sharing might not show the remote library as expected. (50921136)

    使用家庭共享來連接到另外的電腦,可能無法顯示遠程 library。

  • The visualizer might not appear as expected. (49952376)

    觀察者可能無法正確顯示。

  • Artwork changes might not immediately appear; playlists will be added in an upcoming beta. (51201715)

    作品的變化可能沒法立即顯示;播放列表將在未來的 beta 中添加。

  • Attempting to delete movies, TV shows, and music videos from Manage Storage settings might not work. (51001458)

    Manage Storage 設置中可能無法刪除 movies, TV shows, 和 music videos。

  • Music might not remember the previously selected tab when it’s relaunched. (50922604)

    Music 重啓後可能無法記住之前的選項。


Networking

New Features

  • All NSURLSessionTasks with a GET HTTP method which contain a body will now produce the error NSURLErrorDataLengthExceedsMaximum. (46025234)

    所有包含請求體的 GET HTTP 的方法,NSURLSessionTasks 將會產生錯誤的 NSURLErrorDataLengthExceedsMaximum。

Known Issues

  • The driver for Ethernet Control Model (ECM) USB-C to Ethernet adapters isn’t currently enabled in Virtual Machine instances of macOS 10.15. (50968842)

    以太網控制型(ECM) 的 USB-C 接口驅動無法在虛擬機器實例中有效。

  • An active Network Extension content filter configuration might interrupt the boot process indefinitely following a kernel panic. (50965627)

    Workaround: Boot into macOS Recovery, launch Terminal, and execute the following command:

    rm /Library/Preferences/com.apple.networkextension.necp.plist
    

    一個獲取的網絡拓展內容篩選配置可能因爲內核恐慌中斷引導進程。

    替代方案:進入 macOS 回覆,打開終端,執行以下命令:rm /Library/Preferences/com.apple.networkextension.necp.plist

  • NetBoot is unavailable when a Network Extension content filter configuration is enabled. (50872052)

    Network Extension content filter configuration 啓用時,NetBoot 不可用,

  • The NWEthernetChannel API doesn’t currently support VLAN interfaces. NEPacketTunnelProvider will 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 thus NEPacketTunnelProviderwon’t see the VLAN tag. (51275655)

    NWEthernetChannel API 目前不支持 VLAN 接口。NEPacketTunnelProvider 將看到標記和未標記的幀 在物理接口上。在以太網驅動基礎上,VLAN 標記將被硬件處理;即使剝去以太網幀,NEPacketTunnelProvider 依然無法看到 VLAN 標記。

  • Enabling a Network Extension content filter using NEFilterManager might not start the content filter. (50603957)

    Workaround: Make another change to the configuration or change the network configuration of your Mac.

    使用 NEFilterManager 來使用 Network Extension 內容過濾器可能會沒有啓動 內容過濾器。

    替代方案:做一些其他的改變,來修改網絡配置。

  • Installing a content filter configuration when the corresponding content filter system extension is inactive will interrupt all network traffic on your Mac. (51033902)

    Workaround: Remove or disable the content filter configuration in System Preferences > Network.

    在一致的內容過濾器系統拓展不活躍時,安裝內容過濾器配置會導致網絡癱瘓。

  • The DNS Proxy, Packet Tunnel, and App Proxy network extension types don’t work as System Extensions. (51186839)

    Workaround: Use App Extensions for these network extension types.

    DNS 協議,包隧道,蘋果協議網絡拓展類型無法像系統拓展一樣運行。

    解決方案:網絡拓展類型使用蘋果拓展。

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, and CFNetworkExecuteProxyAutoConfigurationURL. (28578280)

    對 FTP 和 PAC 的 File URL 方案被移除。HTTP 和 HTTPS是 唯一支持 PAC 的 URL 方案。這回影響所有的 PAC 配置,包含但不限於使用 Settings, System Preferences, profiles, URLSession 的 API。

  • SPDY support is removed from the NSURLSession and NSURLConnection APIs. Servers should use HTTP 2 or HTTP 1.1. (43391641)

    SPDY 支持將從 NSURLSessionNSURLConnection 中移除。服務器將使用 HTTP 2 or HTTP 1.1.

  • Network Kernel Extension API will be deprecated in an upcoming beta. (49284108)

    在未來的 beta 版本中,Network Kernel Extension API 將會過期。


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)

    爲了提升 Photos 的升級體驗,Photos 測試數據庫更新後使用 Photo Library 的克隆。這份克隆不包含每個照片的內容,但包含人連元數據和每個人的預覽圖。它同時包含圖片的元數據,如資源名、地理位置。創建在 ~/Pictures/macOS 10.15 Pre-Upgrade Backup, 你可以隨時手動刪除這個備份。這份克隆將在 10.15 的正式發佈後,自動移除。


Podcasts 播客

Known Issues

  • Browse and Top Charts are currently limited to content from the United States. (47884301)

    瀏覽和圖標榜單僅限於 US 的內容。

  • Deleting podcasts using About This Mac > Storage > Manage doesn’t update what’s shown in the Podcasts app until it’s relaunched. (50354510)

    使用這個方法刪除播客 About This Mac > Storage > Manage , 可能需要重啓播客後內容纔會更新。

    ??

  • Setting “Automatically Download Episodes” to “Never” might not take effect. (50960777)

    設置 Automatically Download EpisodesNever 可能不會生效。

  • Writing a review isn’t currently supported. (46173722)

    目前不支持編寫回顧。

  • Manually checking for feed updates when Option-clicking the Podcasts app in the dock isn’t currently available. (50958585)

    Workaround: Quit and relaunch the app.

    目前不支持在 dock 欄中手動檢查更新。??

    解決方法:退出並重啓應用。

  • Certain UI elements might appear unaligned on non-Retina displays. (51138730)

    一些 UI 元素在非 retina 屏幕上將無序展示。

  • The first time Podcasts is launched, a migration is triggered even if there is no content to migrate. (51145044)

    播客加載的第一時間,遷移將會發生,即使沒有內容可以遷移。

  • If Podcasts is placed in Full Screen mode, some UI elements might be obscured by the toolbar. (47125303)

    如果播客被替換爲全屏模式,一些 UI 元素將會被toolbar 遮蓋。


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)

    從 10.15 開始,Quartz Composer 框架過期,但爲了兼容而保留。建議遷移框架爲: Core Image, SceneKit, or Metal。


Screen Sharing

Known Issues

  • If the Mac you’re screen sharing with is running macOS 10.15 beta, you can’t drag and drop onto the screen share. (50791710)

    如果你正在屏幕共享的 Mac 運行 10.15 beta 版本,在共享時無法拖拽。


Screen Time 屏幕時間

Known Issues

  • Parental controls that predate macOS 10.15 continue to be enforced even when these restrictions are set to Off in Screen Time. (48010796)

    10.15 之前的家長控制將繼續被強制實施,即使設定了屏幕時間限制。

  • Users can click ‘One more minute’ multiple times per day instead of only once each time they reach a limit for that app. (48773803)

    用戶可以在一天內多次點擊 多一分鐘,替代在每次應用達到限制後只能點一次。

  • When in Downtime or after reaching an App Limit, clicking Ignore Limit requires clicking in the precise location for the options to appear. (50061983)

    當在停工時,或者達到應用限制時,點擊忽略限制 需要點擊明確的位置。

  • Screen Time > Content & Privacy > Content > Web Content > Allowed Websites Only isn’t currently enforced in macOS 10.15 beta. (50462899)

    Screen Time > Content & Privacy > Content > Web Content > Allowed Websites Only 目前沒有在 10.15 beta 上強制實施。

  • Messages and FaceTime don’t currently enforce Screen Time’s Communication Limits. (51055350, 51055448)

    Messages 和 FaceTime 目前不遵守屏幕時間聯繫限制。

  • If the Always Allowed pane is empty or isn’t allowing you to select any apps, quit and relaunch System Preferences. (51120837)

    如果 總是允許面板爲空,或者不允許你選擇任意應用,退出並重啓系統偏好設置。


Script Editor

Known Issues

  • Script Editor might quit unexpectedly when saving or executing scripts. (50470730)

    保存和執行腳本時,腳本編輯器可能會意外退出。


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)

    如 Python, Ruby, and Perl 的腳本語言運行時被包含在 macOS 中,以便於與其他遺留的軟件兼容。

    未來版本的 macOS 將不會默認包含腳本語言運行時,你需要另外自己安裝。如果你的應用依賴於腳本語言,建議你在 app 包中包含。

  • 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 python3 from within Terminal. (51097165)

    不建議使用 Python 2.7,這個版本macOS 包含,爲了與遺留軟件兼容。未來 Mac 將不再包含 Python 2.7。


Sign In with Apple

Known Issues

  • The ASAuthorizationAppleIDButton API will be available in an upcoming beta. (50376266)

    ASAuthorizationAppleIDButton API 將在接下來的 beta 中有效。


Siri

Known Issues

  • Siri doesn’t currently support the Music and Podcasts apps. (47202947, 50790506)

    Siri 目前不支持 Music and Podcasts 應用。


SwiftUI

Known Issues

  • Return types for View modifier methods include complex generic types. In a future release, these methods will return simpler types. (46140669)

    View 修飾方法返回的類型 包含複雜的通用類型。在未來的發佈版本中,這些方法將返回簡單的類型。

  • Tabs in TabbedView instances are blank if you use them with a NavigationView. (49958869)

    NavigationView 中使用 TabbedViewTabbedView實例將會是空。

  • Image instances don’t use resizing information configured in asset catalogs. Configure the size of an image using the [resizable(capInsets:resizingMode:)](https://developer.apple.com/documentation/swiftui/image/3269730-resizable?language=objc) modifier instead. (49114577)

    圖片實例不使用 資源目錄中的信息。計算圖片的尺寸使用 resizable(capInsets:resizingMode:)來替代。

  • The possible values that you can select from a Picker can’t be accessed from UI automation. (50679414)

    Picker 中選中的值,無法從自動化界面獲取。

  • A ScrollView doesn’t always size itself as expected for its content. (49204262)

    Workaround: Size the view that’s inside the ScrollView by applying the frame(width:height:alignment:) modifier to the inner view. (49204262)

    ScrollView 不會一直根據內容調整合適大小。

    應對方法:使用frame(width:height:alignment:) 調整內部視圖的大小,以調整 ScrollView 中視圖的尺寸。


SystemExtensions

Known Issues

  • Upgrading system extension versions isn’t currently available. The extension can be deleted, then reinstalled which requires user reapproval. (48943883)

    目前不支持升級到 系統擴展。擴展將會被刪除,並在用戶重新批准後再次安裝。

  • Driver extensions might not launch on-demand after installation. (51229724)

    Workaround: Disable System Integrity Protection, then launch Terminal and execute the following command before approving the newly installed driver:

    sudo touch /Library/DriverExtensions
    

    驅動拓展在安裝後可能不會啓動。

    應對方法:關閉 SIP,打開終端,在允許安裝驅動前 運行下述命令 sudo touch /Library/DriverExtensions

  • Approving system extensions via Mobile Device Management isn’t currently available. (50553712)

    目前不能使用 MDM 允許系統拓展。


Voice Memos 語音備忘錄

Known Issues

  • Location-based naming isn’t yet available in macOS 10.15 beta. (50743045)

    基於位置的命名 在 10.15 beta 上不可用。


Wi-Fi

Known Issues

  • Your Mac may be unable to automatically join WPA3 networks. Instead, select the network manually. (50605428)

    你的 Mac 可能無法自動加入 WPA3 網絡;替代的,需要手動選擇網絡。

  • After turning Wi-Fi off using the menu bar, reopening the Wi-Fi menu might unexpectedly list available Wi-Fi networks. (50643127)

    當使用 目錄欄 關閉 WIFI 後,重新開啓 wifi 目錄可能會以外的展示一組 wifi 網絡。


Xcode

Known Issues

  • Swift interfaces for several new URLSession APIs are unavailable. (50517967)

    一些新的 URLSession API 的 Swift 界面不可用。

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 running xcode-select --install. (50266910)

    包括svn, git-svn 及相關的 版本管理的命令行工具 在 xcode 中將不再支持。如果你需要版本管理及相關的工具,運行``xcode-select --installl` 來安裝 命令行工具包。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章