Questions tagged [xcode]

WARNING: Almost all questions about development or app distribution are off topic here. See the Help Center for details. Xcode is Apple's official software development environment for Mac OS X and iOS

Filter by
Sorted by
Tagged with
12 votes
1 answer
20k views

I Would Like To Open Files in Different Tabs in the Same Window Using Xcode 5

I'm new to using Xcode. When I started using Xcode a couple of weeks ago I had a file list to the left and had three tabs open for different files. I'm not sure if that was a default setting or not. ...
Pamela Cook - LightBe Corp's user avatar
12 votes
1 answer
17k views

Completely uninstall iOS App and all associated data

Background I am a server-side developer working on an API for an iOS app. From time to time as we are in development (when we have big database changes) we reset our server. This process clears all ...
Levi Putna's user avatar
11 votes
3 answers
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 ...
Andrew Latham's user avatar
11 votes
4 answers
23k views

Can't install NTFS-3G on macOS BigSur

Hi I'm trying to install NTFS-3G on macOS BigSur but every time I run brew install ntfs-3g it reports Error: ntfs-3g has been disabled because it requires FUSE!. Obviously I've already installed ...
Matteo's user avatar
  • 111
11 votes
1 answer
16k views

Conditionally run program using Rosetta 2 on M1 Mac

Is it possible to start a program using the command line in a way that has it run by Rosetta 2, without having the application setting that forces the program to always be running under Rosetta 2. e.g....
MichaelK's user avatar
  • 111
11 votes
2 answers
40k views

Xcode 5.1 won't launch -- "being updated" -- but already installed

trying to launch Xcode 5.1 and keep getting "Xcode is being updated". It was updated last week and shows as installed. Screen shots to illustrate. Any ideas? I went to the developer portal, but it ...
ToddB's user avatar
  • 253
11 votes
1 answer
11k views

What does the arrow with 2 lines through it mean?

In Xcode, a lot of the shortcuts use an arrow with 2 lines though it: What is the keystroke corresponding to this?
bobobobo's user avatar
  • 240
11 votes
1 answer
31k views

Homebrew not detecting latest Xcode and Command Line Tools, and not uninstalling them either

I have macOS Mojave version 10.14.5 installed with Xcode version 10.2.1 and Command Line Tools installed using xcode-select --install. All problem started when I tried to install youtube-dl formula on ...
damaihati's user avatar
  • 399
11 votes
4 answers
4k views

How to uninstall Xcode IDE without completely removing the dev tools

I wanted to enable the developer libraries in Mac (RoR, Perl, gcc etc.) so I installed Xcode 3.2. I am only interested in these command-line tools and will not be using Xcode (or other GUI tools with ...
sfactor's user avatar
  • 211
10 votes
8 answers
32k views

Xcode failed to download, use the purchases page to try again

I continue to get this error each time I try to install xcode: "Xcode failed to download, use the purchases page to try again" This is with the newest OSX 10.10.3. I found this thread: Xcode failed ...
Eric Conner's user avatar
10 votes
3 answers
7k views

Upgrade to Big Sur Beta 3 Broke Brew Build system

Today I upgraded to Big Sur Beta3 and I cannot install anything with Brew. I get the error: Error: Your Xcode (11.6) is too outdated. Please update to Xcode 12.0 (or delete it). Xcode can be updated ...
Stefano Mtangoo's user avatar
10 votes
1 answer
19k views

Broken Git installation on my Mac. How do I fix it?

I've had git running on my MacBook Pro (macOS High Sierra 10.13.6) for ages. I recently uninstalled Xcode because I never use it, but that seems to have broken Git and I can't figure out how to fix it....
Sharon's user avatar
  • 203
10 votes
1 answer
10k views

What are Icon\r files and how do I delete them?

I notice that within my xcode project I see an Icon\r file. When I go to the folder where the project is from finder, I don't see this file. I believe this is some sort of hidden file that I should ...
atbebtg's user avatar
  • 203
10 votes
2 answers
10k views

How to update XCode with a different userid?

So i have been given a macbook by my employer which was used by previous developer for iOS development. Now Appstore is asking me to update XCode to new version and when I am trying to update , it ...
yogsma's user avatar
  • 203
10 votes
2 answers
9k views

Is it possible to install Xcode 9 on a mid 2009 MacBook Pro 17 inches?

I'm looking for a MacBook to develop iOS apps and I've found this mid 2009 17 inch MacBook Pro at a reasonable price. Does Xcode 9 run on it?
DomeWTF's user avatar
  • 201
10 votes
3 answers
48k views

Is it possible to select which version of Swift to use in Xcode?

There's an update for Xcode 6.3 and it includes a new version of Swift (1.2). If I update, do I have to migrate all my Swift code to 1.2 or can I select an older version of Swift?
harinsa's user avatar
  • 203
10 votes
3 answers
78k 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 ...
user1's user avatar
  • 211
10 votes
1 answer
4k views

XCode : How to use cmd + x to either cut the current line (if no text is selected) or cut the selected text

Pressing cmd + x without selecting text in other IDEs, cuts the complete line. Same goes for cmd + c which copies, instead of cutting. Otherwise, if some text is selected, only that region is cut. ...
Saurabh Shrivastava's user avatar
10 votes
3 answers
62k views

Running an iOS Emulator on Mac

I can't seem to find any updated (or reliable) sources of iOS emulators for Mac, I am running Sierra. At first I believed that in Xcode, when I went to run my app, was running an emulator, but I was ...
chriscrutt's user avatar
10 votes
1 answer
4k views

Temporary dyld_shared_cache taking a lot of space

I am developing an application with Flutter and using an iOs simulator (iPhone 8 13.4). I noticed that while I am running my application (I am using VSCode), a lot of space is taken by some files. ...
Lukas Naruševičius's user avatar
10 votes
3 answers
21k views

Remotely distribute an iOS app compiled in Xcode 7 without App Store, developer program sub, or jailbreak?

Following these instructions (see also Apple's developer documentation and BoltClock's answer to Test iOS app on device without apple developer program or jailbreak), I was able to compile an iOS app (...
ziggurism's user avatar
  • 616
10 votes
1 answer
18k views

Can I download xcode 6 without dev account? [closed]

I don't want to download iOS 8 or so, but I want to start learning Swift without paying 100$. So, is there a way to download xcode 6?
Marek Fořt's user avatar
10 votes
1 answer
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 ...
Jared Cobb's user avatar
10 votes
0 answers
2k views

Xcode Simulator - Show White Devices Instead of Black

When I run Xcode Simulator the devices are simulated with black cases. I'd like to be able to toggle to show devices with white cases to see them easier. I don't see a setting in Xcode for that. Can ...
Matt Smith's user avatar
9 votes
4 answers
12k views

How to recover from deleting Xcode CoreSimulator devices from disk?

By mistake I deleted ~/Library/Developer/CoreSimulator/Devices from my Mac so all my Xcode simulators were deleted. Now none of my Xcode projects run. When I try to, an alert shows that no simulator ...
Yuvrajsinh Vala's user avatar
9 votes
3 answers
2k views

"Temporary new" MacOS installation for testing in my own machine

I own a Mac Mini 2014 running Big Sur. I've developed a program and I would like to test it in a "clean" environment, like the first day I've purchased the Mac. In particular, the frameworks ...
TheUnexpected's user avatar
9 votes
3 answers
11k views

Xcode comment selection shortcut not working on European keyboard

I have an Apple keyboard (Norwegian) with numeric keypad and I can't get the Xcode shortcut for comment selection (cmd + /) to work. I have to change to Input source = US every time I want to comment ...
KML's user avatar
  • 193
9 votes
2 answers
18k views

Does iOS simulator in Xcode allow AppleID sign in?

I am interested in using iCloud for Windows for syncing bookmarks between Windows browsers (as a replacement for Xmarks, which is shutting down). I installed iCloud for Windows and used my AppleID to ...
ASR's user avatar
  • 93
9 votes
1 answer
4k views

Is there a way to code sign ad-hoc iOS apps for longer than 7 days in Xcode?

I know, on Xcode, you can create an iPhone app, and test it on your own phone via USB cable, but this expires after 7 days. I want to create a swift app just for my iPhone and not have it expire so ...
Iain's user avatar
  • 193
9 votes
1 answer
10k views

What's the relationship between homebrew and xcode command line tools?

Are they the same thing? I was reading the "homebrew-php" github page, and it mentions about xcode and its command line tools. My understanding about homebrew is it is a package manager like npm, ...
shenkwen's user avatar
  • 195
9 votes
1 answer
19k 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 ...
Prasanth S's user avatar
9 votes
1 answer
5k views

No Shark on OS X Lion?

I can't find Shark on OS X Lion. The most recent Xcode is correctly installed, but I can only see Instruments. Has Shark been made obsolete by Instruments ?
Stefano Borini's user avatar
9 votes
1 answer
9k views

Is it possible to use FileMerge as standalone app?

I'm wondering if there is a way to use FileMerge as a standalone tool. I don't want to install Xcode, since I don't need it. I just want the FileMerge app. Is that possible?
Daniel's user avatar
  • 235
9 votes
3 answers
4k views

Can the macbook air trackpad play nice with the iOS simulator?

Does anyone knows if (and how) I can get my MacBook Air trackpad to feel more natural when used with the iOS simulator ? It should be easier to use the iOS simulator with the trackpad - but it's not, ...
poupou's user avatar
  • 223
9 votes
1 answer
11k views

How to use a custom text editor (like Emacs.app or MacVim) in Xcode 4?

In Xcode 3 we could change file type settings, like indicated below: Using External Text Editors with Xcode There are lots of text editors available on Mac OS X. If you shelled out good ...
Resure's user avatar
  • 233
9 votes
3 answers
33k views

Is it possible to compile and run an Xcode project on a jailbroken device without a paid developer certificate?

Both for kicks and for budgetary reasons, I'd like to take a package that would normally require a developer account and build an app to run on a jailbroken iOS device. I have a 5th gen iPod Touch, ...
Joncom's user avatar
  • 443
9 votes
1 answer
2k views

How to stop programs stealing focus when initializing a build in XCode?

I'm currently using XCode in conjunction with Unity. When I initiate a build in Unity, it automatically runs XCode. XCode will then steal focus from whatever app I happen to be in. Is there a way of ...
Rory Harvey's user avatar
9 votes
1 answer
909 views

How to increase the font size of plist editor (not code editor) in Xcode?

Are there any settings in Xcode which can increase the font size of the plist editor (especially the key and the value text)? I tried Preference → Fonts and Colors but to no avail.
ggrr's user avatar
  • 261
9 votes
3 answers
3k views

Use a custom version of clang in Xcode

I installed the recent version of clang (to /usr/local/). How do I set up Xcode to use this and not the built-in version of clang?
Appleshell's user avatar
9 votes
0 answers
40k views

How to install command line developer tools in Yosemite? [closed]

I am trying to install xcode developer tools via this command: xcode-select --install and I have this error: "Can't install this software because it is not currently available from the Software ...
user3058197's user avatar
8 votes
3 answers
5k views

Can't upgrade macports under Big Sur!

I just upgraded to big Sur and the macports upgrade instructions don't work. I keep getting this error: Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not build correctly. ...
vy32's user avatar
  • 3,332
8 votes
6 answers
13k views

Is there a native/cocoa REST client for Mac OS X?

I'm looking for a cocoa REST client for the OS X. I prefer something native so that I'm not in the terminal interface and not looking for any browser extensions.
Wojciech Bednarski's user avatar
8 votes
1 answer
62k views

How do I acquire SDKs to build target pre-8.0 iOS?

I have installed XCode 6 and it came with the iOS 8 SDK but i need to test on devices still running 7.1 and cannot figure out how to get the iOS 7 SDK now without downloading an older version of XCode ...
ironfroggy's user avatar
8 votes
4 answers
19k views

Can't compile source code on mac

I already have xcode installed on OSX Yosemite. I have also run it and accepted terms and conditions. I can also do gcc --version and I see Configured with: --prefix=/Applications/Xcode.app/Contents/...
Knows Not Much's user avatar
8 votes
3 answers
13k views

Delete file in PKInstallSandboxManager folder

I scanned my Mac SSD with DaisyDisk. And in this folder -/Library/InstallerSandboxes/.PKInstallSandboxManager I found this file - 13C0DF80-42F3-4228-B301-C0913855E2FA.activeSandbox with 8GB size. I ...
User's user avatar
  • 95
8 votes
4 answers
37k views

macOS Sierra update can't be installed on this disk.This volume does not meet the requirements for this update

I have been updating the macOS from 10.12.4 to 10.12.6 . For this I have downloaded the macOS dmg file from the Apple website. But when I go on for installing the macOS then I see this error. I have ...
shikher.mishra's user avatar
8 votes
3 answers
11k 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 ...
user91553's user avatar
8 votes
2 answers
15k views

stdlib.h file not found and macOS SDK package installer also not found

I have macOS High Sierra 10.13.6 (For various reason I will not update) and Xcode 10.1 installed alongside command-line-tools. I am trying to compile a certain software that is attempting to open the ...
macosx136's user avatar
8 votes
3 answers
42k views

Opening Xcode on Mac

I am new to Mac as well as Xcode. I have installed Xcode. When I click on Xcode on the toolbar or on Mac HD --> Applications --> Xcode, I do not see any editor opening. Please advise if I am doing ...
misguided's user avatar
  • 223
8 votes
1 answer
6k views

Why is Xcode 11.2.1 not appearing in the App Store updates tab? [duplicate]

I use OS X and have Xcode 11.2. I tried to push an app to TestFlight and got a warning that I needed to upgrade to Xcode 11.2.1. Every time that I've upgraded Xcode in the past, I went to the Updates ...
gkeenley's user avatar
  • 471

1 2
3
4 5
31