The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [xcode]

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

Filter by
Sorted by
Tagged with
119
votes
10answers
117k views

OS X computer name not matching what shows on terminal

My computer name in System Preferences > sharing is set to "archos" but is showing as "iphone" on the terminal. It just started doing this after I loaded Xcode for doing iPhone development. Last ...
79
votes
6answers
193k views

How do I install GCC via Homebrew?

I am using Homebrew exclusively (i.e. I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum.1 … But how can I install GCC? First of all, I’ve of ...
24
votes
7answers
9k views

Switch between full-screen windows of the same application in Lion

Is there a keyboard shortcut in Lion for navigating through my open full screen Xcode projects? ⌘~ is not working.
13
votes
1answer
16k views

Xcode free space requirement

I am trying to update Xcode to 8.0. My OS is 10.11.6 El Capitan. However I am getting: We could not complete your update There is not enough disk space available to install the product. I have ...
114
votes
4answers
86k views

What is the format of a .xip file

As Xcode 8 beta is available to download, I see it's distributed with a .xip extension, Xcode_8_beta.xip. What is the .xip format? What's the difference between previous .dmg format?
67
votes
23answers
93k views

Xcode failed to download. Use the Purchases page to try again

Xcode is showing in the Mac App Store, ready to be updated. Clicking update results in an error: Xcode failed to download. Use the Purchases page to try again. Steps taken that didn't help: ...
27
votes
5answers
123k views

How to set gcc 4.8 as default gcc compiler

I recently installed gcc 4.8 using brew on OSX 10.7.5 (Lion). I can now compile using gcc 4.8 by using g++-4.8 some_file.c or using the default gcc 4.2 by using g++ some_file.c I want to use gcc 4....
43
votes
7answers
30k views

How can I install the Command Line Tools completely from the command line?

I'd like to script the installation of the the Xcode Command Line Tools. On Mavericks, xcode-select --install will open a dialog prompting the user to install, but I'd like to trigger the install ...
25
votes
8answers
86k views

iPhone 7 won't charge from my MacBook Pro [duplicate]

My iPhone 7 which I recently bought doesn't charge with my MacBook Pro Retina 2015. It always shows for one second that it recharges but then something like lost connection and then again. and goes on ...
25
votes
4answers
63k views

Xcode 7 develop for iOS without developer account

I have updated my iPod to iOS 9 and want to make my own apps for it, however, I do not want to pay for a developer account because of how much it costs. I read that in Xcode 7 that you can develop ...
13
votes
1answer
2k views

Beta Command Line Tools offered as update—why?

Today the App Store is offering me the Command Line Tools for Xcode 10.0 beta 1. I do not recall ever signing up as a beta tester for any Apple software. Why do I get this update and how can I ...
-2
votes
1answer
296 views

How to run the “Build Phase” in Xcode as root

ALL, This post is spawned by this question In my Xcode I added the new Build Phase to copy .dylib files to /usr/local/lib. And then I tried to rebuiold the application by doing "Command + B". ...
1536
votes
7answers
952k views

Why am I getting an “invalid active developer path” when attempting to use Git after upgrading to macOS Catalina?

After upgrading to macOS Catalina, I tried to run git from Terminal but it kept giving me the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), ...
60
votes
8answers
41k views

Can I delete unnecessary device simulators of Xcode?

I found that Xcode on my laptop consumes much of its storage, so I am trying to delete unnecessary files in Xcode. There are four directories under Application/Xcode.app/Contents/Developer/Platforms/....
81
votes
7answers
99k views

OS X Yosemite Xcode update stuck on 'Waiting'

I recently downloaded Yosemite, and I'm trying to update my Xcode. I hit 'Update' in the App Store, and but it's been stuck at 'Waiting' for the past 30 minutes. What can I do to fix this?
11
votes
4answers
13k views

How can I create a dictionary for Mac OS X?

Dictionary seems to be several versions ahead of the Apple documentation (2007). I found a good blog post about it, but everything seems different now. I installed Xcode (including the command line ...
7
votes
4answers
8k views

Removing uninstalled Command Line Tools from AppStore updates

I have deleted the Xcode Command Line Tools from my machine by essentially removing the folder. However, AppStore still shows updates from the CLI tools, which obviously I don't want. I've been ...
4
votes
6answers
4k views

Disable OS X Server's shutdown prompt?

I've just installed OS X Server. Whenever I try to shut it down (as a local interactive user), I keep seeing a prompt that requires me to enter an admin's name and password before proceeding with the ...
15
votes
7answers
46k views

Where can I download Xcode (n) Beta?

I want to start developing in Swift. I already own an apple developer account, yet am struggling to download Xcode (n) beta. How can I do this? Thank you in advance.
11
votes
3answers
11k views

I installed Xcode but I still don't have gcc in my terminal

I just got a Mac and I'm a complete newbie, so this may be kind of a really easy question, but I wasn't able to solve it with Google or F1. I was trying to run a C program from the Terminal that ...
8
votes
1answer
15k views

How can I install .ipa file to my iPhone simulator?

I need to install .ipa file to my iPhone simulator. I tried to change the extension .ipa to .zip and extracted it. And I got the Payload folder and moved the application inside to my iPhone ...
11
votes
1answer
8k views

iOS Simulator Hidden in Xcode 4.3.1?

This is more of an "am I doing this right?" type of question... I recently performed a clean install of Lion and installed Xcode 4.3.1 from the App Store. I noticed that the /Developer folder was ...
8
votes
3answers
10k views

Archive submission failed: ITMS-4238 “Redundant binary upload”

When attempting to submit an app from Xcode 6 Organizer to iTunes Connect, I receive the following error: ERROR ITMS-4238 "Redundant binary upload. There already exists a binary upload with build ...
5
votes
4answers
5k views

Does macOS Sierra run Xcode 7.x?

Is Xcode 7.x functional running macOS Sierra to submit builds to iTunes Connect?
4
votes
1answer
5k views

How can i download an older version of Xcode

I am trying to download xCode form the appstore, but it says that i have to have a newer version of macOS but i dont have enuff space on my computer to upgrade. Its like 8 gigs or something like that ...
3
votes
2answers
3k views

Can I delete the /Developer-3.2.6 or /Developer-3.2.5 folders?

I did a quick, pseudo-system audit this morning and found an unexpected directory hogging up ~10GB of space on my drive. I assume that it's a remnant from a reasonably recent upgrade to XCode 4, but ...
3
votes
1answer
392 views

Cannot Upgrade XCode 11 to XCode 11.1

I'm unable to upgrade XCode 11GM to 11.1 for some time on my Mid 2014 MacBook Pro running macOS Catalina. I've installed XCode from Mac AppStore ages ago (IIRC circa 2014), and upgraded step by step ...
2
votes
2answers
426 views

App Store: Not enough disk space to install Xcode

Similar to Xcode free space requirement, but different details. We could not complete your update There is not enough disk space available to install the product. The download size lists: ...
2
votes
3answers
4k views

Xcode installation seems corrupt?

I've been try to download Xcode for work, but for some reason the Mac App Store is giving me a bit of trouble. Activity monitor shows some network usage, but in Launchpad it seems the download isn't ...
1
vote
1answer
897 views

Creating a project inside XCode

In fact I want to port my wxWidgets-based application over to Mac using OS X 10.8 and Xcode 5. My application at this point will consist of the main executable and couple of dylib's. So, after ...
0
votes
1answer
2k views

MacPorts fails to find 'make'

I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line ...
44
votes
4answers
38k views

Where did Icon Composer go from Xcode?

I can't seem to find Icon Composer on the Xcode versions at run on Mountain Lion. Where is it? Has it been taken out? How to get it back?
39
votes
2answers
23k views

Reduce size of the Xcode application

Is there anyway to reduce the disk space used to store the Xcode application? I only downloaded Xcode so that I could compile C and C++, so if possible I would like it to take up much less than the 9....
22
votes
3answers
9k views

Why is /usr/include missing? I have Xcode and Command Line Tools installed (Mojave)

I just upgraded to Mojave from High Sierra and installed Xcode plus its command line tools and additional tools. Nothing will compile from the terminal, everything says /usr/include is missing! I ...
13
votes
1answer
8k views

Removing XCode while keeping the command line tools (on El Capitan)

As by subject. There are a number of links, such as this that deal with the issue but are not El Capitan specific and/or are just not that on the subject or are not up to date. Is it possible to ...
22
votes
2answers
13k views

How to compile mod_wsgi, mod_fastcgi, etc on Mountain Lion (Mavericks) by fixing `apxs:Error: Command failed with rc=65536`?

I've updated to OS X Mountain Lion. Update has removed all of my python and apache modules including mod_wsgi. Now I'm trying to recompile mod_wsgi (it compiled without problems on Lion). I use ...
37
votes
3answers
51k views

Can't update Xcode

I am aware there are more questions with the same title, but I couldn't find any other post with this specific case. I have Xcode 7.0 and I want to update to the last version (7.3). But it doesn't ...
30
votes
3answers
212k 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 ...
22
votes
6answers
6k 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 ...
26
votes
4answers
57k views

Installing Xcode Command Line Tools

I performed a fresh install of macOS Mojave 10.14. Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. Now, I wish to install Homebrew which requires Xcode Command ...
33
votes
4answers
31k views

Can I code using Swift on Mavericks?

Is is possible to code using Swift on OS X Mavericks? I found the manual on iBooks but that's as far as I can get right now.
28
votes
6answers
113k views

iOS Untrusted Developer error when testing app

I am trying to make my own iOS applications by using Xcode 7 and iOS 9.0. I have successfully been able to install the app on my own iPod by following Xcode 7 develop for iOS without developer account ...
20
votes
7answers
50k views

Xcode update would not work, and now won't leave the App Store update queue

Hello I am trying to remove this update. It was not working and I ended up downloading the Xcode update directly from apple.developer, it gave me no problem. This has been my spring cleaning project ...
13
votes
3answers
4k views

Why is the Network Link Conditioner preference pane crashing as soon as I turn it on?

I am trying to use the Network Link Conditioner preference pane included with the Hardware IO tools in the developer tools to throttle Internet speeds. I can open and load the preference pane, but as ...
14
votes
6answers
28k views

How do I upgrade git on Mac OS X?

I have git on /usr/bin/git (I think was Xcode install) but it is 1.7.5.4 and I want to use the current version 1.7.7 Is there a way to uninstall that version and use the new one?
14
votes
3answers
16k views

Unable to run xcode-select --install

I am on a MacBook Air running macOS High Sierra 10.13.2 When I run xcode-select --install to re-install Xcode developer tools, I am prompted to this I choose install option which opens the agree ...
13
votes
4answers
7k views

Is it possible to run both Xcode 3 and 4 side-by-side on the same machine?

As the title says, can I have both versions of Xcode installed on the same machine?
8
votes
3answers
9k views

How to use Xcode 4 mergetool in a standalone fashion?

I sometimes have to make git merges on the console. Up to now, for resolving conflicts, I was using Xcode 3's FileMerge (you can open it on the console using the 'opendiff' command). If conflicts show,...
8
votes
1answer
852 views

Stop Xcode from Hijacking my File Associations

I typically associate certain file types with certain editors and IDEs. You know R with RStudio, Java with JetBrains, and all the other goodies with Sublime Text. But every time I install an Xcode ...
6
votes
6answers
20k views

XCode Hangs at Startup

XCode fails to open on my machine - OS X 10.8.2. It opens the main screen and just hangs there with the spinner spinning becoming unresponsive. If I double clcik a project, it just hangs sating it is ...