Xcode 16 beta 6 - Widget gallery doesn't show app in iOS 15

We have minimum deployments set to iOS 15 in one of the app for both application and widget target.

When install app in simulator or real device using Xcode 15.4, it works fine in iOS15, iOS16, iOS17 and iOS18 beta.

When install app in simulator or real device, using Xcode 16 beta 6, it works fine in iOS16, iOS17 and iOS18 beta but in iOS 15, our app doesn't show in widget gallery.

I have the same issue. Mine until iOS 14 though.

Is there a solution? I also encountered this problem. I created a widget project in Xcode 15, but it crashed when I compiled it in Xcode 16 and the widget could not be found.

Same issue here. My app with widgets works perfectly fine when compiled with Xcode 15, but when compiled with Xcode 16, widgets no longer work on iOS 15 (they continue to work fine on iOS 17 and 18, not sure about iOS 16).

When trying to run on an actual iOS 15 device, there are loads of error messages in the console, including a crash with "Swift entry point not found".

I am experiencing the same issue with Xcode 16.0. I have tested my widget on iOS 15-18 simulators and iOS 15 and 18 physical devices. The widget only disappears on iOS 15.

same issues in xcode16.0 I can't use widgets on iOS15 and iOS16 on real phones and emulators, either my own projects or open source demos of multiple widgets downloaded from github.

Same problem, is doesn't show any error.

I’m having the same issue. Has anyone found a solution to this?

I encountered the same issue on iPhone 16.0.1 and 15.7, and the official intentionally blocked this feature

Now, I use Xcode 16 official version(downloaded from App Store) has the same problem. My App archived from Xcode 16 can not see Widget in iOS 15 device, but iOS 16/17/18 runs well. What should we do can fix this problem? Maybe it's Xcode 16 's bug.

Same issue here with Xcode 16 Release. Even fresh created iOS 15 project with widgets target added, won't show widgets in widgets list. Xcode 15 works fine

Same issue with Xcode 16.2 beta 16B5100e. It's still a problem for us because we need iOS 15 support for our widget.

Xcode 16.1 Release - problem still presents for iOS 15.7

With Xcode 16.1 Release and targeting the iOS 15.x simulator, trying to launch our widget extension from the extension-specific scheme, we get these errors in the Xcode debug console:

2024-10-28 19:08:00.977007-0400 OGWidget[57728:17357274] [PreviewsAgentExecutorLibrary] Calling provided entry point.
2024-10-28 19:08:00.983297-0400 OGWidget[57728:17357274] [PreviewsAgentExecutorLibrary] Swift extension entry trampoline called. Jumping to debug dylib entry point.
2024-10-28 19:08:00.983325-0400 OGWidget[57728:17357274] [PreviewsAgentExecutorLibrary] dyld image header API not available, falling back
2024-10-28 19:08:00.983353-0400 OGWidget[57728:17357274] [PreviewsAgentExecutorLibrary] Mach header found at 0x180700000 in dylib handle 0x208adcc00
2024-10-28 19:08:00.983376-0400 OGWidget[57728:17357274] [PreviewsAgentExecutorLibrary] Stub Executor: Swift entry point not found (entry size: 0). Failing.

The exact same scheme invocation works fine with iOS 16, 17, 18 simulators.

We confirm what others are seeing too: our widgets simply do not appear in the gallery in iOS 15 (or earlier) as a result.

We will have to (temporarily?) move our minimum target SDK to iOS 16 in order to be able to release anything without breaking widgets for older users. (We have 1% of our users stuck on iOS 15 due to older device models that can't be upgraded.)

App Crash on Launch - Entry Point Not Found in Debug Dylib

I'm experiencing a crash when launching my widget app, and I'm hoping someone can help me figure out what's going on. It

#1  0x00000001fce533bc in pthread_kill ()
#2  0x0000000196dc7524 in abort ()
#3  0x00000001025c94f0 in abort_swift_entry_main_entry_point_not_found___debug_dylib ()
#4  0x00000001025c9a48 in lookupMainFuncAddressInDebugDylibMachHeader ()
#5  0x00000001025c9bf4 in __debug_dylib_swift_extension_entry_trampoline ()
#6  0x00000001d3990214 in -[EXSwiftUI_Subsystem init] ()
#7  0x00000001d3990798 in __37+[EXSwiftUI_Subsystem sharedInstance]_block_invoke ()
#8  0x000000018b91ca30 in _dispatch_client_callout ()
#9  0x000000018b91e2b0 in _dispatch_once_callout ()
#10 0x00000001d3989a94 in +[EXSwiftUI_Subsystem sharedInstance] ()
#11 0x00000001c6b2b0c4 in __PLUGINKIT_CALLING_OUT_TO_CLIENT_SUBSYSTEM_FOR_INIT__ ()
#12 0x00000001c6b42ab0 in ___lldb_unnamed_symbol912 ()
#13 0x00000001c6b2eae8 in ___lldb_unnamed_symbol492 ()
#14 0x00000001c6b2a450 in ___lldb_unnamed_symbol441 ()
#15 0x00000001c6b421c8 in ___lldb_unnamed_symbol906 ()
#16 0x00000001c6b2b33c in ___lldb_unnamed_symbol449 ()
#17 0x00000001c6b2a2e8 in ___lldb_unnamed_symbol438 ()
#18 0x00000001d3987d10 in EXExtensionMain ()
#19 0x000000018d4d9ebc in NSExtensionMain ()
2024-11-06 11:57:06.650900+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Looking up debug dylib relative path
2024-11-06 11:57:06.651655+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Found debug dylib relative path string `WidgetTest.debug.dylib`
2024-11-06 11:57:06.651678+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Looking up debug dylib entry point name
2024-11-06 11:57:06.651683+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] No debug dylib entry point name defined.
2024-11-06 11:57:06.651687+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Looking up debug dylib install name
2024-11-06 11:57:06.651692+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Found debug dylib install name string `@rpath/WidgetTest.debug.dylib`
2024-11-06 11:57:06.651700+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Looking for Previews JIT link entry point.
2024-11-06 11:57:06.651910+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] No Previews JIT entry point found.
2024-11-06 11:57:06.651920+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Gave PreviewsInjection a chance to run and it returned, continuing with debug dylib.
2024-11-06 11:57:06.651923+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Looking for main entry point.
2024-11-06 11:57:06.651925+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Opening debug dylib with '@rpath/WidgetTest.debug.dylib'
2024-11-06 11:57:06.651935+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Debug dylib handle: 0x2056a54c0
2024-11-06 11:57:06.651938+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] No entry point found. Checking for alias.
2024-11-06 11:57:06.651940+0900 WidgetTest[582:19000] [PreviewsAgentExecutorLibrary] Calling provided entry point.

The app crashes immediately upon launch. The crash appears to be related to __debug_dylib_swift_extension_entry_trampoline. The logs indicate that PreviewsAgentExecutorLibrary cannot find the debug dylib entry point. Specific messages include: "No debug dylib entry point name defined." "No entry point found. Checking for alias."

Additional Details:

The crash seems to be happening during the initialization of EXSwiftUI_Subsystem. The function abort_swift_entry_main_entry_point_not_found___debug_dylib suggests that the main entry point in the debug dylib is missing. The app uses SwiftUI and includes a widget extension. The issue persists even after disabling SwiftUI Previews and cleaning the build.

**Notably, like others have reported, this issue only occurs when using Xcode 16, and it only happens on devices running iOS 15. **

Xcode 16.2 - problem is there still.

Xcode 16 beta 6 - Widget gallery doesn't show app in iOS 15
 
 
Q