Post

Replies

Boosts

Views

Activity

Reply to Adding app icon to project
I am also having difficulty adding an app icon to my project in Xcode and I also use VoiceOver. I can add the AppIcon image set to the asset catalog, and I can also separately add the image that I want to use as the app icon to my asset catalog, but I can't seem to specify for the AppIcon image set which image/icon should be used. If I select the AppIcon from the asset catalog and then go to the Inspector, it doesn't seem to give me any targets (or “wells” to add the images to. In the attributes inspector tab it gives me some popup menus to select the size class, but not really anything else. The quick help inspector says no quick help. Xcode Version 14.3.1 (14E300c)
Aug ’23
Reply to Error 2003332927 (who?) in CoreMediaIO module
I'm having the same issue (“[aqme]        MEMixerChannel.cpp:1629  client <AudioQueueObject@0x129258e00; [0]; play> got error 2003332927 while sending format information”). It doesn't seem to affect anything that I can detect, but I'd like to understand what's happening. In some builds the issue seems to go away, but reappears in other builds. Haven't narrowed down how or why as yet. My app is a SwiftUI app with shared code running on both macOS and iOS. I'm running macOS Monterey with Xcode 13 and have been having the same issue for several months (since April 2022). There's a Stack Overflow post about this and related issues that at time of writing doesn't yet have any answers.
Jun ’22
Reply to How should I access @AppStorage and @SceneStorage values outside of views?
I've got no idea what the proper/best solution is for this, though I'm keenly watching this thread hoping to find it, but here's what I'm doing in the meantime. Again, it feels like it's not the right/best way of doing it, hence I'm watching this thread, but it is at least working in the meantime. I declare all my @AppStorage properties in a UserPreferences class which conforms to @ObservableObject. So I have to import Combine and SwiftUI for the class, and it does seem a little odd to import SwiftUI for a class rather than a View, but it works (or seems to). I then just access any of my @AppStorage properties from the UserPreferences class, whether in another View or a global function or some other struct. I know you can just re-declare the @AppStorage properties anywhere, but this way I at least only have to write the code once and don't have to worry about typing the keys/names differently or whatever. Would love to know if there's a better way of doing this.
Jan ’22