79 votes

The item “Xcode” can’t be moved to the Trash because some of its extensions are in use

Fixed it by doing the following 1. Control-click on Xcode 2. Select 'show package contents' 3. Open folder 4. Delete plugins folder 5. Open finder window 6. Navigate to folder containing ...
ravindar's user avatar
  • 916
18 votes

What is the com.apple.dt.Xcode bundle, and can I delete it?

It's safe to delete com.apple.dt.XCode because Xcode will recreate its caches when needed (it can take some time at first relaunch, though, if Xcode needs to re-download something). You should ...
Eric Aya's user avatar
  • 400
16 votes

The item “Xcode” can’t be moved to the Trash because some of its extensions are in use

This worked for me: 1. Open Activity Monitor 2. Search for XCode 3. Force quit all running instances of XCode 4. Try again to move XCode to Trash
db42's user avatar
  • 261
8 votes

Can't complete installation of Xcode

Check the amount of free space in Disk Utility rather than 'About this Mac' The single figure in About this Mac does not make allowance for Purgeable space, Disk Utility shows both. The figure you ...
Tetsujin's user avatar
  • 49.6k
8 votes

How can I clear faulty error messages in XCode?

XCode 10.3. On the menu: Product -> Clean Build Folder
Carl's user avatar
  • 181
8 votes

Which Xcode version should I download for macOS High Sierra 10.13.6?

You can use Xcode 10.1 the max auto supported version for Mac High sierra 10.13.6 use the following link : https://download.developer.apple.com/Developer_Tools/Xcode_10.1/Xcode_10.1.xip it requires ...
DilipCoder's user avatar
5 votes

Open application from OSX Terminal with debug printouts

.app Applications are directories, from the terminal open the executable rather than the whole directory, e.g... open /Applications/my.app/Contents/MacOS/my If you're not sure of the executable file ...
Drahcir's user avatar
  • 202
5 votes

How to switch back to previous window on OS X?

Hyperswitch (free) and Witch ($14, though more configurable) allow doing this.
Lucas Wiman's user avatar
4 votes

The item “Xcode” can’t be moved to the Trash because some of its extensions are in use

The problem for me was that I had the new version of Xcode running. The solution was to close Xcode and then I could delete the beta app file.
Brenden's user avatar
  • 161
4 votes
Accepted

How to force a new line at the end of a file in Xcode

While this answer is written nearly a year after the question, I'll post it regardless for reference. Xcode 8 and later automatically appends a newline to every saved text file if it didn't end with ...
Constantino Tsarouhas's user avatar
4 votes
Accepted

Keep tab open in Xcode 12's new tab interface

When you're on the active tab you can press: Command + Option + O Or depending on your navigation settings in Xcode, you can just double-click the file from project navigator.
Coin-Flip Chaos's user avatar
3 votes
Accepted

Run iOS application on macOS

They're right. You can't* If the .ipa was built only for a different processor architecture (i.e., the armv7 on mobile devices) it will not run on the simulator. When building an app yourself from ...
silico-biomancer's user avatar
3 votes

How to switch back to previous window on OS X?

If you want to make a custom shortcut, I noticed that macOS Sierra seems to automatically map Shift-[shortcut here] to the reverse of your original shortcut, when it makes sense (e.g. anything that ...
mz496's user avatar
  • 131
3 votes

Swift process causes my MacBook Pro 2019 to freeze

I know that there was quite a time from this question were posted but I have the same issue with the same machine. I've found that disabling the build parallelization improves the performance. You ...
HernanD's user avatar
  • 31
2 votes

Where is the Xcode dmg file downloaded to?

To find downloaded apps from the App Store, run this line on your terminal: lsof | grep -i pkg
Antonio Junior's user avatar
2 votes

How to switch back to previous window on OS X?

I found this decision tree for finding the right shortcut: Decision tree for last window shortcut on mac The main decisions are: Was it in a different Program from the one you want to switch from? ...
Patrick's user avatar
  • 21
2 votes

Setting up multiple standard users with admin privileges on a Mac

There's a group called "_developer" that solves this cleanly. sudo dscl . append /Groups/_developer GroupMembership <username> Run that from an admin account, obviously.
Benny Mackney's user avatar
2 votes

Xcode 10.2 fails local commit with "Multiple working copies failed to commit files"

Reason & solution found: Xcode bug, author details are deleted when Xcode is updated, the following from cmd line in the workspace dir fixes the problem: xcrun git config user.name "...
Kristian H's user avatar
2 votes

The item “Xcode” can’t be moved to the Trash because some of its extensions are in use

I had Xcode and the simulator running on another user profile. Closing these windows fixed the problem for me. 1. Log in to your other user profiles which share Xcode 2. Quit any running instance 3. ...
termorrell's user avatar
2 votes
Accepted

Can Apple's Xcode IDE be used with a make build-system? If so, how?

Yes, you can call make from Xcode. Apple has documentation for it in the "Building Makefile Projects with Xcode" section of the "Porting UNIX/Linux Applications to OS X" guide on Apple's developer ...
Spiff's user avatar
  • 105k
2 votes
Accepted

cpio read error: Undefined error: 0 - XCode 8 installation

updating to OSX 10.11.6 solved the problem.
Aviram Netanel's user avatar
2 votes

Unable to plot using igraph, with cairo and py3cairo

Install the Xcode command line tools if you don’t need a full install of Xcode. If you need Xcode command line tools without the HUGE Xcode application and environment, the preferred alternative for ...
Giacomo1968's user avatar
  • 55.6k
2 votes

Unable to plot using igraph, with cairo and py3cairo

Xcode provides a development environment (compiler, linker, IDE, and so forth) and is somewhat equivalent to the @Development Tools package group for RedHat type system, or the build-essential package ...
thrig's user avatar
  • 796
2 votes

Xcode 10.2 fails local commit with "Multiple working copies failed to commit files"

What Kristian H has answered is correct and same can be achieved within Xcode IDE itself: Xcode -> Preferences -> Source Control [tab] -> Git [tab] and filling missing details. This avoids opening ...
Knight Forked's user avatar
2 votes

cmath compilation errors with clang-10 on Mac OS Catalina

I had the same issue, it seems that cmath fails to include the correct math.h. After applying this solution , I could get the compilation working just fine, so do: vim /Applications/Xcode.app/Contents/...
Pedro Cruz's user avatar
1 vote
Accepted

Xcode issue: how to copy paste with storyboard IBOutlet

Try using "Right Click" with "Paste" option. Working on Xcode 10
Ankit's user avatar
  • 126
1 vote
Accepted

Unable to plot using igraph, with cairo and py3cairo

Found several links helpful for this topic: Manual install-> https://github.com/Automattic/node-canvas/wiki/Installation---OSX Bit of a tweak (use cairocffi instead) https://stackoverflow.com/...
dia's user avatar
  • 121
1 vote
Accepted

Flex gives no output on MacOS High Sierra / Xcode 9

I had the same symptoms. In my case it was a broken install of m4 (left behind by macports, and ahead of the system m4 in my PATH). flex calls m4 behind the scenes. If m4 crashes without output, flex ...
user873687's user avatar
1 vote

Xcode 7 Simulator - “SpringBoard cannot be opened because of a problm.”

UPDATE 2: We were able to track it down to an update of security software called Cylance Protect. After uninstalling it, the Simulator worked again. UPDATE: It just happened again! About a week after ...
jbyrd's user avatar
  • 123

Only top scored, non community-wiki answers of a minimum length are eligible