Post

Replies

Boosts

Views

Activity

Reply to Can not install App Clip on simulator
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"
Oct ’20
Reply to Widget with content updated from REST api
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&lt;Entry&gt;) -> ()  ) {   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&lt;Entry&gt; {   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!
Jul ’20
Reply to Create new ios 14 widget extension cause crashed
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)
Jul ’20