How to remove CocoaPods from a project?

Removing CocoaPods from a project is possible, but not currently automated by the CLI. First thing, if the only issue you have is not being able to use an xcworkspace you can use CocoaPods with just xcodeprojs by using the –no-integrate flag which will produce the Pods.xcodeproj but not a workspace. Then you can add … Read more

How to download Xcode DMG or XIP file?

You can find the DMGs or XIPs for Xcode and other development tools on https://developer.apple.com/download/more/ (requires Apple ID to login). You must login to have a valid session before downloading anything below. *(Newest on top. For each minor version (6.3, 5.1, etc.) only the latest revision is kept in the list.) Xcode 13 13.3.1 13.3 … Read more

How to install Xcode Command Line Tools

Xcode 5.1 and OSX 10.9. (also works with Xcode 5.1.1 + OSX 10.10) xcode-select –install worked with version 2333, failed with version 2003. So, try xcode-select –install and if that does not work download as described below. In early February 2014 xcode-select –install has been reporting that “Can’t install the software because it is not … Read more

How can I delete derived data in Xcode 8?

(Working in Xcode 11 and 12) You can go to File > Workspace Settings if you are in a workspace environment or File > Project Settings for a regular project environment. Then click over the little grey arrow under Derived data section and select your project folder to delete it.

How to Empty Caches and Clean All Targets Xcode 4 and later

Command-Option-Shift-K to clean out the build folder. Even better, quit Xcode and clean out ~/Library/Developer/Xcode/DerivedData manually. Remove all its contents because there’s a bug where Xcode will run an old version of your project that’s in there somewhere. (Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the … Read more

How to enable NSZombie in Xcode?

Environment variables are now part of the “scheme”. To edit the scheme and turn on zombies: In the “Product” menu, select “Edit Scheme”. Go to the “Run Foo.app” stage in the left panel, and the “Arguments” tab on the right. Add NSZombieEnabled to the “Environment Variables” section and set the value to YES, as you … Read more