Post

Replies

Boosts

Views

Activity

Reply to WidgetBundle with ControlWidget does not work on iOS 17
@devdevdev I think this should work var body: some Widget { widgets() } func widgets() -> some Widget { if #available(iOSApplicationExtension 18.0, *) { return iOS18Widgets } else { return iOS17Widgets } } @WidgetBundleBuilder var iOS17Widgets: some Widget { LiveActivityWidget() HomeScreenWidget() LockScreenWidget() } @available(iOSApplicationExtension 18.0, *) @WidgetBundleBuilder var iOS18Widgets: some Widget { LauncherControl() LiveActivityWidget() HomeScreenWidget() LockScreenWidget() } It combines the idea of this thread with the workaround mentioned in https://www.avanderlee.com/swiftui/variable-widgetbundle-configuration/
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to SwiftData Crash On Models With Relationships Deletion
I do also face the crashing in the same situation. I have a parent child relationship which have a 1:many relationship. Deleting child elements works fine, but as soon as I want to delete the parent the application is crashing for me in Xcode 15.0 Beta 2. I do hope this is still a beta issue or there is some official of way of deleting such a relationship gracefully in the future.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to AppIntentsPackage protocol with SPM package not working
Hey @joeycarmello thanks a lot for your hint. This actually fixes the compilation error, so building works fine but then the app shortcut does not show up in the Shortcuts app. But if I then remove the prefixes again and build again it works. But - if I then do a clean and try to build again it fails with the initial error message. All in all, very weird tbh. I currently assume that the setup I have is not fully compatible with the current beta. Which I really do hope gets fixed with the next beta though.
Topic: App & System Services SubTopic: General Tags:
Jun ’23
Reply to Using ConcentricRectangle as a ButtonBorderShape
After Beta 5 has been released today, I checked again but still couldn't find a way to conform a ButtonBorderButtonShape to conform to the ConcentricRectangle behaviour. Is there a recommended way to do that or has anyone found out a way to do that? Any help is appreciated :)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to New WebView in iOS 26 Pull To refresh support
Hey, sorry for getting back so late. Thank you very much for taking a look into it! I have created the Feedback: FB19105514
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to WidgetBundle with ControlWidget does not work on iOS 17
@devdevdev I think this should work var body: some Widget { widgets() } func widgets() -> some Widget { if #available(iOSApplicationExtension 18.0, *) { return iOS18Widgets } else { return iOS17Widgets } } @WidgetBundleBuilder var iOS17Widgets: some Widget { LiveActivityWidget() HomeScreenWidget() LockScreenWidget() } @available(iOSApplicationExtension 18.0, *) @WidgetBundleBuilder var iOS18Widgets: some Widget { LauncherControl() LiveActivityWidget() HomeScreenWidget() LockScreenWidget() } It combines the idea of this thread with the workaround mentioned in https://www.avanderlee.com/swiftui/variable-widgetbundle-configuration/
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to AppIntentsPackage protocol with SPM package not working
With Xcode 15 now released, I was still not able to get my setup to work. Still running into the "Command AppIntentsSSUTraining failed with a nonzero exit code" error
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Error saving @Model with enum
I can also confirm it works now correctly :)
Replies
Boosts
Views
Activity
Sep ’23
Reply to Duplicated Signature when archiving a multi platform project
I can confirm that the original issue is resolved in the RC of Xcode 15 now. I can built and sign my application correctly now, building for iOS and watchOS.
Replies
Boosts
Views
Activity
Sep ’23
Reply to Duplicated Signature when archiving a multi platform project
For me Xcode 15 Beta 6 is fixing the issue. It's working in the mentioned setup and I do not face the duplicated signature issue any longer. @oswaldo I do not see any duplicated process steps in my build logs any longer in Beta 6. @ksuther I see this a macOS project ? For this I did not try it yet, since the project is mobile only atm.
Replies
Boosts
Views
Activity
Aug ’23
Reply to Duplicated Signature when archiving a multi platform project
@oswaldo I do not use Cocoapods, I am using SPM to integrate my dependencies, where I currently assume this should work out of the box - at least I do not know what could cause this issues I have. I can also not find CONFIGURATION_BUILD_DIR within my Xcode project :(
Replies
Boosts
Views
Activity
Aug ’23
Reply to Duplicated Signature when archiving a multi platform project
@eskimo Great to hear the feedback reached the right place! I will continue checking with each new beta and monitoring the feedback.
Replies
Boosts
Views
Activity
Jul ’23
Reply to Duplicated Signature when archiving a multi platform project
I can still reproduce this issue under Xcode 15.0 Beta 5, seems like it was not fixed yet
Replies
Boosts
Views
Activity
Jul ’23
Reply to dropDestination does not work inside List
I can confirm it's also not working for me when I want to drag and drop items between two sections in a list. If I remove the list, as described above, it works but within one list declaration I am not able to. This is still an issue in Xcode 15.0 Beta 4
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to AppIntentsPackage protocol with SPM package not working
Seems to still not work in Xcode 15.0 Beta 3. I do still see the same error messages mentioned in the initial post. Feedback filed under: FB12550171
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to SwiftData Crash On Models With Relationships Deletion
I do also face the crashing in the same situation. I have a parent child relationship which have a 1:many relationship. Deleting child elements works fine, but as soon as I want to delete the parent the application is crashing for me in Xcode 15.0 Beta 2. I do hope this is still a beta issue or there is some official of way of deleting such a relationship gracefully in the future.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to AppIntentsPackage protocol with SPM package not working
Hey @joeycarmello thanks a lot for your hint. This actually fixes the compilation error, so building works fine but then the app shortcut does not show up in the Shortcuts app. But if I then remove the prefixes again and build again it works. But - if I then do a clean and try to build again it fails with the initial error message. All in all, very weird tbh. I currently assume that the setup I have is not fully compatible with the current beta. Which I really do hope gets fixed with the next beta though.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23