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

0
votes
1answer
1k views

MacPorts fails to find 'make'

I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line ...
2
votes
1answer
264 views

How do I get make, gcc, clang, Xcode?

It has been almost a week as Apple has disabled downloads from https://developer.apple.com/downloads/ due to a security breach. If you don't have App Store set up for whichever reason, how are you ...
0
votes
1answer
79 views

Xcode 4.6 hangs at startup

Upon opening Xcode, without given the option to do anything else, it opens a blank editor window showing "no selection" with a spinning activity indicator. It then takes up 100% of the CPU for a few ...
0
votes
0answers
90 views

xcrun file shell script code in Mac OSX 10.7.5

I updated my /usr/bin/xcrun file on my computer running on Mac OS X Lion 10.7.5 by mistake. Can anybody send me the shell script code or any link where I can find this? FYI, I have Xcode (4.6) also ...
3
votes
1answer
5k views

Update Xcode from 4.6.1 to 4.6.3 for Homebrew

I have installed Xode downloading the DMG (not from the Mac App Store). Now each time I run brew doctor it says: Your Xcode (4.6.1) is outdated Please install Xcode 4.6.3. But In App Store > ...
2
votes
1answer
354 views

Dashcode (3.0.5) crashes in Mountain Lion (10.8.4)

I'm trying to get Dashcode to run in order to make a dashboard widget to surprise my friend. The app opens but crashes almost instantly (even in safe mode and Mavericks). The console yields the ...
1
vote
0answers
62 views

Use a custom version of clang in Xcode

I installed the recent version of clang (to /usr/local/). How do I set up Xcode to use this and not the built-in version of clang?
1
vote
0answers
1k views

XCode 5 Developer Preview With XCode 4.6.2 [closed]

Apple announced XCode 5 Developer Preview Today and I want to try it. But Before I take any step I want to know that what happen with my old version of Xcode (version 4.6.2)? Will XCode 5 Developer ...
6
votes
2answers
9k views

how to reinstall xcode command-line tools?

I had serious problems from two versions of Xcode on the same machine. I removed all Xcode app instances & many other non-System 'xcode'-related files, then reinstalled the app (4.6.2), fixing my ...
0
votes
1answer
401 views

can't install xcode, issue with MobileDevice.pkg

I am trying to install xcode on my mac version : Mac OS X Lion 10.7.5 But I'm having a problem, i download xcode version 4.6.2 from Appstore after i installed the app i clicked on the icon in the ...
1
vote
0answers
171 views

XCode repeatedly hangs on launch

I'm new to OSX and running Mountain Lion in a Virtual Box VM. Xcode was running fine and I managed to create a simple Hello World App. I restarted the VM and when I tried to reopen my project Xcode ...
2
votes
1answer
77 views

What is the relationship between the OS release, the XCode release, and the default compiler?

If you run: 'cc --version' or 'c++ --version' on a modern OS X with XCode and the command line tools installed (in my case, Mountain Lion with XCode 4.6.x) you will see that the default C ...
1
vote
1answer
389 views

pause download from appstore and shutdown then resume after restarting computer

I am using mountain lion on macbook pro. I want to know if it is posible to pause while downloading xcode from appstore and shutdown my computer, then resume my download from where i paused it when I ...
2
votes
1answer
175 views

Least intrusive way to install Ruby 1.9 on a borrowed MacBook?

I need to use Ruby 1.9 for a programming test, and I'll be borrowing my dad's MacBook Air to do so. He's running OSX 10.7.5 and has Ruby 1.8.7 What's the least "invasive" way to install a newer ...
1
vote
1answer
522 views

How do I specify what is used as the real C compiler?

I have a configure on Mountain Lion that's running into trouble: [snip] checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc checking whether the C ...
7
votes
2answers
718 views

What does Apple want for the WWDC Scholarship application uploads?

I am trying to submit my app for the 2013 Student Scholarship - form here (Dev program needed). However, I am confused about what it is, exactly, that they want: Here's a screenshot of the section ...
2
votes
2answers
919 views

Mac crash after installing XCode

I tried installing XCode on my MacBook Pro, but for some reason, it suddenly crashed. After a reboot, I saw a message my computer had to restart because of some system failure. After this message, I ...
1
vote
1answer
981 views

Delete Application from iPhone 5.1 Simulator

Strange Moment !!! I was testing my iPhone App on iPhone 5.1 Simulator. App ran very fine. But got strange situation at the time of removing App from Simulator. I followed these steps to remove the ...
2
votes
0answers
2k views

Why can't I find PackageMaker?

As far as I know, the PackageMaker should be part of "Auxiliary tools for Xcode" and can be downloaded from https://developer.apple.com/downloads. However I cannot see the "Auxiliary tools for Xcode" ...
2
votes
1answer
684 views

Xcode 4.6.1 install hangs at “Installing - less than one minute” on Lion

I have been trying to update to Xcode 4.6.1 (from 4.6) on OS X 10.7.5. The install gets most of the way through, then hangs out at "Installing - less than one minute" indefinitely. Based on old ...
0
votes
1answer
411 views

Why would SetFile be unavailable after upgrading to Mountain Lion?

I have Xcode installed, and have used the SetFile command (installed with Xcode) for some time. I just upgraded to Mountain Lion, though, and find that it is suddenly unavailable. I verified that ...
0
votes
1answer
678 views

Xcode is hidden in OS X 10.8.2

Now I am using OS X 10.8.2. I have installed Xcode 4.5 on my Mac. It has completely installed and I am able to open sample Xcode projects. The problem is Xcode is not displayed in the Application ...
0
votes
0answers
33 views

Xcode fatal confused error

I just off to lunch break for 30 minutes, when returned back, Xcode shows me this message repeatedly, don't know why this was happening, the only solution to get rid out of this is to Force quit the ...
0
votes
2answers
2k views

XCode Hangs at Startup

XCode fails to open on my machine - OS X 10.8.2. It opens the main screen and just hangs there with the spinner spinning becoming unresponsive. If I double clcik a project, it just hangs sating it is ...
1
vote
2answers
617 views

Is there a hand tool for xcode's storyboard (scrolling without scrollbars, PDF style)?

I guess the title says it all. I was looking for a way to e.g. hold down a modifier key and "grab" the storyboard so that I can stop trying to aim for the scrollbars every time I want to scroll freely ...
3
votes
2answers
2k views

Programmer new to Apple - How to efficiently switch between files in XCode?

I'm a programmer that's pretty much brand new to Apple software, and everthing is all weird and different and scary :P, so I'm trying to figure out some workflow stuff: I'm used to having a Visual ...
0
votes
2answers
1k views

xcode 4.2 on osx 10.8

Is there a way to install XCode 4.2 on Mac OSX 10.8? I need to compile some Firemonkey projects on my MBP (latest without retina) and I have OSX 10.8 installed and through normal means it's not ...
2
votes
1answer
2k views

How do I export an XCode app so I can publish it on my website, not in the Mac App Store?

How do I export an XCode app so I can publish it on my website, not in the Mac App Store?
1
vote
0answers
769 views

The working copy requires a newer version of Subversion than Xcode supports

I just installed Xcode 4.6 (I had Xcode 4.5.1). I just opened an existing project and got this message: The working copy "path/to/my project" requires a newer version of Subversion than Xcode ...
2
votes
1answer
924 views

Can the DocSets installed by Xcode be moved to an external disk?

While attempting to clean up my Air's SSD, the estimable DaisyDisk showed me that 4 GB is being eaten up by Xcode DocSets. I like keeping my friends close and my SDK documentation closer, so I'd be ...
0
votes
1answer
806 views

copy simulator from one mac to another mac osx

I'm the user with the less internet speed, one of my friend downloaded iPhone Simulator in his Xcode 4.5 to test the code in iOS 5.1, 5.0, 4.3 os too, now if I want those simulators in my mac, is ...
1
vote
1answer
286 views

Something has been wrong with my finder and Mac. How to fix?

Finder is often unresponsive. Also in many software, like xcode or any project. I used to be able to right click and select open in Finder. Now if I do that nothing happen. Zip utility is much ...
5
votes
3answers
15k views

Is it possible to compile and run an Xcode project on a jailbroken device without a paid developer certificate?

Both for kicks and for budgetary reasons, I'd like to take a package that would normally requite a developer account and build an app to run on a jailbroken iOS device. I have a 5th gen iPod Touch, ...
0
votes
1answer
127 views

Restore 10.8.2 to original developer settings

So I am at a point in a rabbit hole of troubleshooting programming problems (a lot of it seems to involve my gcc and fortran compilers, but I have long lists of libraries interfering with one another) ...
2
votes
1answer
188 views

Why do debuggers need an admin password?

Why does running LLDB or instruments require elevated privilages?
3
votes
1answer
1k views

Is it possible to download Apple's Command Line Tools for Xcode from the command line?

Background My job gives me temporary MacBook Pros for travel purposes. I get them with a fresh OS install before I leave, and when I return, they blank the hard drive. The trips usually require some ...
-1
votes
1answer
230 views

How can I program in OpenGL on a Mac without Xcode? [closed]

For reasons I won't go in to, I can not and will not download Xcode. I have Mac 10.6.8. Getting OpenGl is a WILD GOOSE CHASE. So, is there any way I can get OpenGl, without Xcode?
1
vote
1answer
155 views

How can I transfer iJoomer app to XCode iPhone simulator?

I downloaded iJoomer in iTunes, and I would like to transfer it into XCode's iPhone Simulator so I can run the app there. Is it possible to transfer an app from iTunes to the iPhone simulator? If ...
5
votes
4answers
7k views

Xcode 4.6 not installing on my Mountain Lion

I am updating my Xcode 4.5.x to Xcode 4.6 directly from Mac App Store. But I am unable to update it. First it downloads the new Xcode. After downloading, it starts installing. But while installing it ...
5
votes
2answers
4k views

How can I create a dictionary for Mac OS X?

Dictionary seems to be several versions ahead of the Apple documentation (2007). I found a good blog post about it, but everything seems different now. I installed Xcode (including the command line ...
4
votes
1answer
965 views

What does the arrow with 2 lines through it mean?

In Xcode, a lot of the shortcuts use an arrow with 2 lines though it: What is the keystroke corresponding to this?
2
votes
3answers
278 views

How can I disassociate a single app (e.g., XCode) from all file types it's mapped to? [duplicate]

Possible Duplicate: How to Change File Type Associations? Every time I get a machine that I install XCode on, it associates itself with all kinds of filetypes. E.g., .xml, .rb, even .java! ...
2
votes
2answers
10k views

Can the Xcode SDK run on Windows 7?

I want to install Xcode SDK for iPhone app development on my Windows 7 PC, does any one know is this is possible?
0
votes
1answer
335 views

Deauthorise Apple ID from the Mac App Store

I have Xcode installed using an Apple ID that I want it to be detached from. How can I login to the Mac App store using a different Apple ID and then have Xcode reattached to the new account in order ...
0
votes
1answer
472 views

Error while installing Homebrew on Lion

I started installing Homebrew on my Mac Lion v10.7.4 but got the following error. ==> Downloading and Installing Homebrew... Failed during: Error: /usr/bin/xcode-select returned unexpected error. ...
-1
votes
1answer
254 views

gcc vs. llvm, compiling c++ code, migrating from linux [closed]

i'm migrating from linux machine to mac os x. I was used to write c++ application (for opengl and opencv application mainly) using vim as editor. Now, i have installed XCode on a new 10.8 mac os x ...
4
votes
1answer
324 views

Xcode 4: key binding for “Focus code blocks on hover”

Xcode 4 has a Focus code blocks on hover setting in Preferences > Text Editing. When you hover the mouse on a Code folding ribbon, the mentioned setting has the effect shown in image below. Also, ...
12
votes
3answers
4k 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
506 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
333 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