Xcode (12.2 & 12.4) crashes when generating localized files for intent definition

Originator:skhan
Number:rdar://FB9001008 Date Originated:02-11-2021
Status:Open Resolved:No
Product:Xcode Product Version:Xcode 12.4 (12D4e) & Xcode 12.2 (12B45b)
Classification:Bug Reproducible:Yes
 
Xcode (12.2 & 12.4) crashes when generating localized files for intent definition

Which area are you seeing an issue with?
Xcode

What type of feedback are you reporting?
Application Crash

What version of Xcode are you using?
Xcode 12.4 (12D4e) & Xcode 12.2 (12B45b)

Please describe the issue:
Xcode crashes when attempting to generate localized files for intent definition file.

Please list the steps you took to reproduce the issue:
1. Create new dummy Xcode project, select the app template. Create new intent definition file from SiriKit

2. Add new custom intent; set category, title, and parameters in any way. Uncheck Confirmation, Widgets, and Configurable in Shortcuts. Check Suggestions and enter any phrase for the summary and description for Suggestions.

3. For the new custom intent's response, configure any phrase for success and failure with any property respectively. 

4. When attempting to generate localized files, select localize under Localization under the File Inspector.

5. Choose to localize the file under 'Base'

6. Once intent definition file is generated for Base, check English to attempt to generate localized strings file for intentdefinition file.

What did you expect to happen?
I expected the proper localized strings file with the associated intent response phrases assigned to their respective keys to be generated under the lproj directory (en.lproj in this case).

What actually happened?
Xcode crashes and a copy of the intent definition file is generated within the respective lproj directory (en.lproj in this case)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!