Xcode 14.0 - 14.0.1 Simulator eats up a lot of RAM

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 ?

Answered by Simimi_dot in 731000022

The problem was solved by absolutely completely reinstalling Xcode. And manually deleting each of these folders:

  1. /Applications/Xcode.app
  2. ~/Library/Caches/com.apple.dt.Xcode
  3. ~/Library/Developer
  4. ~/Library/MobileDevice
  5. ~/Library/Preferences/com.apple.dt.Xcode.plist
  6. /Library/Preferences/com.apple.dt.Xcode.plist
  7. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
  8. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
  9. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
  10. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
  11. /private/var/db/receipts/com.apple.pkg.Xcode.bom
Accepted Answer

The problem was solved by absolutely completely reinstalling Xcode. And manually deleting each of these folders:

  1. /Applications/Xcode.app
  2. ~/Library/Caches/com.apple.dt.Xcode
  3. ~/Library/Developer
  4. ~/Library/MobileDevice
  5. ~/Library/Preferences/com.apple.dt.Xcode.plist
  6. /Library/Preferences/com.apple.dt.Xcode.plist
  7. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
  8. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
  9. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
  10. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
  11. /private/var/db/receipts/com.apple.pkg.Xcode.bom
Xcode 14.0 - 14.0.1 Simulator eats up a lot of RAM
 
 
Q