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
50
votes
3 answers

How do you enable ARC project-wide in Xcode 4.2

I have an iOS app that I want to convert to using ARC. I would just use the migration tool, but it errors out for me consistently during the preview phase. I know I can use the -fobjc-arc compiler directive on a file-by-file basis, but I want to…
Alpinista
  • 3,751
  • 5
  • 35
  • 46
50
votes
2 answers

Xcode 4 "Transferring package" pathologically slow after deleting app

I have noticed that when performing native debugging on Xcode 4 if I have my app installed, then delete the app, then attempt to debug again from Xcode 4, the time it takes to perform the step "Transferring package" is pathologically slow. Has…
Bill
  • 517
  • 3
  • 2
50
votes
5 answers

malloc: nano zone abandoned due to inability to preallocate reserved vm space

Since iOS 14 my iOS app prints this error message to the console (As the first message). AppName(5088,0x1064438c0) malloc: nano zone abandoned due to inability to preallocate reserved vm space. I couldn't find any other similar issues when searching…
50
votes
17 answers

YogaKit.modulemap not found after running the IOS Simulator

I have problems running my IOS Simulator within XCode, everytime I try to run the simulator, I get an error message saying: "fatal error: module map file…
Mauri Mark
  • 509
  • 1
  • 4
  • 4
50
votes
10 answers

Flutter iOS build failed an error of pod files: Podfile is out of date

I'm trying to build my app on the ios simulator(ios 13), but the build fails and gives an error of pod files: Podfile is out of date This is the error. Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Warning: Podfile is out of date …
Karel Debedts
  • 5,226
  • 9
  • 30
  • 70
50
votes
8 answers

SwiftUI - Navigation bar button not clickable after sheet has been presented

I have just started using SwiftUI a couple of weeks ago and i'm still learning. Today I ran into an issue. When I present a sheet with a navigationBarItems-button and then dismiss the ModalView and return to the ContentView I find myself unable to…
Markus Moltke
  • 970
  • 1
  • 8
  • 20
50
votes
3 answers

What is the Xcode "Background Processing" Background Mode?

In Xcode 11, there is a new Background Mode, "Background Processing". I cannot find any information on what this new Background Mode does. Are there any resources with that information? This mode can somehow effect application that is using…
phnmnn
  • 12,813
  • 11
  • 47
  • 64
50
votes
3 answers

How can I avoid nested Navigation Bars in SwiftUI?

Using SwiftUI, I've built a NavigationView that takes the user to another NavigationView, and finally, to a simple View. When I get to the last view, I can see two back buttons and a very large Navigation Bar. I'd like to have a navigation…
Thiago Mundim
  • 523
  • 1
  • 4
  • 7
50
votes
6 answers

Xcode - iPhone - profile doesn't match any valid certificate-/private-key pair in the default keychain

I tried to add my iPhone to Xcode4 to test my Application on it. I added the device in the Apple Developer-Center and downloaded the Provision-Profile. We pay 99$ per month for the account and I'm not the only person who use this account. So there…
Kevin Glier
  • 1,346
  • 2
  • 14
  • 30
50
votes
5 answers

Error Message "Xcode alone is not sufficient on Sierra"

I'd like to install openCV to vectorize image, but there's a series error message regarding Xcode and Ruby. First, I use terminal to install openCV, brew install opencv. Then, I got error message indicating that the system doesn't like my ruby…
Ying
  • 1,894
  • 1
  • 14
  • 20
50
votes
8 answers

How to fix Xcode error: Could not locate device support files on iPhone with Xcode

I have this error for the new iPhone X: Could not locate device support files. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode. I'm running the latest version of…
user2888798
  • 688
  • 1
  • 6
  • 14
50
votes
24 answers

Xcode 9 "no iTunes Connect account" error when uploading

With a certain project in Xcode 9 beta 6 when I try to Upload to the App Store I get: I am the "Admin" role for this account. All contracts are up-to-date I tried removing/re-adding my account from Xcode prefs several times Submitting for the same…
John Scalo
  • 3,194
  • 1
  • 27
  • 35
50
votes
5 answers

"pod init" creates error that says "You need at least git version 1.8.5 to use CocoaPods"

I was not able to install any pod in my system. Hence, I removed cocoapods from my Mac and then reinstalled it. The process was successful but when I run the command pod init following error shows up in the terminal: `verify_minimum_git_version!':…
Ishika
  • 2,187
  • 1
  • 17
  • 30
50
votes
3 answers

Development team has reached maximum number of registered iPhone devices

Whenever I try to build an iOS app to my iPhone device I get the following error: Your development team has reached the maximum number of registered iPhone devices. I've previously had a Developer Program Membership that is now expired that I used…
Oskar Persson
  • 6,605
  • 15
  • 63
  • 124
50
votes
16 answers

The bundle's Info.plist does not contain a CFBundleVersion key or its value is not a string

Xcode is build the project and when build is success, I get this message "The bundle's Info.plist does not contain a CFBundleVersion key or its value is not a string". What is that mean. There is my info.plist:
bilaldogan
  • 663
  • 1
  • 5
  • 13