I am creating a Keyboard extension for my app and I need to do some queries from the extension to CloudKit.
I have added the capability and the app group but I still can't seem to access Cloudkit.
All I get is this error Couldn't get container configuration from the server for container
Any ideas?
Post
Replies
Boosts
Views
Activity
I am developing Widgets for iOS and I really don't know how to download images for the widgets.
The widget currently downloads an array of Objects, and every object has a URL of an image. The idea is that every object makes a SimpleEntry for the Timeline.
What's the best way of achieving this? I read that Widgets shouldn't use the ObservableObject. I fetch the set of objects in the timeline provider, which seems to be what Apple recommends. But do I also download the images there and I wait until all are done to send the timeline?
Any advice would be very helpful,
I am working on SwiftUI to make a widget and I can't figure out if I'm doing something wrong or there's a bug in SwiftUI.
I have an Image that I use as a background and at the top there's a text. If I apply resizable() to the Image it also affects the behaviour of the text.
The following code
var body: some View {
ZStack {
VStack {
Image(affirmation.customImageName ?? "c_0")
.resizable()
.scaledToFill()
.clipped()
}
HStack {
Text(affirmation.title)
.font(.body)
.multilineTextAlignment(.leading)
.lineLimit(nil)
Spacer()
}
.padding(.leading, 5)
.padding(.top, 5)
}
}
Creates a full background image that takes the whole view, but the Text is out of bounds as well.
And the following code (without resizable()):
var body: some View {
ZStack {
VStack {
Image(affirmation.customImageName ?? "c_0")
.scaledToFill()
.clipped()
}
HStack {
Text(affirmation.title)
.font(.body)
.multilineTextAlignment(.leading)
.lineLimit(nil)
Spacer()
}
.padding(.leading, 5)
.padding(.top, 5)
}
}
Creates the Image without filling the whole space but the Text is perfectly displayed.
(I would have attached screenshots but it doesn't seem possible)
I have been uploading new versions of my app for months and months but yesterday, when I was preparing a new Testflight build I got the following message:
ERROR ITMS-90034: Missing or invalid signature
This came after the archive ended up successfully.
I got an email from App Store Connect with the following
ITMS-90034: Missing or invalid signature - The bundle 'com.XXXX.ZZZZ' at bundle path 'Payload/YYYY.app' is not signed using an Apple submission certificate. This is weird as I have in Xcode the "Automatically manage signing" activated and nothing has changed from last build to this one.
Any idea?