Skip to main content

Questions tagged [xcode]

XCode is a suite of development tools (including an IDE of the same name) from Apple primarily for developing for its Cocoa environment. Questions about XCode should be limited to installation, basic usage/configuration, and troubleshooting.

Filter by
Sorted by
Tagged with
39 votes
7 answers
27k views

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

I'm trying to delete Xcode from my MacBook, so I could download the latest version (updating it in the app store just gives me that spinning circle, which has been going on for three days). However, ...
zack_falcon's user avatar
  • 1,033
22 votes
2 answers
38k views

How can I install USB Prober from the Developer SDK on Mac OS X?

I've tried to do some research to figure this out, and per this Technical Q&A: USB Prober is installed as part of the Developer SDK installation. If the Developer SDK has been installed, then ...
cwd's user avatar
  • 18.2k
22 votes
8 answers
24k views

How to switch back to previous window on OS X?

As a long time Windows users I'm used to switch between two windows using keyboard. Now at Mac I just can't figure out how to do that! Command-Tab works nicely between apps, but how to do the same ...
user avatar
21 votes
2 answers
8k views

Expanding to all in Xcode Projects groups

In Windows, when you start explorer, there will be a tree view on left side. After selecting a specific folder / drive when you press *, it will expand all to depth. I want to do the same in Xcode - ...
sagarkothari's user avatar
  • 5,015
18 votes
4 answers
6k views

Accessing Menus in Mac OS X via Keyboard

My question is how to access application menus, like file, edit, view - using the keyboard. Or how to create a new short cut in any application (for example Xcode). Example -> I want to create a ...
sagarkothari's user avatar
  • 5,015
16 votes
1 answer
18k views

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

In looking to free space on my system volume. I found this file: ~/Library/Caches The file is over 15GB in size, but I can't really tell what it comprises. I see a Downloads in there, so perhaps it ...
Jay Imerman's user avatar
14 votes
3 answers
20k views

GCC on OS X Lion with Xcode 4.3.1

After installing Xcode 4.3.1 on OS X Lion, I have lost my GCC compiler. I need this for my study. Does anyone know how I will install this? All I have been able to find was people suggesting to ...
SimonBS's user avatar
  • 301
14 votes
3 answers
4k views

Xcode: multiple key bindings per function

In Xcode I'd like the ability to set up several key bindings for the same function. For example, I'd like the step over function to be mapped to both F6 and F16. I don't see a way to do this from ...
joseph.hainline's user avatar
13 votes
2 answers
8k views

git on command line no longer works on El Capitan

Having just installed OS X 10.11 last night, I was surprised to see that my Bash terminal did the following: $ git xcode-select: note: no developer tools were found at '/Applications/Xcode.app', ...
Alex's user avatar
  • 263
13 votes
3 answers
13k views

Is there a way to run Xcode 6 and 7 side-by-side?

I want to keep Xcode 6 for now, as my apps have been built and tested with that. I also have Xcode 7 Beta 6, and I’d like to upgrade that to the release version of Xcode 7. The App Store just has an ...
Crag's user avatar
  • 293
12 votes
3 answers
55k views

Is there an Xcode 4.2 for Snow Leopard?

I was looking for Xcode 4.2 for Snow Leopard. I had heard that the official release for iOS 5 was also going to be Snow Leopard enabled. I could not find Xcode 4.2 + iOS5 for Snow Leopard on Apple's ...
cqm's user avatar
  • 1,267
12 votes
5 answers
12k views

What is a "pipe" and how can it be "broken"?

I've gotten the "broken pipe" error from Xcode one time too many. I'm now curious to know exactly what a pipe is. What is the concept of a "pipe" and how can it be "broken"?
Moshe's user avatar
  • 5,828
11 votes
3 answers
25k views

Homebrew doesn't install new apps in El Capitan

just upgraded to beta El Capitan for developers. Deniss-MBP:src me$ brew install hg Warning: You are using OS X 10.11. We do not provide support for this pre-release version. You may encounter build ...
denislexic's user avatar
10 votes
5 answers
4k views

Homebrew keeps saying XCode is not installed

I'm trying to installed Ruby using Homebrew, the OSX package manager. When I run 'brew install ruby' I keep getting the message 'Warning: XCode is not installed!'. XCode is installed, it's lying. ...
Jaco Pretorius's user avatar
9 votes
4 answers
27k views

Snow Leopard: make command not found, even though XCode is installed?

So I've installed XCode on Snow Leopard. Why am I getting messages like this: sudo: make: command not found What do I need to do to resolve this issue? Solution: I'm not sure what happened, but I was ...
Andrew's user avatar
  • 15.1k
9 votes
5 answers
59k views

How to test if gcc is installed?

How can I find out if I have gcc installed on my machine? I am trying to run CodeRunner, but it isn't responding. I know you have to have gcc installed in order for it to work properly. I do have ...
user avatar
9 votes
2 answers
4k views

Keep the iPhone Simulator in the background while running tests in Xcode?

The iPhone Simulator annoyingly pops up when I run tests in Xcode and interrupts my work flow. This is especially annoying if I'm in fullscreen mode. I want it to open and stay in the background. If ...
jasongregori's user avatar
8 votes
3 answers
21k views

Automatically enable Xcode "Developer Mode" on computer lab workstations

After reimaging a computer lab workstation, the first time a user tries to build and run an Xcode 4 application, Xcode pops up the "Enable 'Developer Mode' on this Mac?" prompt, requesting an ...
smokris's user avatar
  • 1,602
8 votes
2 answers
11k views

Downloading Xcode from App Store without credit card [closed]

I have problems using the App Store. I found Xcode 5 in it. Then clicked Install App. Before downloading, it asked me to log in. I logged in with my account – but then it told me my account has never ...
user2568508's user avatar
8 votes
1 answer
3k views

How can I clear faulty error messages in XCode?

XCode keeps glitching out on me and listing errors in files that have long since been fixed or deleted. How can I clear all the errors and get it to start from fresh?
Seph Reed's user avatar
  • 885
8 votes
1 answer
9k views

How do I upgrade to xcode 6 beta 3 when I already have beta 2 installed?

I am currently running xcode 6 beta 2 but would like to upgrade to the new beta 3 release. Do I have to uninstall beta 2 completely before doing a fresh beta 3 install, or is there a way to upgrade ...
RandomDeduction's user avatar
8 votes
3 answers
18k views

Open application from OSX Terminal with debug printouts

I can open an application using open, like this: open ./MyApp.app But this doesn't display the application's debug printouts - which I need. If I locate the binary inside the package manually and ...
Matt's user avatar
  • 329
8 votes
0 answers
868 views

Huge process called "swift" in the activity monitor, appears after installing Xcode 11.0

After installing Xcode 11.0, a strange processes keep showing up in the activity monitor, causing the system to freeze sometimes, and crash (shutdown) other times, these processes are called "swift", ...
Ahmed Adnan Qazzaz's user avatar
7 votes
1 answer
6k views

Homebrew doesn't find XCode 4.3

When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot. admins-MacBook-Pro-2:~ ernst$ brew install ...
BetaRide's user avatar
  • 2,349
7 votes
2 answers
5k views

Mac OS X Xcode Libraries

Tired of having to change my header and library search paths in every project to be able to link libraries from homebrew in /usr/local/lib and /usr/local/include. Is there a way to make Xcode ...
Francisco Aguilera's user avatar
7 votes
3 answers
2k views

Mac OS X Lion - Xcode components simulator location

When we downloaded Xcode 4.5.1, to test applications in older simulators we installed it from Settings->Downloads->Components Now there is Xcode 4.5.2 available. Again we need to download ...
Janak Nirmal's user avatar
7 votes
1 answer
3k views

How do I disable Xcode animations?

I hope this is the right place to ask this... I want to get animations disabled for: Hide/Show toolbar Hide/Show tab bar Activate Console : Shift + Cmd + c Show Debug Area : Shift + Cmd + y Show/...
nacho4d's user avatar
  • 223
7 votes
3 answers
7k views

In Xcode how do I get files to open in the same window

I'm running XCode 3.2, and when I double click on a file in Groups and Files it always opens in a new window. What I'd like is for it to appear in the main Xcode editor. I've tried changes the ...
brianegge's user avatar
  • 1,699
7 votes
1 answer
2k views

How do you define a new language specification for color syntax highlighting in Xcode 4?

For Xcode 3 there is plenty of information available about how to define a syntax highlighting specification for a language not already supported in Xcode. But there doesn't seem to be any ...
thenry's user avatar
  • 71
6 votes
4 answers
7k views

Errors when installing Ruby to Mac OSX Lion via RVM

I was trying to install the newest version of Ruby via RVM, after I upgraded my Mac to Lion and installed the new Xcode 4.1 from the App store. I get this error in the log: [2011-07-20 16:57:15] ./...
Slick23's user avatar
  • 261
6 votes
3 answers
4k views

Downloading XCode using wget or curl [closed]

Is there a way for downloading XCode using curl or wget? EDIT: Why is the following curl snippet not working? First, I login to Apple's site: curl -d "theAccountName=USERNAME&theAccountPW=PASS" ...
Behrang Saeedzadeh's user avatar
6 votes
1 answer
19k views

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

Which Xcode version should I download for macOS High Sierra 10.13.6? Note that I downloaded Xcode 10.2, but it informed me that it requires macOS 10.14.3 or later.
salma's user avatar
  • 61
6 votes
1 answer
10k views

Can't complete installation of Xcode

I updated to Mojave and have 30GB of space available. However, I'm unable to install Xcode 10.1. "We could not complete your purchase. There is not enough disk space available to install the product." ...
user981462's user avatar
6 votes
1 answer
3k views

Keyboard shortcut to display error on line in Xcode

When a line of code contains an error, I normally have to click the red circle on the margin to view the details. Is there a keyboard shortcut for this?
domi91c's user avatar
  • 273
6 votes
1 answer
2k views

Disable magic mouse back-forward gesture only in XCODE

Is it possible to disable magic mouse back-forward gesture only in XCODE? While in browser it is fine, in XCODE it just totaly unwanted feature for me.
Nik's user avatar
  • 179
6 votes
1 answer
3k views

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

According to this site, text files (i.e. source code files) should always end in a new line. But Xcode (as of at least version 7.1) defaults to have no new line at the end of a file unless you ...
Edward Loveall's user avatar
5 votes
4 answers
16k views

Where is the Xcode dmg file downloaded to?

I'm downloading XCode 4 onto my new Mac (10.7 Lion, so no DVD) from the App Store. It's taking several hours so I'd like to save the .dmg onto my laptop, so I can install it again without going ...
Kevin Burke's user avatar
5 votes
2 answers
16k views

Show console after build and go in XCode [closed]

On my previous macbook I had some hidden defaults preference defined for XCode that showed console right after I did "Build and Go" for my app. Now on my new MB machine I can't remember which was it. ...
Eimantas's user avatar
  • 398
5 votes
1 answer
12k views

Can't find AU Lab on Mac

Can't find AU Lab on my Mac mini. I have Xcode installed. Where can I find the program?
Kurru's user avatar
  • 1,724
5 votes
2 answers
3k views

How to compile Rarcrack for Mac OSX?

I have a rar I desperately need whose password was saved as a file on a site that no longer exists :(. I'm running it on a mac osx 10.5.8 and have never used the terminal before but I figured out ...
Travis Crum's user avatar
5 votes
3 answers
12k views

iPhone not detected by mac

My Mac doesn't recognize my iPhone when I plug it. Here is the configuration: (basically everything is updated) 10.6.4 mac system (Snow Leopard) XCode version 3.2.5 iTunes 10.1.2 iPhone 4 , 16 GB, ...
user avatar
5 votes
1 answer
4k views

Do I really need 4GB of Xcode to run gVim on a Mac OS machine?

I’m using my wife’s MacBook Pro to see if it would be reasonably painless to integrate a MacBook laptop into my Linux workflow. It seems like the main port of gVim to Mac is MacVim which requires ...
Canaryyellow's user avatar
5 votes
2 answers
779 views

How did XCode/OSX do that? Moved an XCode project to another location. XCode automatically knew where it was located

Just a quick bit of background. I am a long time Windows, C# developer and for a new project for my employer, I've had to transition to OSX and begin learning iOS development. In other words, I'm ...
RLH's user avatar
  • 4,495
5 votes
3 answers
17k views

How to view file's path in XCode?

I am trying to debug another developer's iPhone project. I am using XCode 4.2 on Mac OS X Lion. Now, when I try to compile the project, I get an error saying that some files are missing. These files ...
JoeM's user avatar
  • 1,559
5 votes
1 answer
2k views

Keep Xcode from inserting copyright information in files

Whenever a new file is created in Xcode, it automatically inserts copyright information at the top of the file, like this: // // main.m // dl // // Created by Mark Szymanski on 5/9/11. // ...
Wuffers's user avatar
  • 19.3k
5 votes
3 answers
10k views

Should I use Xcode 6.1 beta, or Xcode 6.0 GM?

I'm on OS X Yosemite (latest DP), and I can't make up my mind. The Apple developer website says that 6.0 GM is for Mavericks, and the 6.1 beta is for Yosemite. But 6.1 is still in beta, while the ...
notadam's user avatar
  • 718
5 votes
1 answer
3k views

Xcode immediate autocompletion (not only to the next CamelCase)

How to make the autocompletion feature return the current suggestion (from "completion list") in full? That is, how not to jump only to the next CamelCase with TAB ... but instead have, say, CTRL + ...
Blaz's user avatar
  • 783
5 votes
2 answers
3k views

Why do my Xcode default font starts to look ugly after some time, until I restart?

I plugged in an external monitor. All resolutions match perfectly. MacBookPro LCD is closed. After restarting Xcode editor fonts look very bad. Only in Xcode. When I restart the mac and DON'T use ...
user avatar
5 votes
3 answers
2k views

What's the ClrLn command in Xcode?

I somehow ended up with a ClrLn command in my Xcode text key bindings, the Delete command. What is the ClrLn command and how did I get it to appear there? What keystroke combination on the keyboard ...
bobobobo's user avatar
  • 5,370
4 votes
1 answer
12k views

Can't Install Xcode on OS X Snow Leopard

I have tried 3.2.5, 3.2.6, 4.0.2, 4.2 etc and I get an install error immediately after providing credentials. I provide username, password. I am admin. Then I get The "Installation Failed" error: ...
Code Droid's user avatar

1
2 3 4 5
8