This tag should only be used for questions specific to the usage and features of Xcode 15. 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 [xcode15]
63 questions
23
votes
5 answers
How to run on iOS 17 Device using Xcode 14
Xcode 15 beta does not come with Device support files for iOS 17. Any other way we would run iOS 17 devices on Xcode 14

Nitesh
- 1,564
- 2
- 26
- 53
5
votes
2 answers
Widget on iOS 17 Beta device - Adopt containerBackground API
I'm working on an app + widget with Xcode 15 Beta. The widget works as expected on iOS 17 Beta simulators, but when running on my device with iOS 17 beta, it displays "Please adopt containerBackground API" instead of the desired content.
I searched…

CodeBrew
- 6,457
- 2
- 43
- 48
4
votes
3 answers
Xcode 15 beta 3 - Could not instantiate class named _UIRecessedMaterialView
I have an app that loads a xib with a segmented control. If I build it with Xcode 15 beta 3 and launch on a iPad with iPadOS 17 (or on iOS 17 simulator), it crashes with an error:
Terminating app due to uncaught exception…

atarasenko
- 1,768
- 14
- 19
4
votes
2 answers
Xcode 15 beta 2 - Build Error: "Failed to find or create execution context for description ''"
After I've updated to Xcode 15 beta 2, I'm getting these build time errors, which I didn't see in beta 1.
Failed to find or create execution context for description
' System content
for…

Code.Decode
- 3,736
- 4
- 25
- 32
3
votes
1 answer
Receiving CoreData error messages when using SwiftData in Xcode 15 beta 5
I am using SwiftData in my project. All worked fine under Xcode 15 beta 4 in the simulator.
Since I changed to Xcode 15 beta 5 I am getting the following error multiple times:
CoreData: fault: One or more models in this application are…

Mike
- 51
- 5
3
votes
1 answer
How do I log a message in color to the Xcode 15 console?
Xcode 15 now displays log message in colors. For example, warnings seem to appear in yellow, while standard messages are in white.
I noticed that Swift Log (tutorial) has a color scheme as well:
Do I need to include Swift Log in my iOS app to…

Senseful
- 86,719
- 67
- 308
- 465
3
votes
4 answers
How to create a SwiftUI #Preview in Xcode 15 for a view with a @Binding
If I wanted to create a preview for a SwiftUI view that contains a @Binding I would have previously written something like this:
struct SpecialButton_Preview: PreviewProvider {
static var previews: some View {
@State var value: Bool =…

de.
- 7,068
- 3
- 40
- 69
2
votes
0 answers
SwiftData inverse Relationship stop working in XCode 15 beta 7
This approach works before XCode 15 beta 7:
@Model
final class Item {
var name: String
@Relationship(inverse:\Note.item) var notes: [Note]
init(name: String = "Item name") {
self.name = name
self.notes = []
}
}
@Model…

quaternionboy
- 157
- 9
2
votes
1 answer
WireGuard-apple build problem with Xcode 15 (beta)
Building my Wireguard-Apple project with latest Xcode 15 Beta release leads to some build issue. It looks like the problem appears when building the target WireguardNetworkExtensionsmasOs (same for target WireguardNetworkExtensionsiOS). Using the…

Daniel
- 21
- 3
2
votes
2 answers
Xcode 15 build error: Assertion failed: (fixups().size() == 2), function initFixup, file Atom.cpp
I'm testing my current project with the Xcode 15 (beta 5) and I'm getting an error that I don't know if it's something new in the Xcode or just an error in the beta version:
Assertion failed: (fixups().size() == 2), function initFixup, file…

Elano Vasconcelos
- 409
- 5
- 11
2
votes
0 answers
Flutter XCode Error: Null objc class data for '_OBJC_METACLASS_$_MLKBarcode
Im currently trying to deploy a Flutter App from a 2019 MacBook Pro (MacOS Sonoma 14.0 Beta) onto a iPhone 12 Pro (iOS 17.0 Beta) while using XCode 15 Beta 4 when I get this error.
Null objc class data for '_OBJC_METACLASS_$_MLKBarcode' in ‘Flutter…

Naman Khurana
- 23
- 2
2
votes
1 answer
Asset symbol generation in Swift Package
I have a Swift Package in my SwiftUI project that includes styles for UI components. Also, this package includes a resource folder that contains assets that can be used in styling. I can get an image by its name but I would like to know if I could…

Dogan Altinbas
- 268
- 2
- 11
2
votes
1 answer
WidgetKit Widgets not showing up on iOS 17
I have a set of Widgets that work flawlessly on Xcode 14 and iOS 16, both on Simulator and Device. With Xcode 15 beta (4), these widgets simply don't show up anymore on the iOS 17 Simulator, and I feel like I've tried everything.
Building with the…

optz
- 391
- 1
- 10
2
votes
0 answers
The package product 'SwiftSyntaxMacros' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13
I created a new swift macro package in my Xcode project.
My Package.swift looks like:
import CompilerPluginSupport
import PackageDescription
let package = Package(
name: "TestMockable",
platforms: [.iOS(.v14)],
products: [
.library(
…

Sharmin Khan
- 177
- 2
- 13
2
votes
1 answer
Creating a new project on apple vision pro
Creating a new project on apple vision pro and in xcode there are following option. can someone please explain
initial scene
windows and Volume.
Immersive space
None , Mixed , Progressive , Full

Matloob Hasnain
- 1,025
- 6
- 21