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].
Questions tagged [xcode13]
459 questions
1
vote
0 answers
TabBarItem badgeColor Xcode 13
hi since Xcode 13 the following Code does not work anymore, it still worked with Xcode 12
viewController.tabBarItem.badgeColor = color
In the Appearance settings, i can still set the badge color on app start with the following Code:
let…

BiNo
- 11
- 1
1
vote
0 answers
I keep getting this error in Xcode when I build Designables, xcode (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')),
I have enabled Standard Architecture (arm64, armv7) and I tried removing arm64 from excluded architecture still getting the error.
I have a M1 chip mac book pro

Shimak
- 89
- 1
- 7
1
vote
1 answer
How to call original synchronous method that has async overload in Xcode 13
Recently switched to Xcode 13.
I have an AVAsset writer, and trying to call the method
writer.finishWriting()
which now has an async version, as well as the synchronous version.
I want to call the original synchronous version, but am getting the…

fenrir_berk
- 13
- 3
1
vote
0 answers
Xcode 13 Editor inline errors not going away
Since updating to Xcode 13 yesterday I have noticed that any inline editor warnings/errors that pop up (as they obviously do all the time while writing code) no longer go away as I resolve the warnings. They stay until I actually build. Even if I…

rBalmer
- 67
- 9
1
vote
0 answers
Not able to archive my app onto the New Build System on Latest Xcode
I am using Xcode 12.5.1, using native iOS to build my app. When I switch to New Build System I can run my app on my iPhone but I get error when I archive to make a production build.
Error:
Showing Recent Messages
duplicate output file…

shashi.kr
- 21
- 3
1
vote
0 answers
Seeking a manual way to update xib (custom view) cocoatouch class files in interface builder?
Is there any way to manually force all xib files to update to the latest Xcode tools versions, for example, when you upgrade to the new Xcode 13, there are some bugs with certain xib views if you have an outdated tools version (tools version from…

James Wick
- 11
- 1
1
vote
3 answers
Why iOS app crashed when keyboard is tapped?
My app is crashing when the keyboard is tapped, I select the textfield, the keyboard open properly, but once the keyboard is tapped (any key) the crash happen, giving the log below.
Im running the app on iPhone 8 with iOS 15 RC, from Xcode 13 RC. In…

AnaMM
- 307
- 4
- 17
1
vote
1 answer
How to add String Extension on Apple DocC
I am checking new Apple documentation on Xcode 13 beta. I am able to build documentation with DocC.
But I am not able to see any documentation created for extensions like String extension, Date extension.
As per example for below case it will not…

PJR
- 13,052
- 13
- 64
- 104
1
vote
0 answers
Xcode: Unsupported OS version, iphone os version 14.7 & Xcode 12.5.1
i am trying to build my flutter app on my iphone 11 with iOS version of 14.7 and my xcode is 12.5, I have seen that there is Xcode 13 but i don't have that update on the appstore, my mac version is Big Surr 11.5.2
what do i do?

azheen
- 897
- 4
- 15
- 30
1
vote
1 answer
Crash in ForEach when deleting element with NavigationView and sheet
Using Xcode 13's new binding variant of ForEach my app crashes predictably on-device (but works in the simulator) when deleting any element other than the last one from content backed by an @Published property.
Strangely, this only happens when the…

sbooth
- 16,646
- 2
- 55
- 81
1
vote
1 answer
How to write a UIKit app incorporating the GroupActivities framework
I have watched Apple's WWDC 2021 video on how to write an iOS app with custom group activities, link here.
After watching this video I tried to write a simple app of my own, using UIKit instead of SwiftUI. It's a simple app that uses a UIAlert to…

Ahmad Shah Sahar
- 21
- 5
1
vote
0 answers
Unable to access my Swift Package from GitLab
Environment: Xcode Version 13.0 beta 4 (13A5201i)
Mac OS Big Sur (11.5) on Mac M1 Mini
Note: This may be a Xcode bug.
Goal: To access my custom swift package from GitLab.
Problem: No packages identified on Gitlab.
Steps:
Create a Swift Package…

Frederick C. Lee
- 9,019
- 17
- 64
- 105
1
vote
1 answer
UISheetPresentationControllerDelegate method not called
Problem
I tried UISheetPresentationController example in Xcode13.0 beta.
And in order to handle the detent change event, I implemented the sheetPresentationConstructionSelectedDetentIdentifier(_:) method, but this method is not called when the size…

Kazunori Takaishi
- 2,268
- 1
- 15
- 27
1
vote
0 answers
Unable to launch Xcode 13 beta 1 and/or 2 on macOS Big Sur 11.4
I'm trying to install Xcode 13 beta on my MacBook Pro with macOS Big Sur 11.4. Here's what I did so far:
I downloaded Xcode 13 beta 2 from https://developer.apple.com/download/
Double click on the file, and then moved Xcode-beta.app to Macintosh…

Pandruz
- 345
- 5
- 18
1
vote
1 answer
Reconstruction failed Error with HelloPhotogrammetry
I'm trying to create a USDZ object with the tutorial from Apple
Creating 3D Objects from Photographs. I'm using the new PhotogrammetrySession within this sample project: Photogrammetry Command-Line App.
That's the code:
let inputFolderUrl =…

Jonas Deichelmann
- 3,513
- 1
- 30
- 45