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.

Latest Versions:

  • Current stable version is Xcode 14.2 released on December 13, 2022
  • Beta version is Xcode 14.3 RC released on March 21, 2023

Release notes:

SDKs in Xcode 14

  • iOS 16
  • iPadOS 16
  • tvOS 16
  • watchOS 9
  • macOS 13

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:

Related:

Related tags for specific versions:

158769 questions
53
votes
5 answers

Why are there recovered references in my xcode project file?

I have a react native app and just noticed that a few lines were added for Recovered References in my project.pbxproj file in Xcode. I don't remember adding or deleting any references and the recovered references show libraries that I normally use. …
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
53
votes
4 answers

Download & Install Xcode version without Premium Developer Account

I do not have Apple Developer Premium Account and I need Xcode Beta (recent major release of Application Development tool by Apple). How can I download Xcode (beta) version without Premium Apple Developer Account? Is there any way that I can get the…
Wasim K. Memon
  • 5,979
  • 4
  • 40
  • 55
53
votes
4 answers

iOS app submission and beta review process

I'm currently developing an iOS application for a client. The submission review process to the store can often be a lengthy process and is relatively new to me. My client wants to do a beta test using TestFlight as well as submitting the app to the…
Danoram
  • 8,132
  • 12
  • 51
  • 71
53
votes
16 answers

FBSOpenApplicationErrorDomain error 1

I'm trying to run my iOS app that was migrated from Swift 1.2 to Swift 2.0 in Xcode 7 using iPhone Simulator (any), I'm getting the following error: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) I already tried to…
Douglas Ferreira
  • 2,279
  • 2
  • 27
  • 42
53
votes
6 answers

Swift - Adjusting fontSize to fit the width of the layout (programmatically)

I've been looking for something to dynamically adjust my fontSize to fit the width of my layout box. But all the answers I can find, is either to use this: label.adjustsFontSizeToFitWidth = true Which does work. But only if I don't have…
MLyck
  • 4,959
  • 13
  • 43
  • 74
53
votes
26 answers

ERROR ITMS-90032:"Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons':AppIcon40x40"

I get this "No image found at the path referenced under key 'CFBundleIcons':" error, even when i have added app icon images in Images.xcastes folder, while uploading my app to appstore. Your immediate response is appreciated. Thanks
Md Rais
  • 972
  • 1
  • 12
  • 21
53
votes
6 answers

How to handle large Swift Project?

After iPhone app that I'm writing in Swift become quite big (> 150 .swift files + various Objective-C libs), Xcode start behave pretty badly: every second compilation I get various errors, e.g.: Command failed due to signal: Segmentation fault:…
Alexey Globchastyy
  • 2,175
  • 1
  • 15
  • 19
53
votes
5 answers

Xcode 6 - xcassets for universal image support

Currently working on a universal SpriteKit project. I'll be supporting the following devices: iPhone 4/s, iPhone 5/c/s, iPhone 6, iPhone 6+ iPad non-ret, iPad retina I am confused on the iPhone part. I already have 4 versions for my background…
aresz
  • 2,589
  • 6
  • 34
  • 51
53
votes
4 answers

Swift UITextFieldShouldReturn Return Key Tap

(iOS8, Xcode6, Swift) Using Swift, how do I capture a tap on the "Return" button? The doc at the following link specifies using the textFieldShouldReturn method: // Swift @optional func textFieldShouldReturn(_ textField: UITextField!) ->…
kmiklas
  • 13,085
  • 22
  • 67
  • 103
53
votes
25 answers

Error opening iOS Simulator with iOS 8 beta version: "Unable to boot the iOS Simulator"

I recently installed the beta of Xcode Version 6 in OS X Mavericks, with which comes the iOS simulator for iOS 8. I've managed to successfully run from Xcode 6 beta on a device with iOS 8 Beta, but opening the simulator always get the same error I…
dayanruben
  • 1,061
  • 2
  • 12
  • 21
53
votes
2 answers

Remove unit testing from Xcode project?

When I created my iOS project in Xcode 5 I clicked the option to add testing to the project. Is it possible to remove all that testing stuff, just as though I hadn't clicked the option to begin with?
Kent
  • 1,705
  • 3
  • 16
  • 26
53
votes
15 answers

How to adjust space between two UIBarButtonItem in rightBarButtonItems

I am using the following codes to add two button to self.navigationItem.rightBarButtonItems, and I think in iOS7, the space between two buttons are too wide, is there a way to decrease the space between these two buttons? UIBarButtonItem…
Bob
  • 2,263
  • 5
  • 21
  • 30
53
votes
10 answers

Using Subversion with DropBox

Is it a bad idea to use Dropbox as a backup system for Subversion repositories? Has anyone tried using Subversion with an an online file sharing utility like Dropbox? What's your experiences? My concern is whether this will work - mainly because…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
53
votes
4 answers

How do you export your finished application from Xcode?

I feel silly for having to ask this. I've got an application to a point where I want to send someone a beta to test on their machine, but I don't know how to get Xcode to produce a .app file for me to send to them. Help?
Kaji
  • 2,220
  • 6
  • 30
  • 45
53
votes
3 answers

Xcode Debugger: Why is it only showing me assembler?

I'm just starting out with Cocoa development in Xcode, doing the hello world example. I'm up to step 6 of the section "runtime debugging", which is Using the Step Over button in the debugger toolbar, begin stepping through the code. As each line…
Breton
  • 15,401
  • 3
  • 59
  • 76