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.

learn more… | top users | synonyms

5
votes
1answer
302 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 ...
3
votes
0answers
54 views

Is it possible to open someone's Xcode snapshot in my Xcode?

My boss sent me a Xcode Snapshot of the project that he is working on, but I don't know how to open it and I am not sure if it's possible to open it. Can someone teach me?
3
votes
0answers
447 views

Permission denied issue in cocos2d update

I have been trying to update to Cocos2D version 2, but I always get the following lines of code in the terminal. Installing Xcode 4 Box2d iOS template ...
2
votes
0answers
1k views

Xcode: create new custom templates and code snippets?

I'm trying to tame Xcode for writing things in Perl. Naturally, I'd like to use the "IDE features", not just the text editor. That includes Perl-specific templates, which brings me to the question: ...
2
votes
0answers
134 views

Issues installing .pkg file on OS X

I'm having a real hard time installing an app I made for Mac. I created the package with Xcode 4.6.1 on OS X 10.8. I can run the .pkg fine on 10.8. The deployment target was set to OS X 10.7. However, ...
2
votes
0answers
764 views

Command /usr/sbin/chown failed with exit code 1 Error when archiving

I'm trying to archive a project to submit it to the iOS App Store, but keep getting this problem. I have already set yes to the skip install option, re-installed Xcode, rebooted and re-copied my ...
1
vote
0answers
112 views

Set idle timer to dim but not lock

Ok, I know its possible to keep the app alive by disabling the idle timer. I have an external scanner connected and every time the phone locks is somehow messes with the app and the scanner no longer ...
1
vote
0answers
243 views

command line tools installed but terminal says they're not

Running OS X 10.9 trying to upload MacPorts following their guide Jadam$ xcode-select --version xcode-select version 2333. so I have Xcode on the computer, but when I enter in xcode-select ...
1
vote
0answers
160 views

git+svn osx mavericks: fatal: Cannot open '.git/Git_exc7sv': Resource temporarily unavailable

I recently updated from Mountain Lion to Mavericks and for some reason I can't use any git+svn commands anymore, it doesn't matter which repo I use, I all get simular errors: xxx@xxx:/path/$ sudo git ...
1
vote
0answers
58 views

keyboard shortcut for Xcode context search

I know there are keyboard shortcuts to search text within current file and all project.. however I'm wondering if there is a keyboard shortcut for the search bar that appears on the left column like ...
1
vote
0answers
91 views

kxsmb not downloading libs folder

I have been trying for quite some time to download the libs folder which contains talloc_stack.h, talloc.h, libsmbclient.h, libsmbclient.a, libtalloc.a, libtdb.a, libwbclient.a, libtevent.a files.But ...
1
vote
0answers
170 views

Empty “open recent” menu in Xcode 4.6.3

So there's nothing in "open recent" and it always have been this way. I tried to "defaults write com.apple.Xcode NSRecentDocumentsLimit -int 10" (and with the other name). In settings->general ...
1
vote
0answers
40 views

XCode equivalent of Visual Studio clipboard ring?

In Visual Studio there is a clipboard ring and you can CTRL + SHIFT + V to cycle through the last 15 strings to be cut or copied. Is there an equivalent in XCode? Google seems to say no but ...
1
vote
0answers
78 views

How to restore version control in XCode?

I have just recently backed-up my XCode C++ project on my pendrive, using rsync -avu Since then, the version control for my project is lost (grayed-out) on every files, I can modify the files and ...
1
vote
0answers
211 views

access Windows shared folder with Xcode

I am developing some multiplatform software and have to develop, build and test on both, Windows and OS X. Very often I am in the situation that I have made some changes on one OS, that almost ...
1
vote
0answers
121 views

Uitextview used large amount of memory

UITextview takes lots of memory i had added uitextview directly on uiviewcontroller using xib When i run app & checked into instrument it take lot of memory how i stop uitextview from taking ...
1
vote
0answers
463 views

Mac crashing with black screen on XCode install + random other times

I have a Macbook Pro bought over a year ago without extended warranty. Lately it has started crashing as follows - the screen goes black. The last note of the music (if playing, radio or iTunes) ...
1
vote
0answers
123 views

XCode to debug gdb-debuggable executable

I have compiled a cmake-based executable that is (miraculously) debuggable in gdb. So examining hundreds of variables with the terminal becomes a little bit slow for very large projects and I would ...
1
vote
0answers
168 views

Upgrade to OS X 10.7 Lion and Xcode 4 with low disk space

I want to upgrade to OS X Lion (from 10.6.8) but only have 2.5 GB free on my system disk. I also want to upgrade to XCode 4, so I have 10 GB in /Developer that I might be able to trash (though I'm a ...
1
vote
0answers
200 views

Save As… on Mac always saves in “Library/Autosave Information”

I'm incredibly frustrated with my Mac right now. Every time I try to re-save any file that I recently opened, it doesn't overwrite the file I opened, it instead saves to a duplicate copy that is ...
1
vote
0answers
52 views

How to setup Xcode's SCM for static and dynamic site content?

I want to use Xcode 4's SCM (GIT) to manage your static and dynamic site content, which I edit and maintain with a variety of tools (CSSEdit, Dreamweaver and Espresso). I have tried creating ...
1
vote
0answers
394 views

iPhone Provisioning “Preparing to add to portal”

After connecting my iPhone to a new Mac, then trying to right click auto provision in Organizer, I get "preparing to add to portal" - ongoing for many minutes now. Any idea what's going on?
1
vote
0answers
154 views

Why is XCode's “Open file” window behavior so erratic?

I use both "Open" (Cmd+O) and "Open Quickly" (Cmd+Shift+D) in XCode to display source files in my project without having to navigate the source tree with the mouse. Most files are opened in a new ...
0
votes
0answers
8 views

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

Per this Technical Q&A: USB Prober is installed as part of the Developer SDK installation. If the Developer SDK has been installed, then locate USB Prober at ...
0
votes
0answers
10 views

Can't build using MacPorts in OSX

I've submitted a ticket here but am pretty pessimistic it'll be addressed. As I say, there, I'm running MacPorts 2.3.1 on OSX 10.9.3. In trying to install llvm-3.2, I get the following error: --> ...
0
votes
0answers
10 views

Xcode 5 Case-Sensitive .plist files

I am using Urban Airship in my iOS xcode application and have my AirShip.config file and would like to encrypt it so users cannot see it because it contains my app and secret key.... If you open the ...
0
votes
0answers
87 views

Upgraded to Mavericks, C compiler cannot create executables

Upgrading to Mavericks, I appear to have broken my Ruby on Rails development environment, which requires ruby 1.9.3 because of various gem dependencies. Within that app directory, I'm trying to ...
0
votes
0answers
43 views

Build a jenkins project with Git to manage source code fail with “no developer tools were found at 'Applications/Xcode.app'”

I have installed XCode4.6.2 in Mac, and start up a Jenkins site as "localhost:8080", when I create a job named "My First TDD Project" with free-style software project, I choose "Git" for source code ...
0
votes
0answers
38 views

Will Xcode 5.x run OK on a 2009 MacBook Pro

Will Xcode 5.x run OK on a 2009 MacBook Pro with Mavericks and 8GB of ram? I am considering buying an second-hand MacBook to develop OS X apps to sell in the mac app store.
0
votes
0answers
143 views

Is it possible to debug javascript on iOS Safari using the desktop Web Inspector?

First, let me say that I know all about the iOS simulator, and have no problems using the Safari Web Inspector to debug javascript using Safari and the simulator. That works fine. My issue is that ...
0
votes
0answers
52 views

Why is gcc --version giving this error message?

When I run gcc --version on my Mac OSX Mavericks with Xcode v5.1 installed it sends to stderr the following error output: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr ...
0
votes
0answers
86 views

How to implement working, custom key bindings in Xcode 5?

In my IDETextKeyBindingSet.plist located in Applications/Xcode/Contents/Frameworks/IDEKit.framework/Resources/, I have added three custom actions, as follows: <key>Customized</key> ...
0
votes
0answers
32 views

how to compile afloat on osx platform

I want to use the afloat app [enter link description here][link] But I only found source code, but not executable file. How to compile it , then run it on 10.9. Thanks
0
votes
0answers
50 views

Does cin work in XCode 5?

I'm just trying to get a simple input via command-line with cin, but there's no where to type the input. Is this possible in XCode 5?
0
votes
0answers
51 views

OS X 10.9.1 : g++ issue

I'm running Mavericks, and I'm using gradle for a project. But I get an error message saying: Unable to extract g++ version number. I dig a bit, and when i execute g++ -v (gradle runs it) in my shell, ...
0
votes
0answers
151 views

XCode - shortcut to hide navigator pane, hide debug console and go full screen

In XCode 5, I would like a shortcut to hide navigator pane( ⌘+0 ), hide debug console( ⇧+⌘+Y ) and enter full screen( ⌃+⌘+F ) all in 1 action ( keyboard shortcut ). A distant relative question here. ...
0
votes
0answers
88 views

Xcode 5.0.2 hanging on opening?

I updated to Xcode 5.0.2 the other day and noticed a few times that it cannot seem to open at all. It just hangs until I forcequit. I'd prefer not to re-install it, though I will if I don't have any ...
0
votes
0answers
285 views

How to install Xcode on the virtual machine?

What I have: Image for VMware with OSx 10.8.2. Xcode dmg file in the shared folder. All my volumes are NTFS, either I tried to use FAT storages with dmg file, but it didn't solve my problem. ...
0
votes
0answers
80 views

Is it possible to create a C/C++ file using XCode file templates?

I'm writing some C++ code without XCode and compiling it manually via terminal and g++. I'd love to use the so convenient XCode template files to create my classes right from the terminal, so I don't ...
0
votes
0answers
16 views

Why does Xcode open when I start OSx?

Why does Xcode open with this file every time I start or restart OSX 10.8.4?
0
votes
0answers
99 views

Change text in Xcode app based on choice in drop down?

I'm making an app in Xcode that will edit tags for songs and movies and stuff, I'm wondering how I can make it so if someone clicks a drop down box to select movie, tv episode, music, etc if I can ...
0
votes
0answers
168 views

existing xcode/cordova app using phonegap and svn

I have no idea what I am asking, let alone if its remotely possible. And if it is, how? Overall I am trying to get the www folder backed up and under version control through the use of SVN, seeing ...
0
votes
0answers
64 views

iOS simulator autolaunches after start up on OSX

The iOS simulator is automatically launching when I startup my computer. Anyone know how to change the settings so it doesn't do that? I've checked preferences in the simulator and xcode and ...
0
votes
0answers
137 views

How could I stop power going to USB Ports without stopping data transfer on a Mac?

I have an iPod touch and I am fed up with it top-up charging when it is plugged into Xcode. Is there any way that I could stop the power output through USB without stopping the data flow? Thanks in ...
0
votes
0answers
397 views

GoogleTest C++ Framework Incompatible With XCode 4.5.2 and OSX 10.8.2

I am trying to follow the instructions mentioned here for setting up Google's C++ framework in XCode Version 4.5.2 (4G2008a). First, I got "The run destination My Mac 64-bit is not valid for Running ...
0
votes
0answers
118 views

Why does Homebrew seem to require a /Developer folder with the Snow Leopard SDK?

I've had Xcode for a while (since Snow Leopard), and I installed Homebrew relatively recently (I currently have version 0.9.3). After an update to Xcode that recommended running an ...
0
votes
0answers
847 views

How can I change the apple ID that xcode uses to update?

A colleague of mine installed xCode on my Mac using his AppleId, and now AppStore asks for his ID in order to update it. I read the ...
0
votes
0answers
264 views

Error when launching PackageMaker (Xcode 4): “PackageMaker cannot be opened…”

When I try to launch PackageMaker.app, it immediately crashes with the error: PackageMaker cannot be opened because of a problem. Specs: Xcode 4 Mac OS X 10.8.1 Mountain Lion MacBook Pro I've ...
0
votes
0answers
176 views

Xcode is not opening

I'm pretty newbie on Mac. I wanna open Xcode, when I clink on the icon, nothing happens, not a warning or error, the icon jumps a little bit then stops and thats it, no Xcode or loading screen etc. I ...
0
votes
0answers
327 views

How to do a bare minimum install of Xcode such that I can compile common UNIX applications

I just got a new macbook air where every bit of SSD disk space is precious. I want to be able to compile & run most of the open source tools out there. I figured out I needed to install Xcode but ...