This was a very widespread issue, affecting many teams and CI systems.
Heres what we found out on Mastodon (don’t know if I’m allowed to link https://mastodon.social/@AshtonDev/112370697270782459)
The macOS anti-malware system XProtect got an update a couple of days ago, XProtectPayload 132, it found a false positive in the simulator runtime disk image and so would unmount the disk image and try to delete it. Restart your Mac should mount the image again if it wasn’t deleted, otherwise delete any iOS 17 runtimes in Xcode Settings > Platforms and install it again. An updated 133 is out, check for updates and it should download the security update. Or try this command to force it
softwareupdate --install --include-config-data XProtectPayloads_10_15-133
Post
Replies
Boosts
Views
Activity
The localized format string methods will format numbers for you.
String.localizedStringWithFormat(NSLocalizedString("RecordsFound", comment: ""), 15387)
Will return "15,387 records found"
Alternatively, especially if you need to specify a different Locale
String(format: NSLocalizedString("RecordsFound", comment: ""), locale: Locale.current, arguments: [15387])
Will also return "15,387 records found"
This doesn't have the full freedom of allowing you to pass any string in, but it does keep the stringsdict file the same and doesn't restrict translations.