Skip to content

Conversation

carson-katri
Copy link
Member

@carson-katri carson-katri commented Jun 10, 2025

Known Issues

updated for Xcode 26 beta 1

  • Some modifiers are not being picked up by the code generator (such as frame or the variant of padding with no arguments)
  • You may get build errors if SwiftPM prebuilt packages are enabled, you can disable them with the following defaults command:
defaults write com.apple.dt.Xcode IDEPackageEnablePrebuilts NO

@carson-katri
Copy link
Member Author

Modifiers not being picked up by the code generator is fixed in c38215d. The issue was due to some new #if conditionals in the .swiftinterface for Swift 6.2, which weren't being opened up to check for func declarations:

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
extension SwiftUICore.View {
  #if compiler(>=5.3) && $NonescapableTypes
  nonisolated public func sheet<Item, Content>(item: SwiftUICore.Binding<Item?>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUICore.ViewBuilder content: @escaping (Item) -> Content) -> some SwiftUICore.View where Item : Swift.Identifiable, Content : SwiftUICore.View
  
  #endif
  #if compiler(>=5.3) && $NonescapableTypes
  nonisolated public func sheet<Content>(isPresented: SwiftUICore.Binding<Swift.Bool>, onDismiss: (() -> Swift.Void)? = nil, @SwiftUICore.ViewBuilder content: @escaping () -> Content) -> some SwiftUICore.View where Content : SwiftUICore.View
  
  #endif
}

The modifier generator will now look inside the #if compiler(>=5.3) && $NonescapableTypes for modifier function declarations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant