Xcode-Project-Reader icon indicating copy to clipboard operation
Xcode-Project-Reader copied to clipboard

Removing localized files.

Open sgoodwin opened this issue 13 years ago • 5 comments

When you try to remove a file that has been localized, your code leaves behind a broken project file that makes xcode crash.

sgoodwin avatar Jan 17 '13 12:01 sgoodwin

Can you provide a sample project containing a localized file which demonstrates this problem?

SquaredTiki avatar Jan 17 '13 16:01 SquaredTiki

Like so: http://cl.ly/0P150v190b13

sgoodwin avatar Jan 17 '13 23:01 sgoodwin

Assuming the two localized files were InfoPlist.strings and background.jpg, I used the Xcode-Project-Reader to delete both and neither caused Xcode to crash when the LocalizationImages project was opened.

SquaredTiki avatar Jan 18 '13 16:01 SquaredTiki

Click around in the file browser of the project after you delete the files. You'll see empty groups that break Xcode when you click on them.

sgoodwin avatar Jan 21 '13 11:01 sgoodwin

I do not experience this issue. As can be seen here: http://d.pr/v/z2K6

Xcode does get a little confused as to whether or not the files exist however they do when selecting them and closing and opening them clears this problem which only seemed to occur when recording, typical. No matter what however, Xcode does not crash.

SquaredTiki avatar Jan 22 '13 22:01 SquaredTiki