Questions tagged [xcode]

Xcode is Apple's integrated development environment (IDE). USAGE NOTE: Use this tag only for questions about the Xcode IDE itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [iOS] or [Swift] for iOS programming questions.

Xcode is Apple's integrated development environment (IDE) tool, which runs on . It is used for creating apps for macOS (), iOS (), iPadOS (),watchOS () and tvOS () platforms.

This tag should be used only for questions about the Xcode tool itself, not for programming questions for which you happen be using Xcode - if your question would stay the same if you used and for writing your program, avoid adding this tag.

  • For macOS programming questions, use the or tag.

  • For iOS programming questions, use the or tags.

  • For Apple Watch programming questions, use the , or tags.

  • For questions about the Objective-C language and its features, use the tag.

  • For questions about the Swift language and its features, use the tag.

SDKs in Xcode 11.3

  • iOS 13.3
  • iPadOS 13.3
  • tvOS 13.3
  • watchOS 6.1
  • macOS 10.15.2.

This tag covers:

  • Project organization
  • Source code editing
  • Build system
  • Unit testing
  • Xcode Instruments
  • Interface Builder (prior to Xcode 4, Interface Builder was a separate app, in which case you would use the tag)

More information:

Release notes:

Xcode 11.3 Release notes

Related:

Related tags for specific versions:

150193 questions
42
votes
10 answers

accessing a file using [NSBundle mainBundle] pathForResource: ofType:inDirectory:

I have a file paylines.txt added inside the folder named TextFiles which resides inside the Resources folder of my iOS project in Xcode. This is the code I use to access the file: NSString* filePath = [[NSBundle mainBundle]…
Yadnesh
  • 1,285
  • 3
  • 17
  • 36
42
votes
7 answers

Is there any way to have VIM keybindings in Xcode 4?

Is there any way to have VIM keybindings in Xcode 4 ? I've become a recent fan of vim, due to vicoapp...
Chris
  • 37,118
  • 43
  • 178
  • 226
42
votes
10 answers

Can I install Xcode on an external hard drive along with the iPhone Simulator.app?

I want to install xcode to deploy a cross platform flutter application but I cant find enough space for Xcode is there any alternative solutions to just installing it on the internal storage
Omar Emam
  • 565
  • 1
  • 4
  • 8
42
votes
6 answers

Remove git from project in Xcode 4

I just created a new project in Xcode 4 and I guess I left the "Create local git repository for this project" box checked. Now, I would like to remove this version control since I want to run the project with svn only. Is this possible or do I have…
pajevic
  • 4,300
  • 4
  • 31
  • 63
42
votes
3 answers

Xcode 9.1 simulator stay in front button missing?

There used to be a button called "stay in front" in older versions of ios simulater. I used this often, but in recent updates it seems to be removed. Is there a any way to activate this feature ? new window menu old window menu
Kaan Erkol
  • 546
  • 5
  • 9
42
votes
19 answers

Xcode 9 App installation failed, Could not write to the device

I've just updated to Xcode 9 and am getting App installation failed Could not write to the device error popup every other time. I see there are older questions on the subject, but this one is particular to iOS 11 and Xcode 9. I've never had the…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
42
votes
2 answers

What does the dark triangle, located on the folder icons in Xcode 9, mean?

I use Xcode 9.0. Some folders icons in my Xcode project have dark triangles in bottom left corner - for example, "0. Login", "Frameworks", "Products", "Pods". What does this mean?
Stanislav Chernischuk
  • 935
  • 1
  • 10
  • 23
42
votes
6 answers

How to update Xcode Command Line Tools?

I am trying to update Command line tools on my mac osx. ~ softwareupdate --list Software Update Tool Copyright 2002-2015 Apple Inc. Finding available software Software Update found the following new or updated software: * Command Line Tools…
Akshay Khot
  • 2,703
  • 5
  • 24
  • 53
42
votes
2 answers

Xcode find in document stuck in case-sensitive

When in Xcode editing code for my objective C files, I often press Command-F to bring up the little Find-In-Document banner across the top. Sometimes this gets stuck in case-sensitive search, and when it does that it also won't loop through the…
mjdth
  • 6,449
  • 5
  • 35
  • 44
42
votes
15 answers

iTunes software service authentication error domain error 434

I am uploading iPhone application using latest xCode 8. I have good internet connection and all the relevant settings set up at iTunes connect. My distribution profiles are also set up correctly. I am facing below error:- iTunes software service…
pkc456
  • 7,998
  • 34
  • 45
  • 99
42
votes
6 answers

How to implement method swizzling swift 3.0?

How can I implement method swizzling in Swift 3.0 ? I've read nshipster article about it, but in this code's chunk struct Static { static var token: dispatch_once_t = 0 } the compiler gives me an error dispatch_once_t is unavailable in Swift:…
Tikhonov Alexander
  • 12,407
  • 2
  • 31
  • 50
42
votes
15 answers

Xcode 'CodeSign error: code signing is required'

I've been working on an iPhone project with iOS 4.0. I just downloaded Xcode 3.2.4 with iOS SDK 4.1 so that I can work with the updated iOS. Upon opening the project in the udpated Xcode, I found that the target read 'Base SDK Missing'. I fixed that…
Aaron
  • 6,618
  • 4
  • 26
  • 45
42
votes
9 answers

Swift 3 / Xcode 8 Upgrade - 100's of DerivedData files missing from working copy errors

I have just upgraded to the latest Beta version of XCode and Swift but after using the converter my app project now has over 200 build time yellow errors all stating /"projectDirectoy"/DerivedData/XXXXXXXXX/XXXX/XXX/xXXX/xXX is missing from working…
Krivvenz
  • 3,210
  • 3
  • 18
  • 29
42
votes
4 answers

Xcode 8 recommend me to change the min iOS Deployment Target from 7.1 to 8.0

When I use the Xcode 8 beta(8S128d) to open my project,it recommend me to change the min iOS Deployment Target to 8.0 instead 7.1. And I found that there is no option less than 8.0 in the iOS Deployment Target list. So, does it mean that I no…
X.Jian
  • 2,080
  • 2
  • 14
  • 23
42
votes
3 answers

Xcode 7.3 crashing when debugging with breakpoints

I just install the Xcode 7.3 version. I can't debug at all because it's crashing when I try to use a breakpoint while I'm debugging. I tried removing Derive Data, Reboot my macbook, reinstall pods... but unfortunately nothing is working. Is someone…
Fran Martin
  • 2,269
  • 20
  • 18
1 2 3
99
100