I just submitted a feedback for this (FB9662125) but in the spirit of “share and enjoy”…
The cool new Generate Info.plist File feature in Xcode 13 crashes if you try to put an NSLocationTemporaryUsageDescriptionDictionary
in your Info.plist
file. Here’s a simple repro scenario:
- Create a minimal iOS app (no Core Data, no tests)
- Go to target settings → Info tab → Custom iOS Target Properties
- Click the (+) button on any row to begin inserting a new row
- Select Privacy - Location Temporary Usage Description Dictionary
- Click somewhere else or press Return to commit the selection
- Xcode crashes immediately
More generally, it seems that Xcode crashes any time it tries to regenerate your Info.plist
file if it contains an NSLocationTemporaryUsageDescriptionDictionary
, even if (for example) you manually pasted that dictionary into the file earlier. In that case, merely tapping the (+) button in step 3 above is enough to crash it.
Bump! This is still broken in Xcode 13.2.1 (13C100). In case anyone else wants to help out by entering a duplicate feedback report.
(I’ve already migrated a number of existing projects to auto-generate Info.plist, which is a nice little cleanup. But migrating my last project is blocked due to this bug. Bummer.)