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
291
votes
25 answers

Error ITMS-90717: "Invalid App Store Icon"

When I tried to submit an App to Itunes Connect I got the following error. iTunes Store Operation Failed Error ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'YourApp.app' can't be transparent nor contain an alpha…
Haroldo Gondim
  • 7,725
  • 9
  • 43
  • 62
291
votes
16 answers

Xcode is not currently available from the Software Update server

I have problems with my macport after update to OS X 10.9. I try to follow this manual https://trac.macports.org/wiki/Migration to fix them. But when I install Command Line Tools: xcode-select --install I get message Can't install the software…
klm123
  • 12,105
  • 14
  • 57
  • 95
290
votes
10 answers

Build fat static library (device + simulator) using Xcode and SDK 4+

It appears that we can - theoretically - build a single static library that includes both simulator and iPhone and iPad. However, Apple has no documentation on this that I can find, and Xcode's default templates are NOT configured to do this. I'm…
Adam
  • 32,900
  • 16
  • 126
  • 153
289
votes
27 answers

Xcode : failed to get the task for process

This is for an existing app that compiled and distributed multiple times. Since updating to Xcode 5 I have this error popping. I have my developers profile selected in the Code Signing for debug. Deleted the Derived Data a few times. Quit a few…
287
votes
9 answers

Impact of Xcode build options "Enable bitcode" Yes/No

Yesterday I recognized a ton of warnings regarding the parse.com library: URGENT: all bitcode will be dropped because '[path]/Parse.framework/Parse(PFAnalytics.o)' was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting…
luk2302
  • 55,258
  • 23
  • 97
  • 137
286
votes
8 answers

Processing Symbol Files in Xcode

I was wondering if anyone could tell me what Xcode is actually doing when it says: "Processing Symbol Files" after plugging in your device?
Woodstock
  • 22,184
  • 15
  • 80
  • 118
285
votes
7 answers

Installing Apple's Network Link Conditioner Tool

I have installed xcode 4.3.1 on my machine running Lion. I can't find the Network Link Conditioner tool anywhere. I have checked the utilities folder, also the xcode/contents/developer/* directories.. no such luck. Do I need to install specific…
humanaut
  • 3,045
  • 2
  • 14
  • 12
285
votes
17 answers

Submit to App Store issues: Unsupported Architecture x86

So I am trying to use the Shopify API. When I archive the app and validate it then there are no issues but when I submit it to the app store then it gives me the following issues. ERROR ITMS-90087: "Unsupported Architecture. Your executable…
Saurabh Jain
  • 3,013
  • 3
  • 11
  • 9
284
votes
8 answers

When converting a project to use ARC what does "switch case is in protected scope" mean?

When converting a project to use ARC what does "switch case is in protected scope" mean? I am converting a project to use ARC, using Xcode 4 Edit -> Refactor -> Convert to Objective-C ARC... One of the errors I get is "switch case is in protected…
Ali
  • 18,665
  • 21
  • 103
  • 138
284
votes
15 answers

How do you update Xcode on OSX to the latest version?

What is the easiest way to update Xcode on OSX? I see this in the terminal: $ brew install xxxxxxx Warning: Your Xcode (4.3.3) is outdated Please install Xcode 4.6. But when I go to open up Xcode > Preferences > Downloads, it says there are no…
Evan R.
  • 3,277
  • 3
  • 16
  • 14
283
votes
38 answers

Xcode 10: A valid provisioning profile for this executable was not found

Since yesterday I've been getting the following error when trying run an app on my device: A valid provisioning profile for this executable was not found." This is after updating to Xcode 10. Building with Xcode 9 last week worked without issues.…
Daniel Andersson
  • 3,083
  • 2
  • 11
  • 9
283
votes
6 answers

Xcode: What is a target and scheme in plain language?

Yeah the title says it :-) What do they mean in plain English language? I really don't understand the explanation on Apple's website and I need to rename my target and I'm afraid that nothing works after that..
MichiZH
  • 5,587
  • 12
  • 41
  • 81
281
votes
19 answers

Could not insert new outlet connection: Could not find any information for the class named

I got an error on Xcode saying that there was no information about the view controller. Could not insert new outlet connection: Could not find any information for the class named Why is this happening?
Ege Kaan Gürkan
  • 2,923
  • 2
  • 13
  • 24
279
votes
12 answers

How to determine whether code is running in DEBUG / RELEASE build?

I am making an app that processes sensitive credit card data. If my code is running in debug mode I want to log this data to the console and make some file dumps. However on the final appstore version (ie when it is running in release mode) it is…
P i
  • 29,020
  • 36
  • 159
  • 267
277
votes
6 answers

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

I've separated a project into two builds and given each of them a plist file. Everything works fine, but I keep getting this build warning: Warning: The Copy Bundle Resources build phase contains this target's Info.plist file…
nevan king
  • 112,709
  • 45
  • 203
  • 241