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
640 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
62 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
18 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
365 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
240 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
257 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
66 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 ...
1
vote
0answers
48 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
66 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
217 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
321 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
562 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
87 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
242 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
458 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
74 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
98 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
405 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
707 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
184 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
18 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
21 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
47 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 ...
0
votes
0answers
37 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
21 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
389 views

Xcode random compile errors Command failed due to signal: Segmentation fault: 11

Recently, my Xcode has been going crazy. I randomly get errors tagged while compiling an iOS app in Swift: "Command failed due to signal: Segmentation fault: 11" Which prevents the build to ...
0
votes
0answers
69 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" ...
0
votes
0answers
9 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
849 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
13 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
3 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
39 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
20 views

Deleting XCode's API usage history

XCode does not have the option of sharing app usage information when a binary is uploaded to the app store. I don't so much care what they do with it, but it takes a long time, especially on a lower ...
0
votes
0answers
108 views

How to launch an AppleScript via URL handler?

Here's my workflow, I want to create clickable links in various places that run scripts with inputs. For example, I might have a link ...
0
votes
0answers
42 views

Mysterious OS X file extension (bug?)

I know that OS X uses the Launch Services.framework to manage the file-extensions. But the icons which belong to the file-extension are part of the Info.plist in the package contents of the ...
0
votes
0answers
711 views

iPhone Simulator document directory not found in iOS 8

I am using OS X Yosemite ver 10.10, xcode Version 6.1 (6A1052d), iPhone simulator iOS 8.1 (12B411). I can't find the Developer folder in Library. i NSLog(@"Simualtor Directory %@",[[[NSFileManager ...
0
votes
0answers
140 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
265 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
116 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
1k 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
722 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
315 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
108 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 ...