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

4
votes
0answers
171 views

How to force a new line at the end of a file in Xcode

According to this site, text files (i.e. source code files) should always end in a new line. But Xcode (as of at least version 7.1) defaults to have no new line at the end of a file unless you ...
4
votes
0answers
658 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 -------------------------------------------------...
3
votes
0answers
63 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?
2
votes
0answers
19 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 ...
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
389 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 ...
2
votes
0answers
273 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
1k 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 ...
2
votes
0answers
272 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
130 views

PHP documentation plugin for Xcode

Does anyone know if there are any plugins that allow Xcode to use code completion and documentation for PHP? I realise there’s a similar Xcode/PHP question on Super User but that was from five years ...
1
vote
0answers
143 views

Xcode quick help not working with Swift

I have Xcode Version 6.4 (6E35b) and I'm trying to use the documentation. When I hold options and click a string class or something...the little help pop-up appears but then when I click "String" ...
1
vote
0answers
88 views

OS X Server - disable shutdown prompt or solve it that it won't show

I have promt with information that another user is logged in and that this user could loose data when I shutdown computer: I am almost certain it's because I install OS X Server and I connected it ...
1
vote
0answers
241 views

Why does Xcode 6.1 always ask for admin password for developer tools each new login

This is annoying. I keep separate accounts for security and don't remember having this problem (feature?) on Mavericks. I am on Yosemite and using Xcode 6.1. Every first time use of Xcode I have to ...
1
vote
0answers
341 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
610 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
90 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
252 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
531 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
79 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
100 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
437 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
733 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
151 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
189 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
55 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
398 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
158 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
108 views

XCode 7 autocomplete suggestions don't work properly and are very confusing

I have some static int const variables in a file a.h . I am including them in another file b.h like so: #include "a.h" The a.h looks something like this: static int const PIZZA = 0; static ...
0
votes
0answers
46 views

How to force case-sensitive auto complete in XCode (7.2)

It looks like there used to be a way to do this: Older Article However, now it appears to be missing from the preference screens. Am I missing it? If not, is there a way to do more advanced ...
0
votes
0answers
86 views

Commit failed (details follow): 'Icon-60' is not under version control (1)

Having trouble committing a project to Subversion from Xcode. Added new app icon. The file is named "Icon-60@2x.png" as suggested by naming convention by Apple. After adding the file I marked it as "...
0
votes
0answers
31 views

Safari in iOS simulator spinning wheel

Since I updated to El Capitan on my Mac Mini i7 16Gb ram, I get a spinning wheel each time I try to test a website in iOS simulator. I scroll down and it seems to happen on website with Javascript and ...
0
votes
0answers
41 views

Xcode quiting unexpectedly

I'm getting an error Xcode 6.3.1 quit unexpectedly whenever Xcode is opened. This was working fine till last night. I have tried restart system but didn't worked. Reinstalling won't be feasible ...
0
votes
0answers
60 views

Git related Issue with Terminal commands on my Mac OS X 10.10 (Yosemite)

My question follows a previously answered question in this forum. But I have an even stranger problem. The same screenshot about Git command requiring Xcode installation is appearing on my Mac OS X 10....
0
votes
0answers
58 views

How to disable Window ResizeTime in Mac OS 10.10.5?

I want to disable the ResizeTime animation feature in Yosemite 10.10.5. Like this posting, I have tried many solutions. Here is another one I tried. I'd prefer to have this feature turned completely ...
0
votes
0answers
29 views

how to set up Xcode 6 in Yosemite to build mex files for M2015b

I cannot find med-file templates for Xcode 6. Im getting the error "mex.h 'not found" even though I added the directory to the build setting. There two problems amy or not be related. How do set up ...
0
votes
0answers
10 views

Sent actions Selector not applyable

I'm having some issues using Xcode, I do have my .xib file containing two help buttons. But, I can't or don't know how to apply a selector on those. Here you see the .xib, containing the two help ...
0
votes
0answers
860 views

Xcode 6.4 update fail

I tried to update my Xcode with App Store and it says that Xcode is updated, but actually, when I run Xcode, runs previous version 6.3.2. How can I update Xcode by hands? Terminal: xcodebuild -...
0
votes
0answers
14 views

Using Apptivate w iOS Simulator : Activating a program which doesn't have an .app folder

I'm using apptivate to tie between keyboard shortcuts and apps for easy access. Using Apptivate is simple, add a new program to the list from the file system, then add keyboard shortcuts for it. The ...
0
votes
0answers
5 views

Is it possible to automate debugging in Xcode using scripts?

I'm struggling right now to debug an issue in a large C++ code base in Xcode. Right now, I'm trying to use breakpoints to isolate the issue and figure out where problems are occurring. However, the ...
0
votes
0answers
48 views

Launchd Daemon with aqua session

I wanted to set up jenkins slave on some box running mac OS X to compile my swift project and it seems to be surprisingly hard. In order to achieve this i set up jenkins slave using JNLP. And i wrote ...
0
votes
0answers
145 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
320 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
121 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
802 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
19 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
328 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
115 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 didn'...
0
votes
0answers
259 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
484 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
156 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 uninstall-developer-...