title: I can't add systemExtraLarge family in WidgetConfiguration for iOS 15
body: <p>I want to add an extra large widget as supported family for iOS 15 in my application.</p>
  <p>The simplified code for WidgetConfiguration is as follows:</p>
  <pre><code>    var body: some WidgetConfiguration {
          IntentConfiguration(
              kind: &quot;Widget&quot;,
              intent: SelectProjectIntent.self,
              provider: Provider()
          ) {
              entry in
              ProgressWidgetEntryView(entry: entry)
          }
          .configurationDisplayName(&quot;Title&quot;)
          .description(&quot;Description&quot;)
          .supportedFamilies([.systemSmall, .systemMedium, .systemLarge, .systemExtraLarge])
      }
  </code></pre>
  <p>Obviously I can't just simply add extra Large because the following error appears:
  <strong>'systemExtraLarge' is only available in application extensions for iOS 15.0 or newer</strong></p>
  <p>But doing a quick and simple availability checking suggested by XCode I get an error and several warnings. Here is the code:</p>
  <pre><code>    var body: some WidgetConfiguration {
          
          if #available(iOSApplicationExtension 15.0, *) {
              
              IntentConfiguration(
                  kind: &quot;Widget&quot;,
                  intent: SelectProjectIntent.self,
                  provider: Provider()
              ) {
                  entry in
                  ProgressWidgetEntryView(entry: entry)
              }
              .configurationDisplayName(&quot;Title&quot;)
              .description(&quot;Description&quot;)
              .supportedFamilies([.systemSmall, .systemMedium, .systemLarge, .systemExtraLarge])
              
          } else {
              
              IntentConfiguration(
                  kind: &quot;Widget&quot;,
                  intent: SelectProjectIntent.self,
                  provider: Provider()
              ) {
                  entry in
                  ProgressWidgetEntryView(entry: entry)
              }
              .configurationDisplayName(&quot;Title&quot;)
              .description(&quot;Description&quot;)
              .supportedFamilies([.systemSmall, .systemMedium, .systemLarge])
          }
      }
  </code></pre>
  <p>The error is: <strong>Function declares an opaque return type, but has no return statements in its body from which to infer an underlying type</strong>.</p>
  <p>And the two warnings: <strong>Result of call to 'supportedFamilies' is unused</strong>.</p>
  <p>Could someone please explain to me why I am getting this error and how could I fix it so that I can keep the widgets for iOS 14 and add systemExtraLarge for iOS 15?</p>
  <p>I'm using XCode Version 13.0 beta 5 on a macOS Monterey Version 12.0 beta (21A5304g)</p>
  <p>Thanks in advance.</p>