After updating to xcode 12.5 and ios14.5, our app's widget is NOT appearing in "Search widgets"
I tried to upload the bundle with bitcode disabled but that didn't help. Anyone else experiencing this issue?
Post
Replies
Boosts
Views
Activity
When I try and run the widget extension on my device, it either: says "RUNNING.... but doesn't actually start the widget or show any log files"
or crashes with this error even though I've cleaned the build file and no other device is trying to run
Details
Another launch session is already waiting to debug the app extension with identifier : com.XYZ.Widget
Domain: IDELaunchAppExtensionErrorDomain
Code: -1-
System Information
macOS Version 10.15.6 (Build 19G2021)
Xcode 12.0 (17219)
I have a simple Firebase data query which was working before iOS14 beta 8
but now it's not reaching the backend. Here is the error
2020-09-10 16:57:07.968391-0400 latitude[1658:257844] 6.32.0 - [Firebase/Firestore][I-FST000001] Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
CODE:
let query = Firestore.firestore().collection("XYZ").whereField("location", isEqualTo: location).whereField("updatedAt", isGreaterThan: timestamp).order(by: "updatedAt").limit(toLast: 1)
query.getDocuments { (snapshot, error) in
if let error = error {
Console.error("the error is \(error.localizedDescription)")
return
}
guard let snapshot = snapshot else {
Console.error("no snapshot")
return
}
let documents = snapshot.documents
Is anyone else having this issue and knows a solution?
When I try and run my widget extension on my own device, Xcode builds successfully but then has a SIGABRT with the following error:
dyld: symbol '$s9WidgetKit22IntentTimelineProviderP11placeholder4with5EntryQzAA0dE7ContextVtFTq' not found, expected in '/System/Library/Frameworks/WidgetKit.framework/WidgetKit', needed by '/private/var/containers/Bundle/Application/623CCA05-986E-4D28-AACA-697F79BD600C/latitude.app/PlugIns/LatitudeWidgetExtension.appex/LatitudeWidgetExtension'
It looks like something is missing. It runs in the simulator fine but I can't get it to run on my own device
Xcode beta 3
IPhone 11 Pro
I get the same error even after cleaning the build folder and trying again
Can you use emitters in widgets?
Even when using the provided completed code, the simulator doesn't allow you to preview the widget in the simulator. When you click the plus, the created widget isn't displayed as an option and even searching for it doesn't help