Post

Replies

Boosts

Views

Activity

Reply to API: DeviceCheck, statusCode: 401, message: Unable to verify authorization token
I have received the same error code 401 and it turned out that you need to wait up to 12-24 hours (in my case it was approximately 7 hours) after the creation of the private key until the verification succeeded with 200. Beyond this, you need to create a key for DeviceCheck and not for APN as stated by some examples. APN keys didn't work for me!
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Reply to iOS widget previews with different size family
Here is a workaround to resolve Key path value type 'WritableKeyPath<EnvironmentValues, WidgetFamily>' cannot be converted to contextual type 'KeyPath<EnvironmentValues, WidgetFamily>'. Source: https://stackoverflow.com/a/68489369 extension WidgetFamily: EnvironmentKey {     public static var defaultValue: WidgetFamily = .systemMedium } extension EnvironmentValues {   var widgetFamily: WidgetFamily {     get { self[WidgetFamily.self] }     set { self[WidgetFamily.self] = newValue }   } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to Deleting Forum Posts
If you want to delete a post for some other reason then… well… what’s the reason? In my case, for example, I wanted to add additional information to my question and accidentally created an answer to my question with that info. Then I realised that it would be much better if I would have clicked edit and extended my question, and then I did it. But there was no way to delete my answer with the same information as in the question.
Jun ’21
Reply to Xcode 12.5 very slow launch time for app in simulator
I‘m also affected by this bug on a Mac mini i7, 2020 with 16 GB RAM. The worst thing is the slow down in UITests because I receive so many timeouts and as a consequence the tests are not reliable anymore with Xcode 12.5 on BigSur. I switched back to Catalina, but now I can not archive my project anymore because some external swift packages are build with 12.5. Apple, please fix it soon!
May ’21