I found the error detail:
Details
SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget '*****-widget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***-widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (***-widget)}." UserInfo={NSLocalizedDescription=Failed to show Widget '***-widget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***-widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (***-widget)}., NSUnderlyingError=0x7fdc7acd2330 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***-widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (*****-widget)}}}
Domain: DTXMessage
Code: 1-
System Information
macOS Version 10.16 (Build 20A4299v)
Xcode 12.0 (17177)
Post
Replies
Boosts
Views
Activity
change to New Build System (Default) might work in this thread:
https://developer.apple.com/forums/thread/651611
Me too, it also happen with my own widget, I don't know why :(
imgur.com/IaudSLR
I have same issue, as I tested: IntentTimelineProvider always show blank on simulator, I need to use TimelineProvider.
Then in the near future, I will convert static type into intend type later.
Sadly, hope Apple will fix it soon.
My system info:
Mac Big Sur 11.0 Beta (20A4299v)
xCode Version 12.0 beta (12A6159)
iPhone 11 pro simulator
Oh, my final decision is keep using IntentTimelineProvider run on physical devices, run it on physical devices will avoid blank content.
Oh, still waiting..
Can anyone point me out how to do this?
The video guide Widgets Code-along, part 3: Advancing timelines - https://developer.apple.com/videos/play/wwdc2020/10036 doesn't help me.
here my code:
public func timeline(
for configuration: ConfigurationIntent,
with context: Context,
completion: @escaping (Timeline<Entry>) -> ()
) {
print("Provider.timeline: ")
fetchStocks { (stocks: [Stock], error: Bool) in
print("fetchStocks: stocks: ", stocks)
completion(getTimeLineFromStocks(stocks: stocks, for: configuration, with: context, reloadPolicy: .atEnd))
}
}
func getTimeLineFromStocks(
stocks: [Stock],
for configuration: ConfigurationIntent,
with context: Context,
reloadPolicy: TimelineReloadPolicy
) -> Timeline<Entry> {
var entries: [SimpleEntry] = []
let currentDate = Date()
entries.append(SimpleEntry(
date: Calendar.current.date(byAdding: .second, value: 15, to: currentDate)!,
configuration: configuration,
stocks: stocks
))
let timeline = Timeline(entries: entries, policy: reloadPolicy)
return timeline
}
My log show Provider.timeline was called to much:
Provider.timeline:
2020-07-23 16:58:07.365505+0700 money24h-widgetExtension[5217:1242454] libMobileGestalt MobileGestaltCache.c:166: Cache loaded with 4563 pre-cached in CacheData and 53 items in CacheExtra.
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
Provider.timeline:
2020-07-23 16:58:07.770693+0700 money24h-widgetExtension[5217:1242454] [widget] No intent in timeline(for:with:completion:)
It mean fetchStocks was also called 14 times?
That weird!
I also struggle with this issue on Xcode 12 beta 2, Inside my xcassets have only 1 AppIcon, no other resources.
Cleaning build & derived data won't help.
Restart computer won't help.
I intend to downgrade to Xcode 11.
Might be the same to me ios 14 widget + REST api - https://stackoverflow.com/questions/63052679/need-help-to-make-ios-14-widget-show-content-from-from-rest-api
I got the same error, can anyone tell me how to solve it?
Signing certificate: None Provisioning profile "appclipdev102020" doesn't match the entitlements file's value for the com.apple.developer.parent-application-identifiers entitlement.
> Application identifier of the parent app, "<MyTeamID>.", is not a prefix of the application identifier of the app clip, "<MyTeamID>.<MyMainAppId>.Clip"
My solution is modify the appclips.entitlements
hard code the Parent Application Identifiers to my main app full id, eg: team_name.app.example.com
There are no additional steps required from you. Once your app and app clip are live, the registered URLs for the advanced experience will automatically start working. Can anyone tell me: What is "live" mean?
Will it work on testflight env, I need to test it before publish to production?
Is status Received live?