Remove Xcode Target Completely

How to completely delete an Xcode target so that if I create a new target with the same name, none of the previous files / settings associated with it will remain?

+5
source share
2 answers

I think you will have to do a lot of manual work to do this:

  • open .xcodeproj with alt-click - Show package contents
  • open the project.pbxproj file with a text editor Now find /* Begin PBXNativeTarget section */, you will find a list of goals below. Here comes the part that is likely to force you to create a new project - there are so many cross-references by identifiers that need to be analyzed. You will need to find what you want to delete there.
  • xcuserdata,
+7

xCode 9.2 (9C40b) , . xCode .. .

+1

All Articles