6 Replies
      Latest reply on Mar 2, 2019 8:48 AM by Jazzette Copeland
      blunder Level 1 Level 1 (0 points)

        Hi

         

        Im looking at uninstalling xcode 10 completely, not just dragging it to trash, but allso removing everything else so i can get a clean install.

         

        The reason for this is, im learning to program in swift, and i have had the xcode 10beta installed untill the final go released, i then installed the final version from app store and dragged the beta to trash.

         

        But when i try the apps i make during the course i take, i allways get a crash error. When i try the files given to me with the exact same code it doesnt crash, if i then copy/paste the working code into my app it still doesnt work (i of course do link buttons, labels and so on again)

         

        So my theory is that somewhere there is a problem with a beta file that may give trouble to the final edition of xcode and that it isnt removed when dragging the app to trash

        • Re: Uninstall xcode 10
          Claude31 Level 8 Level 8 (5,635 points)

          if i then copy/paste the working code into my app it still doesnt work (i of course do link buttons, labels and so on again)

           

          Copy and paste : did you copy file or content of file ?

          If you did the paste content (that's what to do):

          When you copy and paste, you may copy some link references as well, that you do not see.

          What I do is to, paste in an external editor (as Edit) as Paste and adapt style, the copy again and paste in the new file

           

          Did you do a Clean Build Folder after copy and paste ? You should.

          • Re: Uninstall xcode 10
            KMT Level 9 Level 9 (13,905 points)

            Quit Xcode.

             

            Go to ~/Library/Preferences, then find any file/plist with 'Xcode' in the file name and drag them to the trash, being sure to empty the trash.

             

            Open Xcode, then do as Claude suggests and option-clean. That means use the Product menu w/the option key pressed, selecting to 'clean build folder'.

             

            Go again and see if you still get a crash. If you do, post the error(s) here for analysis.

             

            Good luck.

            • Re: Uninstall xcode 10
              cerniuk Level 1 Level 1 (0 points)

              Assuming you put Xcode in the Applications folder; to remove all traces of Xcode from your disk, remove:

              1. /Applications/Xcode.app
              2. ~/Library/Caches/com.apple.dt.Xcode
              3. ~/Library/Developer
              4. ~/Library/MobileDevice
              5. ~/Library/Preferences/com.apple.dt.Xcode.plist
              6. /Library/Preferences/com.apple.dt.Xcode.plist
              7. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
              8. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
              9. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
              10. /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist

               

              To scavenge your customizations, first copy these somewhere safe  (folder where noted, file where noted)

              1. ~/Library/Developer/Xcode/UserData/CodeSnippets
              2. ~/Library/Developer/Xcode/UserData/FontAndColorThemes
              3. ~/Library/Developer/Xcode/UserData/KeyBindings
              4. ~/Library/Developer/Xcode/Templates
              5. ~/Library/Preferences/com.apple.dt.Xcode.plist
              6. ~/Library/MobileDevice/Provisioning Profiles

               

              Xcode has been exceptionally buggy since day 1 of it's existance... so it is good to know how to remove all of it for a re-install when your simulators don't install, when simulators are broken after install, when nothing will compile or run, when things run fine in the simulator but not on the iPhone or iPad hardware, etc.

               

              (if I forgot some trace, apologies, please reply back to complete the list)

              • Re: Uninstall xcode 10
                Jazzette Copeland Level 1 Level 1 (0 points)

                TVNowPro’s