I am trying to use widgetKit extension to my existing Xcode project. I get following error when I run the App.
Unable to install "AppName"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653007
User Info: {
DVTErrorCreationDateKey = "2023-06-22 11:57:05 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
This app contains an app extension that specifies an extension point identifier that is not supported on this version of iOS for the value of the NSExtensionPointIdentifier key in its Info.plist.
- Xcode version – 14.2
- App deployment version – iOS 14
- WidgetKitExtension deployment version – iOS 16.2
- Device used to test iPhone 13 – iOS 16.5*
Thanks
Ranjit
2
Answers
Is the value for
NSExtensionPointIdentifier
in the extension’s Info.plist is something other thancom.apple.widgetkit-extension
?Your error info provide limited info.
Have you enabled the
Capability
ofApp Groups
, The weight target should be in one group with your main project