Post

Replies

Boosts

Views

Activity

Reply to How to get the correct animation when inserting/removing a row in a SwiftUI List from a swipeAction?
Additional informations: It's working fine with SwiftUI on iOS 17 and iOS 18. It's working fine with an equivalent UIKit code on iOS 26 and iOS 27. In my opinion, it's very likely to be a SwiftUI regression. I updated the feedback FB23661327 with these informations. I would love an Apple engineer to have a look at it and fix the issue before iOS 27 ships. Axel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3w
Reply to Shortcuts and App Intents does not work on simulators running iOS 26 or iOS 27
Hello, I took the time to check, it's actually not working starting iOS 26.4. For simulators running previous iOS 26 versions (like 26.3), the app shortcuts can be run and the app intents too. iOS 18.6: ✅ iOS 26.3.1: ✅ iOS 26.4.1: ✅ Shortcuts & intents correctly run but only one suggestion is used to create the shortcuts❌ iOS 26.5: ❌ No shortcuts created. Not possible to run shortcuts or intents. iOS 27: ❌ Same as 26.5. I added the information in the feedback. See this screenshot. Regards, Axel
Jun ’26
Reply to SwiftData predicate filtered by enum case
I just tested using an Enum in a SwiftData Query Predicate only works for anyAppleOS 27 & doesn't back deploy when building on Xcode 27 🫤 On anyAppleOS 26 & below, Xcode logs "Query encountered an error: Unsupported Predicate: Captured/constant values of type 'TheEnum' are not supported" @Frameworks Engineer do you think there is any chance to back deploy that to prior OS versions? Thank you.
Topic: SwiftData SubTopic:
SwiftData Q&A
Jun ’26
Reply to Aggregate functions in SwiftData
Hello @Frameworks Engineer @cgontijo, I filed feedback for that in January 2024. Basically, the equivalent to NSExpression functions like sum/average/max/median. https://developer.apple.com/documentation/foundation/nsexpression/1413747-expressionforfunction FB13522377 FB13522406 FB13521724 FB13522412 FB13522411 FB13522401 FB13522382 Feel free to check them. It's blocking me from adopting SwiftData because I can't do any operation on my data set as I have to fetch all objects into memory with SwiftData. Regards, Axel
Topic: SwiftData SubTopic:
SwiftData Q&A
Jun ’26
Reply to How to present a View above everything in SwiftUI?
Hello @DTS Engineer, Thank you for answering. I'll try to explain a little bit more the end result I want. Basically, something like what Apple uses for the "Silent Mode" floating pill/indicator at the top of the screen. Something I could use in my app to indicate success/errors/confirmations when some actions are performed by the user. Let say an action is performed in the SheetContentView, I want to immediately present the indicator while also dismissing the sheet. I dismiss the sheet I want the PillNotificationView to stay visible, on top of everything. So it can't be an overlay/ZStack to the SheetContentView, and it can't be an overlay/ZStack to the MyView. Regarding the code (this does not work as explained above because the PillNotificationView is overlaid to the MyView due to the ZStack) ZStack { MyView() if isPillPresented { PillNotificationView() } } .sheet(isPresented: $isPresentingSheet) { SheetContentView() } I want the view to be presented only once either above everything (no matter if the top view is the SheetContentView or MyView). I hope it makes it more clear. Let me know. Axel PS: This UI: https://github.com/ivanvorobei/SPIndicator an old blog post talking about something similar is https://www.fivestars.blog/articles/swiftui-hud/
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’26
Reply to StoreKit 2: is there a way for an app to be informed in real time if an auto-renewable subscription is cancelled by the user?
Hello, I think it's expected that Transaction.updates is not called (because when a user cancels its subscription, there is actually no new transaction to be pushed to the devices) but I expect Product.SubscriptionInfo.Status.updates to be called (also when a user changes plan from monthly to yearly for example, so we can be informed about the renewal product). This Status.update async sequence is called when I test with Xcode testing (with a configuration file). But this behaviour seems to be different in the Sandbox environment (or it's very very slow to update?). Before publishing the app, I want to be sure my flow is working but having two different behaviours between the Sandbox and the Xcode testing is not helping. Thank you, Axel
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’26
Reply to How can I remove a localization from a String Catalog in a Swift Package?
Hello, The solution I came up to was: Close Xcode. Remove the hidden folder .swiftpm from the Package folder. I noticed the UserInterfaceState.xcuserstate file in a subfolder of this folder contained some references to the languages (I could find language codes in it like "pt-PT"). Open the package again with Xcode. The languages that weren't translated at all (0% progress) got removed from the string catalog. The other languages where at least one string was translated stayed in the string catalog. I don't think this is ideal but I hope it can help others. Axel
Oct ’25
Reply to Crash log and symbolication when using Xcode Cloud
Thank you @DTS Engineer. These are great details! I've follow-up questions to be sure using Xcode Cloud doesn't turn out in being a mistake. If I archive only using Xcode Cloud (with the option to include symbol enabled), can the Xcode Organizer show symbolicated crash logs for app builds that are more than 30 days old (the archive availability window)? For example, a crash for an app version released 6 months ago. Can you elaborate on the "significant debugging capabilities using LLDB that aren't possible without them". What does that mean? Basically, what I want is to be able to see the crash logs in Xcode Organizer, and open them in Xcode Project at the commit I used to archive the app to see what caused the crash and to fix it. I hope it's clear. Thank you, Axel
Jun ’25
Reply to How to get the correct animation when inserting/removing a row in a SwiftUI List from a swipeAction?
Additional informations: It's working fine with SwiftUI on iOS 17 and iOS 18. It's working fine with an equivalent UIKit code on iOS 26 and iOS 27. In my opinion, it's very likely to be a SwiftUI regression. I updated the feedback FB23661327 with these informations. I would love an Apple engineer to have a look at it and fix the issue before iOS 27 ships. Axel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
3w
Reply to Shortcuts and App Intents does not work on simulators running iOS 26 or iOS 27
Hello, I took the time to check, it's actually not working starting iOS 26.4. For simulators running previous iOS 26 versions (like 26.3), the app shortcuts can be run and the app intents too. iOS 18.6: ✅ iOS 26.3.1: ✅ iOS 26.4.1: ✅ Shortcuts & intents correctly run but only one suggestion is used to create the shortcuts❌ iOS 26.5: ❌ No shortcuts created. Not possible to run shortcuts or intents. iOS 27: ❌ Same as 26.5. I added the information in the feedback. See this screenshot. Regards, Axel
Replies
Boosts
Views
Activity
Jun ’26
Reply to CSSearchableItemAttributeSet.associateAppEntity(_:priority:) causes "Failed to request donation" warning
I'm noticing the same. Can you please tell use where to file Core Spotlight feedback in the Feedback App? I can't find the technology in the drop down. Thank you.
Replies
Boosts
Views
Activity
Jun ’26
Reply to SwiftData predicate filtered by enum case
I just tested using an Enum in a SwiftData Query Predicate only works for anyAppleOS 27 & doesn't back deploy when building on Xcode 27 🫤 On anyAppleOS 26 & below, Xcode logs "Query encountered an error: Unsupported Predicate: Captured/constant values of type 'TheEnum' are not supported" @Frameworks Engineer do you think there is any chance to back deploy that to prior OS versions? Thank you.
Topic: SwiftData SubTopic:
SwiftData Q&A
Replies
Boosts
Views
Activity
Jun ’26
Reply to SwiftData predicate filtered by enum case
@Frameworks Engineer thank you for sharing that! Does this only work for the new anyAppleOS 27 and not before (like iOS 17/18/26)? Thanks Axel
Topic: SwiftData SubTopic:
SwiftData Q&A
Replies
Boosts
Views
Activity
Jun ’26
Reply to Darkmode in AppstoreConnect
Here is mine, filed more than 2 years ago: FB13603810
Topic: App Store Connect SubTopic:
App Store Connect & TestFlight Q&A
Replies
Boosts
Views
Activity
Jun ’26
Reply to Aggregate functions in SwiftData
Hello @Frameworks Engineer @cgontijo, I filed feedback for that in January 2024. Basically, the equivalent to NSExpression functions like sum/average/max/median. https://developer.apple.com/documentation/foundation/nsexpression/1413747-expressionforfunction FB13522377 FB13522406 FB13521724 FB13522412 FB13522411 FB13522401 FB13522382 Feel free to check them. It's blocking me from adopting SwiftData because I can't do any operation on my data set as I have to fetch all objects into memory with SwiftData. Regards, Axel
Topic: SwiftData SubTopic:
SwiftData Q&A
Replies
Boosts
Views
Activity
Jun ’26
Reply to How to present a View above everything in SwiftUI?
Hello @DTS Engineer, Thank you for answering. I'll try to explain a little bit more the end result I want. Basically, something like what Apple uses for the "Silent Mode" floating pill/indicator at the top of the screen. Something I could use in my app to indicate success/errors/confirmations when some actions are performed by the user. Let say an action is performed in the SheetContentView, I want to immediately present the indicator while also dismissing the sheet. I dismiss the sheet I want the PillNotificationView to stay visible, on top of everything. So it can't be an overlay/ZStack to the SheetContentView, and it can't be an overlay/ZStack to the MyView. Regarding the code (this does not work as explained above because the PillNotificationView is overlaid to the MyView due to the ZStack) ZStack { MyView() if isPillPresented { PillNotificationView() } } .sheet(isPresented: $isPresentingSheet) { SheetContentView() } I want the view to be presented only once either above everything (no matter if the top view is the SheetContentView or MyView). I hope it makes it more clear. Let me know. Axel PS: This UI: https://github.com/ivanvorobei/SPIndicator an old blog post talking about something similar is https://www.fivestars.blog/articles/swiftui-hud/
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to StoreKit 2: is there a way for an app to be informed in real time if an auto-renewable subscription is cancelled by the user?
Hello, I think it's expected that Transaction.updates is not called (because when a user cancels its subscription, there is actually no new transaction to be pushed to the devices) but I expect Product.SubscriptionInfo.Status.updates to be called (also when a user changes plan from monthly to yearly for example, so we can be informed about the renewal product). This Status.update async sequence is called when I test with Xcode testing (with a configuration file). But this behaviour seems to be different in the Sandbox environment (or it's very very slow to update?). Before publishing the app, I want to be sure my flow is working but having two different behaviours between the Sandbox and the Xcode testing is not helping. Thank you, Axel
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to How can I remove a localization from a String Catalog in a Swift Package?
Hello, The solution I came up to was: Close Xcode. Remove the hidden folder .swiftpm from the Package folder. I noticed the UserInterfaceState.xcuserstate file in a subfolder of this folder contained some references to the languages (I could find language codes in it like "pt-PT"). Open the package again with Xcode. The languages that weren't translated at all (0% progress) got removed from the string catalog. The other languages where at least one string was translated stayed in the string catalog. I don't think this is ideal but I hope it can help others. Axel
Replies
Boosts
Views
Activity
Oct ’25
Reply to iTunes search api returns blank screenshotUrls
@keewon I'm seeing the same on my side. Some apps seem to be working as expected (like Yelp), but others don't have any screenshots. Have you found a solution?
Replies
Boosts
Views
Activity
Jul ’25
Reply to Bug in Screen Time API: familyActivityPicker dismisses a presenting sheet on iOS 18.4 and above
Presenting a standard sheet works fine. Even if I present 10 sheets on top of the others, it never dismisses all at the same time. Wrapping the FamilyActivityPicker inside a custom View and presenting with a sheet works fine. Definitely an issue with the Screen Time API.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Crash log and symbolication when using Xcode Cloud
Thank you @DTS Engineer. These are great details! I've follow-up questions to be sure using Xcode Cloud doesn't turn out in being a mistake. If I archive only using Xcode Cloud (with the option to include symbol enabled), can the Xcode Organizer show symbolicated crash logs for app builds that are more than 30 days old (the archive availability window)? For example, a crash for an app version released 6 months ago. Can you elaborate on the "significant debugging capabilities using LLDB that aren't possible without them". What does that mean? Basically, what I want is to be able to see the crash logs in Xcode Organizer, and open them in Xcode Project at the commit I used to archive the app to see what caused the crash and to fix it. I hope it's clear. Thank you, Axel
Replies
Boosts
Views
Activity
Jun ’25
Reply to App Store Connect API: Modify an Auto-Renewable Subscription to change prices for all territories
I just realised it's now working as expected. I noticed my subscription was "In Review" and is now in "Developer Action Needed". Maybe the price cannot be updated while the subscription is "In Review".
Replies
Boosts
Views
Activity
Jan ’25
Reply to What are possible failures when using CLLocationUpdate.Updates AsyncSequence
Thanks @Engineer for sharing that. My first post was maybe not clear because I‘m looking for errors that can be thrown when we use the AsyncSequence, not the properties of a CLLocationUpdate. do { for try await update in CLLocationUpdate.liveUpdates() { } } catch { // what are possible errors here? }
Replies
Boosts
Views
Activity
Dec ’24