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
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:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Use data being cached by AVAssetDownloadTask to play in AVPlayer while it is still being downloaded.
You could use caching player item and combine it with a cache.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’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:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Crash in background on iOS 15 EXC_CRASH (SIGKILL)
@edford, I can confirm seeing crash reports with 0x0 exception codes on iOS 15. My guess it is the watchdog killing the app, but I'm not sure. Please see FB9791707.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
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.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Watching list is empty, not receiving emails about new comments
It seems that this behavior is just related to certain questions, not to all. E.g. this one is not on my watch list: https://developer.apple.com/forums/thread/679098
Replies
Boosts
Views
Activity
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!
Replies
Boosts
Views
Activity
May ’21