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

1
vote
1answer
147 views

XCode - how to “export” app solution

I am very new to coding, especially to using an IDE like XCode. I have a finished app that I'm done compiling and testing it within XCode itself. I wish to create a file that the user would ...
2
votes
1answer
372 views

XCode debug error Thread 1

Ok so I'm trying to work with swift on XCode but every time I start to run my code I get this Thread 1 Queue: com.apple.main-thread(serial) What does this mean?, and how do I fix it? Also i've ...
1
vote
1answer
51 views

Processing of Port Wine Failed

I was in the process of installing Wine on terminal (via Macports), and encountered this hurdle while "computing dependencies": "---> Verifying checksums for xorg-libpthread-stubs Error: ...
4
votes
1answer
153 views

Install Xcode without admin

Is there any way to use Xcode on a computer that I don't have admin permissions for? Is there a way to at least use command line tools like git and gcc?
0
votes
2answers
1k views

Installing Xcode command line tools error: The package “DeveloperToolsCLI.pkg” is untrusted

When I try to install the Xcode Command Line Tools I get the error message: "The package “DeveloperToolsCLI.pkg” is untrusted." I can't seem to find the answer to this problem anywhere, how do you fix ...
1
vote
1answer
80 views

Running Xcode 6 on 2009 iMac

I currently have Yosemite on my Early 2009 iMac. This iMac has a 2 GHz CPU and 2 GB of ram. However, whenever I try to run Xcode 6 on this Mac, it is slow-very slow. When monitoring my cpu, it hovers ...
1
vote
0answers
384 views

Install multiple different versions of Xcode

I am on Yosemite and trying to compile a software package using g++. Compiling this particular package has previously worked on Mountain Lion under Xcode 4.6.3, but now I have Xcode 6.1.1, and the ...
1
vote
4answers
1k views

iOS Simulator installed app location in Xcode 6.1

I am trying to locate the actual location of app installed on iOS Simulator. I am using OSX 10.9.4 with Xcode 6.1 Already tried looking Application Support folder but can't find the simulator ...
1
vote
1answer
1k views

Installing Network Link Conditioner for All Users (Yosemite)

I'm currently deploying "Network Link Conditioner" out to my web team. It's the latest version from the Apple Developer Website (October 16, 2014 from Hardware IO Tools) and I'm installing it on 10.10 ...
1
vote
0answers
33 views

How to find xcode headers on OSX

I'm writing a C program that links to libxml2: #include <libxml/tree.h> #include <libxml/parser.h> On Linux the libxml2 headers are in /usr/include/ and the compiler finds them ...
0
votes
0answers
256 views

Xcode 6.1.1 OpenMP/MPI

I just downloaded Xcode 6.1.1 on my MacBook Pro hoping that it would have the ability to compile code written with either the OpenMP or MPI libraries. However it appears it does not. I was reading ...
1
vote
1answer
164 views

Why do symlinks sometimes vanish in Xcode?

The source files of interest are on a network share hosted on a Win7 machine, but the symlinks are created on this Mac using ln -sf These are .h files, and sometimes one or more of them are not found ...
0
votes
1answer
104 views

How to contact Apple Support?

I had a Apple developer program account. I was the company owner, and I had a user account. I lost control of it a couple of years back, when Apple got broken into and suffered one of their data ...
2
votes
1answer
71 views

Xcode 6.1.1 writes too much data to disk

Recently I noticed that Xcode writes too much data to the disc. Within just 40 hours it wrote more than 13GB to the disk. I restarted Xcode to see what actions cause this insane data transfer. I ...
4
votes
2answers
677 views

Is using the Sprite Kit default spaceship image in my app a copyright infringement?

I am developing a game using sprite kit. When we create a new Spritekit project, by default a spaceship image is present in it. I can delete the icon and make my own but I really like that icon for ...
0
votes
1answer
415 views

How to launch an iOS Simulator with Safari open using a single command?

I am looking for a solution to launch the iOS Simulator from command line with Safari launched by default. Launching the simulator from command line is easy. So is the launching of Safari. But I want ...
1
vote
1answer
398 views

Xcode 5.1.1 together with xCode 6.1.1 - simulators deleted

I had Xcode 6.1.1 installed together with the iOS8 simulators but I need to be able to test websites with iOS7 also so I installed Xcode 5.1.1 also and named it to this. (I also renamed Xcode 6.1.1 to ...
0
votes
0answers
77 views

Old version of iOS app after Time Machine restore

Running OSX 10.10.1 Yosemite. Xcode 6.1.1. I was running 10.10 and it was terribly slow, so I did a back up with Time Machine, and did a clean install of 10.10. It made everything much faster, if ...
1
vote
1answer
107 views

Difference between “Get Xcode” and “Install”

I've just upgraded to Yosemite, and I'm getting the following dialog box: The "cc" command requires the command line developer tools. Would you like to install the tools now? Choose ...
5
votes
1answer
249 views

Why is the process named geod in my iOS simulator trying to access irs.gov?

I'm developing an app that has absolutely nothing to do with anything other than specific external audio-related hardware. While running my app in the iOS simulator, I got a message from my ...
0
votes
1answer
21 views

XCode change Comment SYMBOL

I know how to change key-bindings. My question, which is almost nowhere to find on google: could someone please tell me, how to change the comment-symbols. For example, I want to sometimes define them ...
0
votes
1answer
22 views

Xcode GUI adjusting location of Navigator-Menu

How can one adjust the view settings, so that the Navigator-Menu (see image) appears on the right or on the bottom, etc.? UPDATE: Thanks, jherran, for telling me the name of this menu.
6
votes
2answers
398 views

Can't paste into Xcode

In the past few months, I have been unable to paste text into XCode. I can paste from xcode to xcode. I cannot paste from anywhere else. The cursor moves the amount of characters that are supposed ...
2
votes
2answers
462 views

Yosemite Can't start Xcode 6.1.1 with error -10699

Recently i upgrade to Yosemite, but i can't start my Xcode, when i try to start it via terminal using open -a xcode i got error: failed for the application Xcode.app with error -10699 Any ...
0
votes
1answer
88 views

Test Flight - How long does it take to transfer an App to a device?

I was playing around with Test Flight - to put a version on my colleagues phone took 24-48 hours while we were separated. Normally he would work beside me and I can just directly compile to the device ...
0
votes
1answer
233 views

Xcode C++ project adds C style header formate to new files

I just started using XCode to do basic C++ programming. I have noticed something strange. When Im working on a C++ project, and want to add a new C++ source file, the automatic generated file is ...
0
votes
0answers
42 views

Xcode's 6 interface builder missing origin

In Xcode 5 there was a section called Origin that allowed you to change the origin of position or size: After upgrading to Xcode 6 I can't find it.
0
votes
0answers
19 views

Build failure on Mavericks

I am unable to build my project on Mavericks. I have a MacBook Pro with OS X 10.9.5(13F34). I am hitting this error. fatal error: 'assert.h' file not found I already searched the net & saw many ...
1
vote
1answer
199 views

Xcode: TAB key for indenting selection

I hope that somebody here can suggest me a way to make the TAB key indent a text selection (i.e., could be multi-line and not just one line) in Xcode. In Xcode preferences, I set TAB as the shortcut ...
0
votes
1answer
254 views

Xcode 5.1.1 and Xcode 6.1 crash when creating a new Project /File/Workspace on Yosemite 10.10.2

Xcode 5.1.1 and Xcode 6.1 crash on create new Project /File/Workspace on Yosemite 10.10.2 I'm running xcode 6.1 and 5.1.1 on OS X Yosemite 10.10.2. I'm unable to create a new project, as you can ...
0
votes
0answers
15 views

How can I disable this “Just enjoy swiftly” dialog? [duplicate]

Looks like this dialog come with Xcode? Press Command key for a while and it bumps out: Any ideas?
11
votes
6answers
2k views

Save file to hidden directory with standard OS X save dialog

Using TextEdit, when I try to save example.txt to some hidden directory, for example ~/Library, I can't because save panel doesn't show them. The only way I found was to save file to non-hidden ...
1
vote
2answers
233 views

MacPorts can't recognize Xcode version properly

I've tried to run the following command to install "automake" package on my Mac: MacBook:~ administrator$ sudo port install automake Password: Error: The installed version of Xcode (5.1.1) is too old ...
0
votes
1answer
43 views

Cmd click on top of Xcode used to open a Finder - this no longer works in Yosemite

I used to be able open a Finder window by Cmd clicking the title at the top of the Xcode window. However, in Yosemite, with its new slimline display, the title is no longer shown. Is there a fix or ...
5
votes
3answers
963 views

Duplicate icons in Applications Dock Stacks

A picture is worth a thousand words. I have a shortcut (not sure what the official word for this is) to my Applications folder in my Dock. When opening it, I see multiple copies of the icon ...
1
vote
0answers
18 views

Xcode 3.2 - Directly link to URL [closed]

How can I make a button link directly to a URL in Xcode 3.2 Snow Leopard? I want the user to press a button on the app and be taken to a website. I've tried following later Xcode tutorials but some of ...
0
votes
2answers
7k views

install an older version of xcode on mac lion 10.7

I want to install xcode on vmware image mac os x lion 10.7 .. I went to app store but it won't let me download because it's the latest version which not compatible with lion 10.7 .. I don't have an ...
4
votes
2answers
4k views

How to use gcc or git without installing xcode?

I am a newbie of Mac user. I can see there are gcc, git, etc in the "/usr/bin" folder. But when I want to use them, it prompts like this: MacBook-Pro:~ nan$ git xcode-select: note: no developer ...
2
votes
1answer
41 views

Macports with Xcode CLI tools only

I ve installed the latest version of MacPorts and Xcode CLI tools for OS X 10.10 - I don't want download 4GB of data because I need only GCC. Everything looks fine - I can download and compile ports, ...
2
votes
2answers
78 views

can you load an app developed on a mac “in the cloud” onto your ios device?

I'm curious if it would still be possible to develop for the iPhone with a non Mac laptop. Assume I buy some sort of "Mac in the cloud" solution (they exist), can I download apps I'm developing onto ...
0
votes
0answers
143 views

Making clang always look for libraries in /usr/local/lib

I'm using homebrew and have a lot of libraries in /usr/local/lib as well as include files in /usr/local/include. What is the easiest way to make sure that clang and ld in all circumstances will look ...
2
votes
1answer
498 views

How to use Xcode 6 debugging for single C file

Xcode 6 has Run, build, pretty much everything in debug menu greyed out for a single C file that I open in Xcode. This is a prebuilt program. I wish to debug it, and make changes to the file, but it ...
6
votes
1answer
9k views

Enable “Developer” inside the “Settings” app on iOS

Before Xcode 6 one could go to the Xcode Organizer window. Tap on the Devices tab. Select the connected device and click the "Use for Development" button. See here. However with Xcode 6 there are no ...
1
vote
0answers
54 views

Copying Xcode.app to another location causes system lockup

Whenever I try to copy or compress Xcode.app on a computer (downloaded from the Mac App Store, currently version 6.1), the system completely locks up, just allowing me to restart with Ctrl+Cmd+Power. ...
-1
votes
4answers
1k views

Xcode 6.1 , Storyboard, Ctrl+Drag doesnt work, not even blue line

I just upgraded to XCode 6.1 I started to create a Mac, Cocoa application. In story board, i put a button on view controller, and tried to CTRL+DRAG it to the source code. Problem is that it ...
0
votes
1answer
147 views

Can I add a couple of text files in Xcode for write and read

I'm using Xcode for developing in C++ language. Is it possible to add a couple of txt files to write and read from them? It is a very cool feature to test a project in a lot of tests.
2
votes
3answers
11k views

What are the minimum and recommended hardware requirements for Xcode development on OS X?

I am a freelancer programmer and so far I have only worked on projects on Windows platform. I don't have much idea about OS X hardware. I am not looking for a very high end configuration but ...
0
votes
0answers
180 views

Transparent icons for OS X in Xcode 6.1

does somebody knows how to create transparent icons for OS X in Xcode 6.1? I have made transparent PNG files, but once I put them into Xcode as part of the iconset all icons get a white background. ...
6
votes
2answers
245 views

Xcode 6 on Yosemite: Give me back my title bar!

On prior versions of OS X and Xcode I constantly used the title bar right-click to view the folder hierarchy of the Xcode project: right-click the title bar and open up the containing folder (or an ...
1
vote
3answers
3k views

Can't start xcode - stuck on installing state

I was tring to upgrade xcode because it didn't let me upload to apps to itune. now it's stuck in installing state (few hours) and doesn't start: Xcode is being updated Xcode can not be opened while ...