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

3
votes
0answers
56 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
500 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
2k 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
145 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
828 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
172 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
318 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
179 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
70 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
103 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
210 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
41 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
86 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
241 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
491 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
127 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
170 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
208 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
155 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
15 views

Xcode doesn't work

I downloaded xcode 6.1 beta for Yosemite and when the download ended, I clicked on it to start programming but the program doesn't work and it starts jumping on the dock for a couple of minutes ...
0
votes
0answers
30 views

Nginx on OSX 8 (Mountain Lion) won't start - dyld: Library not loaded

I recently decided to ditch MAMP for NGINX as it's what I use in production. So far I have: Installed XCode's GCC module. Installed Homebrew Installed NGINX What I've tried: Uninstalling ...
0
votes
0answers
14 views

XCode left shift not working when in combination (for example cmd+shift+o)

My Mac decided to make my life harder and challenge me to use only right side shift key please help me bring back my beloved cmd+shift+o command.... Ok enough winning and some problem description on ...
0
votes
0answers
25 views

Objective C IDE on Mac other than Xcode?

I've Xcode installed but I want to test some code snippets without messing with the main project. I also have Eclipse installed on my Mac, is there anyway I can run Objective C code on Eclipse? Or is ...
0
votes
0answers
12 views

XCode debug interrupts my mac system sounds

Does anyone have any idea why when I am debugging with XCode for some time, the sound disappear and I mean all kind of sound(all sounds i.e. iTunes,Players,everything...), even the system ones. I am ...
0
votes
0answers
101 views

iPhone via USB sync error - “MuxClearPipeStall Can't clear pipe stall 2” and Error 0xE8000070

I'm duplicating a question from Ask Different, to see if a broader-base of users can understand what the error message "Can't clear pipe stall 2" might mean. Note: This issue is specific to ...
0
votes
0answers
59 views

Xcode keeps showing the beachball when I select something

When I select something in the xcode editor and then try to select some other text, the spinning beachball comes up and i have to wait for a couple of seconds before i can continue working. I have the ...
0
votes
0answers
20 views

xcode install doesn't work from mac teminal

So i'm trying to install the command line tool for xcode, i keep hearing to this xcode-select --install so I get the following output. xcode-select --install Usage: xcode-select -print-path ...
0
votes
0answers
8 views

path completion in major IDEs

In vim I can use the ctrl-x ctrl-f shortcut for autocompleting file paths, a nice feature that I have missed all the time in all major IDEs, I am wondering how I can do it in the following: eclipse ...
0
votes
0answers
19 views

xcode shortcut for autocompletion of filename / filepath

Is there a function in xcode for filename / filepath autocompletion? I am looking for something like the c-x c-f shortcut in vim. Like this:
0
votes
0answers
95 views

Can't build using MacPorts in OS X

I've submitted a ticket here, but I am pretty pessimistic it'll be addressed. As I say, there, I'm running MacPorts 2.3.1 on OS X 10.9.3. In trying to install llvm-3.2, I get the following error: ...
0
votes
0answers
48 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
95 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
64 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
764 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
73 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
115 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
42 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
93 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
55 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
276 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
97 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
364 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
110 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
197 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
70 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
150 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
418 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 ...