WARNING: Almost all questions about development or app distribution are off topic here. See the FAQs for details. Xcode is Apple's official software development environment for Mac OS X and iOS

learn more… | top users | synonyms

12
votes
3answers
5k views

Installing Xcode via command line

I am a Linux user and have never used OSX before. Someone asked me for help with installing some software on an OSX "Lion" server. I asked him to give me an SSH shell, assuming that would be ...
4
votes
1answer
563 views

Stop programs stealing focus

I'm currently using XCode in conjunction with Unity. When I initiate a build in Unity, it automatically runs XCode. XCode will then steal focus from whatever app I happen to be in. Is there a way of ...
1
vote
1answer
417 views

“New Screenshot” button is disabled in XCode Organizer

I have connected my iPhone to my Mac.. When I open XCode Organizer, the New Screenshot button is disabled.. Any idea why??? XCode Version 4.3.2 iOS 6.0.1
0
votes
1answer
191 views

Xcode code folding case statements

Is there a way to make the case statements in a switch be folded? I am using the Xcode 4.5.2
0
votes
1answer
57 views

Problem with MacPorts

I have MacPorts installed on my Mac and a lot of ports that were put on my machine years ago by my sysadmin for various purposes. There is quite a lot of garbage out there, but worst of all, the ...
7
votes
2answers
1k views

Why does Xcode still show up as an available update in App Store after being installed?

I have installed the update shown from the App Store. I have since started and used XCode. Why does this update still show up in the updates list for App Store? Is there some extra action I need to ...
4
votes
1answer
660 views

Xcode doesn't show up in spotlight results, neither search results

I haven't noticed exactly when it happened but previously I was always using spotlight to run Xcode. Now if i'm typing "Xcode" in it, only folders containing this name show up, or some xcode projects, ...
1
vote
3answers
1k views

Clear Output Screen from C program [closed]

I am using a Macbook Air. I used system("cls"); and system("clear"). That would not work. It displays on the output screen (xcode output screen) that the command cannot be found. I am using the C ...
2
votes
1answer
49 views

How can I (re)create development and build tools on a corrupt installation?

On my previous computer I had Xcode working nicely; on my present computer, with Homebrew installed, gcc and make are present in /Developer/usr/bin but not /usr/bin. On the whole when I try to ...
4
votes
3answers
3k views

How to can I upgrade Xcode 4.1 to 4.5.2 properly?

I'm trying to get Xcode up to date... but i think i have a little problem. I go in the Mac App Store. I find Xcode. I click on free button, it asks me to connect with my Apple-ID. Done. I get the ...
2
votes
2answers
570 views

What causes the temporary loss of around 20GB of hard drive space while using XCode?

I've got a hard disk of 120GB (20GB free space). I'm a developer in XCode and sometimes I get the "low disk space error"-message that I can't even save my coded files before cleaning some of the ...
0
votes
0answers
315 views

License problems installing aquaterm via macports

I am trying to install aquaterm via macports. I run sudo port install aquaterm This gives back an error: ---> Building aquaterm Error: org.macports.build for port aquaterm returned: command ...
1
vote
0answers
200 views

How does one get IOS SDK 5.0 or higher? [closed]

I cannot find IOS SDK 5.0 Did Apple remove that SDK as an option? Also, I already have the latest Xcode installed. Shouldn't I be able to select IOS SDK 5.0 within that environment? When I ...
1
vote
4answers
886 views

Unknown Xcode Instruments crash

I am running instruments via Terminal: instruments -t ...
3
votes
1answer
3k views

Missing glibtoolize

One package I want to install (lua-posix) needs glibtoolize, where do I get that? I installed XCode and that Development Console Tools stuff, brew doctor is happy, and according to the them, ...
0
votes
3answers
283 views

Unable to install Xcode on a freshly-installed OS X Lion

OK, so I own 2 macs : a MacBook Pro (running 10.8 with the latest Xcode on it) an iMac (running 10.6 on one partition - Xcode installed and all - , and 10.7 - just installed - on another partition) ...
2
votes
1answer
555 views

XCode 4.5 downloading documentation

I have installed XCode 4.5. During the installation there was an error about downloading the documentation. I did not pay much attention, but I think the error was same as that mentioned in: this ...
1
vote
0answers
496 views

How can I stop ios Simulator from crashing on Mountain Lion with XCode 4.5.1?

I have a mid-2010 MBP with Mountain Lion. I performed a format and re-install (2 times). The first and only thing I installed was XCode (most recent version is 4.5.1). I have tried to run some of my ...
3
votes
1answer
2k views

Subversion - Homebrew vs. Xcode command line tools

I have to update Subversion on my system because I'm working with a server which is running the version 1.7 and this stops me to make commits. This is the error it returns: $ svn commit svn: The ...
2
votes
0answers
1k views

Better PHP syntax coloring for XCode, and support for short_open_tag [closed]

The syntax coloring definition for PHP in Xcode (as of 5.0) is pretty poor: probably some 30% of PHP keywords are missing from the definition and are not highlighted as such PHP blocks in the middle ...
6
votes
4answers
14k views

How to download command line tools in xcode 4.5

I just installed xcode 4.5 and need to install the command line tools. The apple documentations says (with very little detail) that there is a download section in the preferences pane. I have yet to ...
1
vote
4answers
11k views

Xcode for iPad?

I don't have an Apple computer, only iPad and Debian computer but I still would like to add a feature to iOS app here. Earlier I found out that I can download Xcode, more here, from Apple Store. Now I ...
0
votes
1answer
255 views

Xcode installed but not recognized on App Store

i installed xcode directly from a dmg that i downloaded from developer site at apple, now on the app store shows up as it were not installed,(it shows install button) How i can tell to the app store ...
0
votes
1answer
256 views

Xcode tools getting working without the Xcode CD or external drive?

I would like to get the Xcode-developer things to my Macs. I noticed that Apple has started to offer some terminal things online, more here. I am still lazy to get the CDs, to get all Xcode-developer ...
0
votes
0answers
23 views

Decent laptop for iPhone development [duplicate]

Possible Duplicate: What Mac to start I have been asked from friends, and frieds of friends, for Apps running both on Android and the iPhone. Developing for Android was quite ...
0
votes
1answer
925 views

What version of GDB version is included in your Xcode?

Not sure if this is suitable for Stack Overflow or here. I'm having some problems with GDB in Xcode and I wonder if it isn't a problem with what version I'm on. I have Snow Leopard and Xcode 3.2.6. ...
3
votes
1answer
7k views

How to install iOS 5.1 Simulator if I’m not an iOS Developer Program member?

iOS 6 is finally out, and so is Xcode 4.5 that comes with the iOS 6 SDK. Unfortunately, after upgrading to Xcode 4.5, all the previously installed SDK versions have been removed and are to be ...
1
vote
2answers
141 views

Xcode auto-quit in Mountain Lion

On Lion, Xcode quit on its own when it was downloading documentation with no windows open. Is it safe to have Xcode download documentation in Mountain Lion or will it still quit on its own if all ...
1
vote
1answer
3k views

How to force ios simulator to use wifi network?

i have two network, a wifi and a cable lan. I want use together, but I want to force iOS Simulator to use only WiFi, because, lan is under proxy, protected, with a lot of limitations, etc, ect... ...
2
votes
1answer
206 views

Xcode commit view: keyboard shortcut for jumping to the next change?

When I commit my code from Xcode (File -> Source Control -> Commit), is there a command (that can be assigned a shortcut presumably) to jump to the next change in the commit view? This will allow to ...
0
votes
1answer
55 views

Help. Question about run application on IOS 5.1 [closed]

I am using Xcode 4.2 with iOS 5 to develop an application. This application doesn't include any new features provided in iOS 5.1. So, if I submit this app to App Store, can the users download it and ...
7
votes
2answers
4k views

How do I resize the iOS simulator?

I know that there's Window>Scale>100/75/50% but the scale of the retina iPad simulator is still too big for my screen to be able to test anything. Is there a way I can scale the size of the iOS ...
0
votes
2answers
268 views

How can I reduce/optimize downloads when upgrading to an SSD and installing Mountain Lion?

I am worried about downloading so many things: Here what is I have: A macbook Pro, with Mountain Lion installed (Upgraded from Lion) Things installed Xcode, Eclipse with android, RVM, GIT, And lot ...
16
votes
13answers
19k views

Xcode failed to download. Use the Purchases page to try again

Xcode is showing in the Mac App Store, ready to be updated. Clicking update results in an error: Xcode failed to download. Use the Purchases page to try again. Steps taken that didn't help: ...
3
votes
1answer
146 views

Swap is growing fast, I think I know which app is causing it, how can I check?

My swapfile has been growing fast lately, and I think I know which app is responsible, but I'm not sure. Is there a way for a non-developer to check something like that, or would you need a version ...
1
vote
0answers
301 views

How to enable press-and-hold accent character menu in text editors (i.e. Xcode)?

When I press and hold a key (i.e. a) in most programs (such as a web browser, Evernote, etc.) I see the accent character pop-up menu. However, I do not see the pop-up in Xcode or Vim, and I would ...
0
votes
1answer
140 views

Is my installation of Xcode correct?

I recently downloaded an Xcode 4.4 DMG file in Apple's Developer site and then opened it and ran Xcode. I then copied the Xcode app to my Applications folder. By doing that way, can I assume that ...
5
votes
1answer
3k views

How to use a custom text editor (like Emacs.app or MacVim) in Xcode 4?

In Xcode 3 we could change file type settings, like indicated below: Using External Text Editors with Xcode There are lots of text editors available on Mac OS X. If you shelled out good ...
0
votes
1answer
605 views

App Store Broken Download Xcode (Mac Os X Mountain Lion) Debug, Reset doesnt help!

I started download Xcode 4 within App Store, it made some 200MB, then I had to move and closed my MBP. Afterwards it didnt restart the download and I was getting nervous clicking around. End of ...
15
votes
2answers
41k views

How do I download Xcode 4.4 without using the App Store?

Following an upgrade to Mountain Lion, Xcode 4.3 no longer functions. I need 4.4. Download link I've not been able to get a link for Xcode 4.4, has anyone else found it? Reasons for not using the ...
24
votes
4answers
21k views

Where did Icon Composer go from Xcode?

I can't seem to find Icon Composer on the Xcode versions at run on Mountain Lion. Where is it? Has it been taken out? How to get it back?
3
votes
2answers
3k views

How do I restore autoconf after Mountain Lion update?

I upgraded my macbook to Mountain Lion today and found that I no longer have autoconf installed, is there a specific way to restore that or will I need to manually compile it etc? I have XCode 4.4 ...
5
votes
1answer
1k views

Is my private key available in the Time Machine backups? Where can I find it?

I've used Time Machine on my Mac to perform backups of my Lion install. My SSD failed and I installed Mountain Lion on my machine. Now, I want to recover my private key from my backup so I can ...
1
vote
1answer
861 views

FileMerge says “unable to save file” on Mountain Lion [closed]

FileMerge/opendiff used to work fine for me when i was on Lion. After upgrading to Mountain Lion, FileMerge always says 'unable to save file'. Anyone else having the same problem? Any solutions? ...
0
votes
1answer
210 views

(new) Compiler for (old) XCode

My OS X does not allow me to update to current XCode software. With the new XCode and iOS SDK, the sourcecode is compiled with a newer compiler which has some new syntax options which are missing on ...
0
votes
1answer
2k views

How to delete all NSLog's & comments from my Xcode application?

Is there anyway to delete the NSLog lines from the app by any trick/tool? I usually use NSLog's in each & every method to understand the flow of control & to know about the values of the app's ...
0
votes
1answer
769 views

iOS Simulator doesn't load iOS?

I've upgraded to Mountain Lion und also upgrade to the latest Version of XCode (V 4.4). I use the iOS Simulator mainly for Webdevelopment and not for iOS Development therefore I'm not that into this ...
20
votes
2answers
9k views

How to compile mod_wsgi, mod_fastcgi, etc on Mountain Lion (Mavericks) by fixing `apxs:Error: Command failed with rc=65536`?

I've updated to OS X Mountain Lion. Update has removed all of my python and apache modules including mod_wsgi. Now I'm trying to recompile mod_wsgi (it compiled without problems on Lion). I use ...
1
vote
1answer
854 views

Xcode 4.4: how to copy on other machine

Is it safe to just copy the Xcode 4.4 app from a machine to another or does the Mac App Store download an installer, rather than just a bundled app, and some Xcode 4.4 pieces get installed somewhere ...
1
vote
1answer
75 views

Macbook Pro Xcode Uninstall sedo .h files still there

I recently unistalled Xcode using Sedo developer in the terminal. The reason I uninstalled is because every time I searched for something in finder, millions of .h and .m files would show and crowd ...