I am developing an app with a widget available. Until recently the widget was being shown on both an iPhone and an iPad devices. Then I changed some logic in the widget, and now it only displays on the iPhone.
I also use the Xcode simulators in the development, and the widget is available on both iPhone and iPad simulators, with same code.
Summarizing the status for the widget.
Simulators
iPhone (13 Pro Max, iPhone 12) - OK
iPad Pro (12.9" 5th Gen) - OK
Devices
iPhone (11) - OK
iPad (Air 2) - Not available
I can attach the Widget extension to the debugger for the simulators and the iPhone device. However the process in not there when I use the iPad device, so cannot attach the widget code to the debugger. Even if I attach the widget extension by name to the debugger, it is as if it is not running.
I can run the widget extension directly on the iPad device (using an appropriate build scheme) and the details of the info displayed by the widget is the same as for the iPhone. So it is not running the widget on an iPad that is the problem.
It seems like the widget extension is not embedded in the app code when the app is loaded on to an iPad device.
Has anyone experienced anything similar?
Not necessarily with a widget, it could be with another framework extension.
1
0
1.3k