Questions tagged [xcode13]

This tag should only be used for questions specific to the usage and features of Xcode 13. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific [xcode] tag. Use tags appropriate for the OS such as [ios] or [macos].

459 questions
162
votes
19 answers

iOS 15 Navigation Bar Transparent

My iOS app uses the storyboard for the UI and uses a custom tint for the background color of the navigation bar. I have tested my app on the Xcode 13 beta 5 and the navigation bar is "white" and the text on the navigation bar is not visible. In the…
G. Steve
  • 2,739
  • 2
  • 11
  • 17
81
votes
5 answers

Xcode 13.3 beta 3: "swift package init" shows warning: "~/Library/org.swift.swiftpm/collections.json has been deprecated" but dunno how to use new one

Just upgraded to Xcode 13.3 beta 3 (from Xcode 13.2.1) and ran swift package init. It generated a deprecation warning, I have not seen this before: warning: Usage of /Users/sajjon/Library/org.swift.swiftpm/collections.json has been deprecated.…
Sajjon
  • 8,938
  • 5
  • 60
  • 94
79
votes
5 answers

Where is Info.plist in Xcode 13? (missing, not inside project navigator)

Has anyone figured out how to add/edit values in the Info.plist of Xcode 13 yet? I see they moved the Info.plist from the navigator pane... but although I can find it, I'm not sure how to edit it.
Sergio Bost
  • 2,591
  • 2
  • 11
  • 29
57
votes
15 answers

Flutter error: xcodebuild: WARNING: Using the first of multiple matching destinations

Flutter version is 2.2.3 and I cant't run de flutter code on my iOS emulator. Launching lib/main.dart on iPhone 13 Pro in debug mode... lib/main.dart:1 Xcode build done. 43.6s Failed to build iOS app Error…
leobidoous
  • 571
  • 1
  • 4
  • 3
56
votes
24 answers

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

Updated to the Xcode 13 beta, now I can't build the project due to an error in several pods Older Xcode launches an app on iOS 15 too long I use M1, maybe this is due to architecture
getmemd
  • 748
  • 1
  • 6
  • 16
47
votes
6 answers

Command CompileSwiftSources failed with a nonzero exit code XCode 13

I am trying to run a project on the Xcode13, after running a pod cache clean --all, deleting the derived data, and running a pod update. When I clean the project and build it the following error appears: CompileSwiftSources normal x86_64…
AISAC
  • 821
  • 1
  • 9
  • 14
39
votes
5 answers

Xcode 13 error: input file [...] was modified during the build

Xcode 13 gives me a hard time building my project which consists of targets with build phases that generate code. E.g. one build phase generates the file Secrets+Generated.swift by simply using a shell script that echoes some code into that…
ChaosCoder
  • 3,085
  • 1
  • 22
  • 23
37
votes
11 answers

Multiple commands produce error in Xcode 13

I have been stuck on this bug for quite a while now so any help would be appreciated. When I try to build my app I keep getting the following build error: Multiple commands produce…
A. G
  • 631
  • 2
  • 9
  • 19
27
votes
2 answers

Problem with Cocoapods, showing error 'Couldn't determine repo type for URL' when installing pods

I used Cocoapods a lot, but recently whenever I was updating the pods (pod update), it started duplicating files and often didn't let me create a build for the App Store. I updated Cocoapods to the last version possible but still didn't solve that.…
ee.bt
  • 308
  • 1
  • 4
  • 9
27
votes
2 answers

Where is the Xcode side by side code comparison option?

Since Xcode 13, code comparison default is no longer a side-by-side diff. There must be a way of doing this still. I am struggling to find the option!
Nick Hingston
  • 8,724
  • 3
  • 50
  • 59
26
votes
6 answers

How to use Image Literal in Xcode 13

The most used feature is missing in Xcode 13 Image Literal #imageLiteral() these commands do not seem to be working. A similar change has happened for Color Literals as well.
Rajesh
  • 10,318
  • 16
  • 44
  • 64
26
votes
2 answers

Xcode 13b3 : No preview available (no bundle)

Just downloaded the latest Xcode 13 beta 3 but i can't get the preview working: PlatformDoesNotHaveAgentsError: Missing required components for iOS Xcode is missing components needed to preview on iOS ================================== | …
skrew
  • 879
  • 9
  • 16
23
votes
1 answer

Xcode 13 - turn off auto import feature

Xcode 13 introduced automatic imports. Anyone know if and how it can be turned off? I could not find anything in Xcode preferences nor online.
Alex Kremer
  • 1,876
  • 17
  • 18
22
votes
2 answers

UIButton title "Button" is not cleared after removing it from the attribute inspector

I cleared the title from attribute inspector, but while running the app, text "Button" is displaying. Output: I checked different scenarios and the issue occurs only if the deployment target is below 15.0 Is there any solution for this?. Xcode…
Akash S Arjun
  • 233
  • 2
  • 5
22
votes
7 answers

Tab & Navigation Bar changes after upgrading to XCode 13 (& iOS 15)

I have an iOS app, since upgrading to Xcode 13, I have noticed some peculiar changes to Tab and Navigation bars. In Xcode 13, there's now this black area on the tab and nav bars and on launching the app, the tab bar is now black as well as the…
tendai
  • 1,172
  • 1
  • 11
  • 22
1
2 3
30 31