I too am getting the same errorERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 12.1 SDK. New apps for iPhone or iPad must be built with the iOS 13 SDK or later."Why announce an extension and then not implement it?
Post
Replies
Boosts
Views
Activity
I got a response from Apple regarding this. The extension only extents to app updates - it does not apply to new apps.
This works for me:
func checkNumWidgetsInstalled() {
WidgetCenter.shared.getCurrentConfigurations { [weak self] result in
guard let strongSelf = self else { return }
switch result {
case let .success(widgets):
let myWidgetCount = widgets.count
for widg in widgets {
let intent = widg.configuration as? WidgetConfigIntent
if let intent = intent {
print("Widget: \(widg) family: \(widg.family) kind: \(widg.kind) config: \(intent)")
}
}
DispatchQueue.main.async {
strongSelf.updateNumWidgetsInstalled(myWidgetCount)
}
case let .failure(error): print(error)
}
}
}
func updateNumWidgetsInstalled(_ count: Int) {
print("WIDGET COUNT: \(count)")
DataManager.saveNumWidgetsInstalled(count)
numWidgetsInstalled = count
}
Does no one know the answer to this?