How can i remove the Xcode entries in my project Targets / Info / Document Types. I see only a add Button. Any Idea?
Remove XCode settings Document Types
Had the same problem (XCode Version 13.2.1 (13C100)). Here is a workaround:
- In the navigator select your app's Info (
Info.plist
). - In the property list expand and go to: Document Types
- Delete the unwanted items in that array
To reflect the changes in the App properties editor (the one in the screenshot posted in the question) I had to restart XCode. Might not be necessary, but for me that was the only way how to make XCode to reflect the changes.
This bug (no user interface to delete Document Types) is still present in Xcode 14 GM :(
If anyone from Apple reads this, please consider just removing the "Info" tab in the Target editor. It seems to be a poorly synced and incomplete user interface for the Info.plist file which often causes more confusion than just editing the Info.plist file manually. (To make that easier, try the app Plist Edit Pro from Fat Cat Software.)
Seems to be still the case with Xcode 14.2. However I don't have a info.plist. Any ideas how to delete?
This is still an issue in Xcode 14.3. The info.plist file no longer exists and there is no way to remove a Document Type
Same here still happening in xcode 14.3, info.plist is a major part of development this should be corrected by Apple ASAP.
Same issue. Shocking, really. Beyond comprehension...
Still a problem in XCode 15.0.1
Xcode 15.1 - This is really preposterous! I cannot remove any document type I've added nor exported/imported type identifiers.
What worked for me is to try searching for Info.plist in the search bar of Navigation menu. Then in Info.plist you will have array of your Document types, which you can remove. Just hover on one of the doc types and you see a minus sign button
still same problem present in 2024, 2 years later. how hard can it be to add a freaking delete button for entries??
Info.plist wasn't showing in Navigator, but was available in the project file directory - just needed to be added.
Had to delete derived data too after adding. But end result was that Document Types could be deleted from Info.plist.
I was able to get rid of that section editing manually, with an external text editor, the file Project-Name-Info.plist that was located inside my project folder (in my case: Mac-Stager-Info.plist) I did this with XCode not running: once done, that section was finally gone :)