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
2
votes
0 answers
Xcode iOS17 Simulator and GRDB - Class ... is implemented in both ... One of the two will be used. Which one is undefined
I have a Swift and SwiftUI app using GRDB and GRDBQuery that has been working well. (Thank you Gwendal Roué.) When I run the app using Xcode 15 beta and the iOS17 simulator, I get 42 new messages in the log when the app starts. The messages all…

Ian
- 29
- 4
2
votes
2 answers
How to filter object from array using Swift Macros in SwiftData and SwiftUI
I have planned to create a mini project using iOS 17 Beta in Xcode 15 Beta.
So, I created a new project using SwiftData and SwiftUI.
import SwiftUI
import SwiftData
struct HomeScreen: View {
@Environment(\.modelContext) private var…

Kathiresan Murugan
- 2,783
- 3
- 23
- 44
2
votes
2 answers
NumberFormatter not correctly identifying Locale currency settings in iOS 17 beta with Xcode 15.0 beta
I'm currently developing an application for iOS and I recently updated to the iOS 17 beta along with Xcode 15.0 beta. I am trying to use NumberFormatter to format a Double to a currency string (in my case, American Dollars $). Here is the snippet of…

NSSpeedForce
- 127
- 9
1
vote
0 answers
How to use let constant in Xcode 15 #Preview
How can I use a let value in the new #Preview macro in Xcode 15?
Here is my code:
#Preview {
let categories = Bundle.main.decode([Category].self, from: "Items.json")
CategoryView(category: categories[0])
}
I have this warning message:…

Sébastien REMY
- 2,399
- 21
- 39
1
vote
1 answer
IOS (simulator) --> Local Vapor POST Image/png: Abort.413: Payload Too Large
Environment: Vapor (v4.77+) MacOS v13.4.1
Scenario: Attempting to POST image/png (466 kb) to Server.
The server is local to my Mac: http://localhost:8080/upload
This is running concurrently with my Xcode iOS Simulator.
Xcode's info.plist:…

Frederick C. Lee
- 9,019
- 17
- 64
- 105
1
vote
0 answers
Xcode 15 beta 6, SwiftData Framework "Symbol not found" error
When building a ios17 app with SwiftData there is an issue with the Framework not being installed as noted on apple dev forums here: https://developer.apple.com/forums/thread/734970 my machine does not have the Framework folder for SwiftData, is…

medright
- 138
- 10
1
vote
0 answers
app crash with Symbol not found: _OBJC_METACLASS_$_NSObject from xcode 15
I found specific case that makes app crash immediately after run from only xcode 15.
this workspace contains one swift app project and one objective c framework.
from objective c framework, there is an try-catch code.
from the try-catch code, If I…

WoffOVkee
- 435
- 3
- 16
1
vote
1 answer
How to setup an iOS 17 intractable Widget using AppIntents from an SPM package?
I've setup an intractable Widget in iOS 17 which uses an AppIntent from an SPM package but nothing works when you tap on the button in the widget.
Supposedly you should be able to use AppIntentsPackage, which should make it possible to use…

Mattias Farnemyhr
- 4,148
- 3
- 28
- 49
1
vote
1 answer
Swift: Ist there any way using @AppStorage with @Observable?
I‘d like to store my user defaults in a class. With the old Swift data flow it was possible to use it in a class. Now, with the new system (Xcode 15, Beta 2), it doesn’t work anymore. Is there any way to use it? Maybe a workaround?
This is how it…

scotland1912
- 21
- 2
1
vote
1 answer
XCode 15 beta Mergeable Library
XCode 15 comes with something called mergeable library, where release builds that have direct dependencies on dylibs or framework are merged into the final executable (iff the project it configured correctly), see here.
I've got a configured XCode…

fjanisze
- 1,234
- 11
- 21
1
vote
0 answers
Xamarin iOS Compatibility Issues with latest Xcode 15
I am currently testing the compatibility of my iOS applications developed using Xamarin iOS. However, I'm encountering problems with both Xcode 15 beta and Visual Studio 2022 (version 17.6) on my MacBook.
Specifically, I am facing pairing issues…

Apekshit
- 767
- 2
- 13
- 27
1
vote
1 answer
OneSignal Flutter on MacOS Sonoma 14.0 & iOS 17.0 Developer Beta
I updated all my devices before the developer release and my project stopped running. However, I was able to solve the problem and would like to share the solution for anyone who needs it.
My environment:
[✓] Flutter (Channel stable, 3.10.4, on…

Семён Титов
- 51
- 5
1
vote
0 answers
Cannot find #unwrap macro in Xcode Version 15.0 beta (15A5160n)
Apple demonstrated in more than one session the #unwrap macro which I thought I built into Xcode 15 and the frameworks it is shipped with directly.
But if I try to unwrap an URL:
let url = #unwrap(URL(string: "my-awsome-url.tld"))
I get the…

Tobonaut
- 2,245
- 2
- 26
- 39
0
votes
0 answers
How do I filter @Query with bound item
I have a few that is passed an item of type FamilyMember. Available in the view is a list of Chores. A chore has a member assigned to it. I want to filter the chores to the passed family member.
2 Structures and view code:
@Model
class Chore:…

Aaron Bratcher
- 6,051
- 2
- 39
- 70
0
votes
1 answer
How to fix the Archive does not contain any "PrivacyInfo.xcprivacy" files
What steps to take to resolve following error related to missing PrivacyInfo:
The archive does not contain any "PrivacyInfo.xcprivacy" files.
This happens when I try to Generate Privacy Report on the archive.
Steps taken to define Privacy Manifest…

ashokds
- 2,204
- 1
- 7
- 11