Good afternoon, perhaps after the update someone had a problem with the consumption of RAM. Regardless of whether Swift or SwiftUI simulator consumes at least 8-10 gigabytes of RAM. The usual empty project in which it says "Hello World". If I run two simulators already, then the RAM consumption goes for 20+ gigabytes. There was no such thing before the latest updates. Previously, one simulator consumed 1.5-2 gigabytes, but not 10. How to deal with it ? Derived Data was cleaned. Xcode itself was completely removed and reinstalled, currently version 14.0.1. Who has encountered this, please tell me how to solve this problem? Or is this a problem with the 14th version of Xcode itself ?
The problem was solved by absolutely completely reinstalling Xcode. And manually deleting each of these folders:
- /Applications/Xcode.app
- ~/Library/Caches/com.apple.dt.Xcode
- ~/Library/Developer
- ~/Library/MobileDevice
- ~/Library/Preferences/com.apple.dt.Xcode.plist
- /Library/Preferences/com.apple.dt.Xcode.plist
- /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
- /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
- /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
- /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
- /private/var/db/receipts/com.apple.pkg.Xcode.bom