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
3
votes
0 answers
Xcode Simulator builds: M1 vs Intel
Some in our team work on M1 Macs, others on Intel, and most of our CI infrastructure is still Intel-based. Building for release seems to be no issue, but I would like to set up a single project setting that builds for both Intel-based and M1-based…

Aron
- 3,419
- 3
- 30
- 42
3
votes
2 answers
Xcode 13.1 bug editing dependency as local
Just upgraded to Xcode 13.1 and opened a SPM project by clicking the Package.swift file that has some dependencies.
In the former versions I could simply edit one of these dependencies by dragging a local clone of the package into the Project…

Michael_mhr
- 744
- 1
- 9
- 27
3
votes
0 answers
How to fix syntax highlight not working on Xcode 13.1?
Recently I upgraded from 12 to 13.1 and moved my code base accordingly. Sadly since I upgraded i cannot have syntax highlight to work. Code completion and symbols are working correctly.
My project uses Carthage and SPM.
I already tried every…

vx8
- 47
- 2
3
votes
3 answers
Xcode 13.1 + MacOS Monterey (12.0.1) + M1 Chip (8gb) + build time + system hang
After updating latest OS 12.0.1 and xcode 13.1, project is taking too much time to build and system also hang continuously. Not able to work with this performance.
That's really frustrating that if you using latest system and its giving that kind of…

Hitarth
- 1,950
- 3
- 27
- 52
3
votes
0 answers
after updating react-native to 0.66.1 and xcode to version 13.1, the app stopped running on the device
When launching the application through Xcode, the build is successful. But when installing the application on the device, I get an error.
Details
Unable to install "MyHouseReactNativeMigration"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code:…

anokhindev
- 55
- 4
3
votes
1 answer
KMM error: This API is internal in ktor and should not be used. It could be removed or changed without notice
After updating Xcode to 13.0, I cannot run my iOS app which is using Kotlin Multiplatform.
Build fails with Command PhaseScriptExecution failed with a nonzero exit code, and it says that the error is:
Task :shared:compileKotlinIos FAILED
e:…

stackich
- 3,607
- 3
- 17
- 41
3
votes
0 answers
iOS15, paragraphStyle can't working on SwiftUI
In iOS15, SwiftUI introduced attributesString which I'm really excited about.
But I found that paragraphStyle can't working, but other attribute is working fine.
Text("JKL Services Information Management") { string…

zhanqian
- 31
- 2
3
votes
1 answer
How to fix some Xcode 13 bugs like not jumping to definition properly?
I recently updated to Xcode 13 and suddenly the options from the "Show Code Actions" are not working anymore. That includes "Jump to Definition", "Show Quick Help", or even highlighting all the places where some propriety is being used.
Does anyone…

Caco Cavalcanti
- 77
- 1
- 8
3
votes
3 answers
XCode 13 - The application's Info.plist does not contain a valid CFBundleVersion
I'm trying to launch an old ios app in XCode 13, but it keeps giving me this error after failing to build it:
Details
Failed to install the requested application
Domain: NSPOSIXErrorDomain
Code: 22
Failure Reason: The application's Info.plist does…

Lukas Luke Stateczny
- 513
- 8
- 24
3
votes
2 answers
WatchOS 8 pressing one of the side buttons dismisses modal sheet
The behavior of the crown button on the Apple Watch has always been to close your app and take you to your Home Screen / watch face. Now when I build my watch app with Xcode 13 and WatchOS 8 when I press one of the side buttons it dismisses whatever…

Kevin
- 483
- 3
- 11
3
votes
1 answer
App builded by Xcode version 13 crashed on ios 12
My app is working fine on iOS 15 and 14, maybe 13 too. But when I run on older device using iOS 12, its crash on start, even before didFinishLaunchingWithOptions is triggered. It was working fine the last time I build using Xcode 12.
Terminating app…

Mat Yus
- 289
- 1
- 2
- 14
3
votes
1 answer
Xcode 13: `Value of type 'NSPersistentCloudKitContainerOptions' has no member 'databaseScope'`
After upgrading to Xcode 13.0 (13A233), the following code that used to work with Xcode 12
let publicOptions = NSPersistentCloudKitContainerOptions(containerIdentifier: containerIdentifier)
publicOptions.databaseScope = .public
produces the error:…

Maxim Volgin
- 3,957
- 1
- 23
- 38
3
votes
1 answer
XCode 13 Build Error - Could not find or use auto-linked library 'swift_Concurrency' - React Native 0.64-65
Preface
This my first time answering my own question so if there's anything wrong with my explanation just leave a comment and make any necessary correction
The following is just a updated answer for those whose XCode was automatically updated to…

Orthodox_Athena
- 197
- 2
- 11
3
votes
1 answer
Using previewCGImageRepresentation in both Xcode 13 and Xcode 12?
I’ve run into an issue where Xcode 13b2 (iOS 15 SDK) changed the Swift return type of AVCapturePhoto.previewCGImageRepresentation(). In Xcode 12.5.1 (iOS 14 SDK), this method returns Unmanged. In 13b2 - 13b4, it returns CGImage?.
I need my…

Rick
- 3,298
- 3
- 29
- 47
3
votes
1 answer
List Row Separator visibility setting not working? Xcode 13
Seems as though the visibility setting for the separators on lists is not working.. anyone know of a simple workaround?
Here is a piece of sample code:
import SwiftUI
struct ContentView: View {
var listData = ["John", "Mack", "Bush"]
var…

Sergio Bost
- 2,591
- 2
- 11
- 29