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

1
vote
1answer
860 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
204 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
1k 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
755 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 ...
19
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
799 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
74 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 ...
5
votes
2answers
8k views

Can't install Xcode Command Line Tools on Mountain Lion

I try to install the most recent (july 25) version of Command Line Tools (xcode44cltools_10_76938107a.dm), downloaded from https://developer.apple.com/downloads/, but are stopped with the error ...
4
votes
1answer
4k views

Why can't I install Xcode 4.4 on Mountain Lion?

When I try to download the Xcode 4.4 update I'm presented with this error: Xcode can’t be installed on “Mac HD” because the version of OS X is too new. But the change log says that the update is ...
8
votes
1answer
2k views

Why does it appear that I apparently “do not have access to Command Line Tools” in ML?

I just upgraded to Mountain Lion, and now gcc, make, g++, etc. are not found when trying to launch them in Terminal. So I went to Xcode Preferences, Downloads, and clicked "Install" next to Command ...
20
votes
3answers
46k views

how do I transfer my iOS developer profile to another computer?

I got a new MBP and would like to transfer my certificates and profiles from my old computer. According to TN 2250, under "Transferring Your Identities," I need to transfer three sets of items: all ...
0
votes
2answers
4k views

Xcode update for 10.6.8

I would like to use a newer version of Xcode (current version on my system is 3.2.4) and the command line tools (gcc & make). I have tried to install Xcode through the Mac App Store, however I ...
0
votes
1answer
165 views

Can't transfer 4gbyte file from USB flash drive to Snow Leopard

I've been unable to transfer XCode 3.2.6, a 4gbyte .dmg file, from a USB flash drive to 2 snow leopard MacBooks. It stops at 2.2gbytes with an error. The flash drive is formatted with NTFS from a ...
2
votes
1answer
482 views

Xcode will open tiny window but not IDE?

Sometimes I quit Xcode with only a tiny window I was editing something else in. Now whenever I open my project again it will open the window but not the IDE. Is there any way to physically open the ...
2
votes
1answer
2k views

Run and build Visual Studio project on Mac OS X

Can I open a Visual Studio C++ project on Mac OS X and run the app?
1
vote
3answers
7k views

Where can I find gcc in Xcode 3.2.6?

I have a Mac with OS X 10.6.8 Snow Leopard. I'm trying very hard to learn the basics of programming in C, but I can't get my first simple program to run. I read online to go to Xcode Preferences -> ...
1
vote
1answer
720 views

How do I install Macports and Xcode for OS X Snow Leopard

I'm new to OS X and I have an older Snow Leopard system. I need to compile a few simple C programs for some analysis work. It seems that gcc et al are part of a package called Xcode, and that many ...
1
vote
1answer
2k views

Zooming on Xcode on Mac

I have seen in many tutorial videos people zoom in and out on Xcode to show the code a little better. I tried with 'control' + 'two finger swipe on trackpad' but this does not work on Xcode. What is ...
2
votes
1answer
369 views

Which versions of Xcode are not updated to take advantage of HiDPI/Retina displays?

I've been looking over the release notes for Xcode and can't find one that says it's been enabled for HiDPI mode and the retina display MacBook Pro. By enabled, I mean that Xcode will run on the new ...
3
votes
1answer
2k views

Feasible font size on the Retina MacBook Pro

I'm interested in the amount of text that can be fit into for example code editor windows such that it is still comfortably readable to someone with good vision (i.e. not needing glasses or using ...
0
votes
1answer
566 views

Code-signing issue. Getting a Build failed, with no specific error [closed]

I have just signed up for the Apple Developer Program (ADC), and did all that is necessary to make an app run on the device itself. I created an empty project and succeeded in running it on my ...
3
votes
2answers
12k views

Simulator to run iOS apps on laptop?

Is there a simulator that I can run iOS on a Mac that would allow me to launch and use apps as if I was on the device? This is for consumer testing not for development. What I am trying to do is to ...
1
vote
1answer
1k views

How do I get a Unix Executable File to run from anywhere, like Java or Git?

I've just created my first Command Line Tool in Xcode. What do I have to do, or where do I have to put the final output file, so that I can run it from anywhere from within terminal, without having ...
1
vote
1answer
152 views

How to change 2 properties in Xcode 4?

I would like to do 2 things in the xCode: enabling spelling correction in the comments. unrolling the lines of code/comment, I mean like when I have a long line of code xCode won't break it to 3-4 ...
1
vote
1answer
189 views

Unable to install Xcode 3.2.6 in Mac OS X version 10.7.3

My old app is made in Xcode 3.2.6 and now I have purchased a new Mac with Mac OS X version 10.7.3. Now when I'm trying to install Xcode 3.2.6 it completes all the process of installation but after it ...
0
votes
1answer
369 views

Upgrading Xcode using App Store download problem

I have Xcode 4.2 installed, but I need Xcode 4.3 so I can test an app on my iOS 5.1 device. However I have run into problems attempting to download the latest version from the Mac App Store. ...
1
vote
2answers
198 views

Does installing Xcode and it's mobile components slow down regular iTunes with iPhone syncing and performance?

I haven't personally noticed any differences, but is there a toll on normal usage of iTunes and syncing it with your iPhone if you fit a developer profile by having Xcode on your system including ...
1
vote
1answer
92 views

Making all application windows stay fullscreen on relaunch

I usually have 4+ fullscreen windows open whenever I use Xcode 4. When I quit Xcode, and reopen it, only one or two of the windows open as fullscreen, and the rest all open in a single desktop as ...
2
votes
3answers
2k views

Xcode installation seems corrupt?

I've been try to download Xcode for work, but for some reason the Mac App Store is giving me a bit of trouble. Activity monitor shows some network usage, but in Launchpad it seems the download isn't ...
0
votes
1answer
605 views

Install Clang 3.1

What would be the best place to manually install llvm/clang binaries in OS X 10.7 without conflicting with existing/future versions shipped with xcode? Thanks!
2
votes
3answers
513 views

How can I get Xcode to install under Lion?

I'm slightly confused under Lion as to how to get dependencies in place for Homebrew. It wants Xcode in place, and I can go to the app store and click on "Install", and it dutifully says ...
4
votes
1answer
5k views

Why does Xcode always have trouble submitting archives to iTunes? [closed]

Some Background Xcode not submitting to iTunes flawlessly has ALWAYS plagued me! I just don't understand what's going on, ever! I know what I am doing, I have quite a few apps in the iTunes App ...
1
vote
2answers
1k views

Does Xcode Has Keyboard ShortCut for going back and forth in programming?

In xcode you can go back and forth in your program by swiping the mouse. Is there an additional keyboard shortcut for that? In visual studio 2010, for example, you do so by Ctrl - and Ctrl Shift - ...
0
votes
1answer
766 views

Force style of push notification? [closed]

I was wondering - is there a way to force how a push notification will appear to the iPhone user? There are 3 options in settings for the user to choose - none, some kind of top banner that ...
6
votes
2answers
5k views

How do I rename a file in git that differs by case only?

In my git (Xcode) project, I committed a filename with improper case. Now I went to try to rename it, but when I commit, I get: fatal: Will not add file alias 'MyProject/MyFile.h' ...
2
votes
1answer
465 views

What are some good resources for learning how to AppleScript with Xcode 4.3.2?

I AppleScript quite a bit and I'd like to start working with Xcode 4.3.2, so that I can expand the functionality of the things I'm writing. However, I have no idea how to use Xcode, nor how to ...
2
votes
0answers
1k views

How to install PhoneGap with Mac OS X Lion(10.7.3)?

I have a Mac OS X Lion(10.7.3). Now I want to install PhoneGap in my XCode. My XCode version is 4.3.2. I followed the instruction of installation from PhoneGap web site at the time of installation. ...
3
votes
1answer
2k views

Cannot change font size in Xcode 4?

Everywhere I look I see that in order to change the Font size in Xcode I simply click on the "fonts window button". However, I can't. I have a default install of Xcode, just started trying to use it ...
6
votes
3answers
515 views

As an iOS Developer, how can I avoid upgrading to Lion?

I have been an iOS developer for quite some time now, and I am still using Xcode 4.2, because the new version is now only available for Lion. My problem is that after reading the reviews for Lion in ...
2
votes
1answer
450 views

Is anybody else experiencing disappearing source files when using Xcode 4?

I've been having a weird problem on a MacBook Pro; My source files disappear. It can happen when the files are not open in any application (although they are referenced by active projects in Xcode and ...
14
votes
2answers
3k views

Why is the Network Link Conditioner preference pane crashing as soon as I turn it on?

I am trying to use the Network Link Conditioner preference pane included with the Hardware IO tools in the developer tools to throttle Internet speeds. I can open and load the preference pane, but as ...
1
vote
2answers
375 views

Recover Folder from xcode project

I feel sick... I just accidently deleted the www folder of my phonegap app in xcode 4.2. It's not in finder or trash. From what I read, its actually deleted. I have tested on my ipad. How can I ...
1
vote
2answers
1k views

Is Eigen provided with XCode?

I found out that I have some Eigen file in /usr/include/eigen3/... Is Eigen provided by deafult with XCode 4.3 or were them installed by me with a package manager like macport or homebrew? I'm ...
1
vote
1answer
131 views

Xcode stops running when I don't watch it for a while. What's wrong?

I am (trying to be) running Xcode 4.3.2. on Lion 10.7.3 I noticed that when I stop watching Xcode and walk away from the computer for a while (like half an hour or so), Xcode in the mean time stopped ...
7
votes
1answer
2k views

I installed latest Xcode (4.3.2) which comes as package, can I delete the older versions?

According to apple, Xcode in the Mac App Store has been repackaged, and is now distributed as a stand-alone application. Can I safely remove old versions of Xcode which are using a lot of space? ...
7
votes
2answers
11k views

GCC not found, but Xcode is installed

I have Xcode installed, but when I type gcc in terminal I get "command not found". Maybe I messed up the $PATH variable? What is suposed to be the default value? EDIT: (...):/ imac2$ echo $PATH ...
0
votes
3answers
990 views

Xcode and Lion on a MacBook 2007?

I'm considering buying a used MacBook (mid 2007 model) with 2GB of RAM and Mac OS X Lion. I am going to use this as a secondary computer to learn iOS development and to become more familiar with Mac ...
3
votes
2answers
107 views

Is there a way in Xcode to create a file not associated with a project?

I know that I can do this if I open a text file and use Xcode but often when working on a project, I want to have a temporary place to write something (usually stuff that I'll be copying into the ...
1
vote
1answer
1k views

Copying Xcode.app from App Store to another computer (under different Apple ID)

I don't want to re-download the 1.4GB of file, and the app itself is free. We're both Apple developers. Is there any way I can copy mine to his machine? This is the current version of Xcode that ...
3
votes
2answers
624 views

Xcode Keyboard Shortcuts Conflicted

Xcode has a preferences window that allows you to set keyboard shortcuts but many of my shortcuts are conflicted. I've looked through all of system preferences for anything using these key ...