I'm using Xcode 12.1 12A7403
, and when I go to Editor > Add Target
, the option to create "Today Extensions" using Storyboards no longer exists, but instead, there is only the option to create "Widget Extensions" using SwiftUI.
Is there a way to create "Today Extensions" in this version of Xcode? I still want my extension to be compatible with iOS 13.
The easiest way to add an app extension target is to use an Xcode template that provides a target preconfigured for your extension point. To add a new target to your Xcode app project, choose File > New > Target. In the sidebar on the left side of the new target dialog, choose Application Extension for iOS or OS X.
App extensions let you extend custom functionality and content beyond your app and make it available to users while they're interacting with other apps or the system.
From an Apple Systems Engineer of Apple's Developer Forum:
Today Extensions continue to be available, however, they are deprecated. When your app is submitted for the newer SDK the legacy today widget extension will be removed.
That being said, widgets that were originally designed for earlier iOS versions are still available on device - just only in more limited capacity (app the bottom of Today View). According to Apple:
Today widgets designed for iOS 13 and earlier aren’t available on the Home screen, but remain accessible at the bottom of the Today View and in the macOS Notification Center.
Edit: This means in order to create a Today Extension, one must downgrade to XCode 11, then create an target Today Extension.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With