Post

Replies

Boosts

Views

Activity

Reply to Companion Apple Watch App local notifications delayed?
I have received the following feedback from Apple: This is correct behaviour. If you have both a phone and watch app installed we’ll try to coordinate between phone and watch notifications if the phone is unlocked. If the app developer doesn’t send a notification on the phone the watch will timeout after 13 seconds and alert anyway. The best solution to this would be to send the same notification on both devices ensuring the UNNotificationRequest.identifier matches on a per-instance basis. This will let us alert and deduce correctly.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’22
Reply to Corner complication with arching text label
There is another thread on this issue where one user got feedback from an Apple engineer: https://developer.apple.com/forums/thread/707827 So I got an answer from a framework engineer on Twitter and it seems that the curved text in the corner won't be supported in watchOS 9. We're supposed to work around by setting a font like .system(size: 28, weight: .semibold, design: .rounded) to get a similar text size but it won't be curved. The other "issue" with the gradient gauge was a misunderstanding of mine: I thought it's only possible to tint it in combination with a gauge style but we can of course just add a .tint(gradient) modifier This bug/oversight is currently blocking my migration to WidgetKit-based complications since you cannot combine the two frameworks for different slots.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’22
Reply to AppShortcuts are not showing up when using CustomIntentMigratedAppIntent with Xcode 14.1 beta 3.
Thank you, ColtonJ! My AppIntents were no longer visible in the Shortcuts app and this solved my issue. Another tip: If you use SwiftFormat in your project and write code like static var typeDisplayRepresentation: TypeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name") it will get reformatted to static var typeDisplayRepresentation: TypeDisplayRepresentation = .init(name: "Some Name") which breaks the metadata processor again. Therefore I recommend using the following syntax: static var typeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name")
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’22
Reply to Preview crashes consistency in Xcode 16 beta
Most of my Xcode previews are crashing very often on Xcode 16 beta. I receive the following errors: Fatal Error in UVJITAgent.swift: Failed linking pseudodylib <path> during initial JIT link. dlopen(<path>, 0x0002): Library not loaded: /System/Library/Frameworks/_ClockKit_SwiftUI.framework/_ClockKit_SwiftUI LLVMError(description: "Duplicate definition of symbol ...") AppCannotRunOnTargetDestination: This app cannot run on the selected target device. I can get all previews to work by performing an incremental build and resuming the preview. Sometimes, I have to repeat this process multiple times. As soon as I switch to another view, the errors return. I've submitted a feedback report and attached diagnostics for all errors (FB13865079).
Jun ’24
Reply to Companion Apple Watch App local notifications delayed?
I'm experiencing the same issue since watchOS 8.0. I've submitted a bug report: FB9842030
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Companion Apple Watch App local notifications delayed?
I have received the following feedback from Apple: This is correct behaviour. If you have both a phone and watch app installed we’ll try to coordinate between phone and watch notifications if the phone is unlocked. If the app developer doesn’t send a notification on the phone the watch will timeout after 13 seconds and alert anyway. The best solution to this would be to send the same notification on both devices ensuring the UNNotificationRequest.identifier matches on a per-instance basis. This will let us alert and deduce correctly.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Unable to upload app with iOS 16 background asset download extension to Testflight - invalid info.plist
I'm encountering the same error message with an app intents extension. As a workaround, I've disabled the extension and added its code to my main app target. I'm not sure if this is also possible in your case.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Xcode 14 beta 5 simulator with broken Lock Screen Customization
Here is a workaround that works great for me so far: https://blog.nihongo-app.com/stop-xcode-14-beta-from-pegging-cpu/
Replies
Boosts
Views
Activity
Aug ’22
Reply to XCode 14 Beta 5 Energy Consumption Issues may Potentially Damage MacBook screens.
Here is a workaround that works great for me so far: https://blog.nihongo-app.com/stop-xcode-14-beta-from-pegging-cpu/
Replies
Boosts
Views
Activity
Aug ’22
Reply to Xcode 14 try to build all SPM when building swiftUI preview
I can confirm this issue on the latest Xcode 14.1 beta 3 (14B5033e).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to Corner complication with arching text label
There is another thread on this issue where one user got feedback from an Apple engineer: https://developer.apple.com/forums/thread/707827 So I got an answer from a framework engineer on Twitter and it seems that the curved text in the corner won't be supported in watchOS 9. We're supposed to work around by setting a font like .system(size: 28, weight: .semibold, design: .rounded) to get a similar text size but it won't be curved. The other "issue" with the gradient gauge was a misunderstanding of mine: I thought it's only possible to tint it in combination with a gauge style but we can of course just add a .tint(gradient) modifier This bug/oversight is currently blocking my migration to WidgetKit-based complications since you cannot combine the two frameworks for different slots.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’22
Reply to AppShortcuts are not showing up when using CustomIntentMigratedAppIntent with Xcode 14.1 beta 3.
Thank you, ColtonJ! My AppIntents were no longer visible in the Shortcuts app and this solved my issue. Another tip: If you use SwiftFormat in your project and write code like static var typeDisplayRepresentation: TypeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name") it will get reformatted to static var typeDisplayRepresentation: TypeDisplayRepresentation = .init(name: "Some Name") which breaks the metadata processor again. Therefore I recommend using the following syntax: static var typeDisplayRepresentation = TypeDisplayRepresentation(name: "Some Name")
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Can't change time in Xcode Simulator
This appears to be an issue with the iOS 16.1 simulator. The status bar customization works fine on iOS 16.0 and below. I've reported the issue to Apple (FB11831131).
Replies
Boosts
Views
Activity
Nov ’22
Reply to Companion Apple Watch App local notifications delayed?
I've tried Apple's suggestion and scheduled my notification on both devices with the same UNNotificationRequest identifier and date. As a result, the notification is now triggered twice. At the correct time on the iPhone and with a 13-second delay on the Apple Watch.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Unable to schedule a price change for an in-app purchase
There is nothing wrong with my request payload. I've realized that this API endpoint does not work with in-app purchases which are not yet cleared for sale. I've used one of these for testing, and that caused the issue. A clear error message would be nice though.
Replies
Boosts
Views
Activity
Apr ’23
Reply to Can't change time in Xcode Simulator
This does still not work in Xcode 15 and the iOS 17 simulator, unfortunately.
Replies
Boosts
Views
Activity
Sep ’23
Reply to Xcode 14 try to build all SPM when building swiftUI preview
I still encounter this issue in the final version of Xcode 15.0 (15A240d). It would be great to have previews available on watchOS to help with complications and widget development.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Slow incremental build times with xcodebuild command
I have come to the same conclusion as @nikita_dev. My current workaround is to block network requests to developerservices2.apple.com in my hosts file while using xcodebuild. The issue is still present in Xcode 16.0 beta (16A5171c).
Replies
Boosts
Views
Activity
Jun ’24
Reply to Preview crashes consistency in Xcode 16 beta
Most of my Xcode previews are crashing very often on Xcode 16 beta. I receive the following errors: Fatal Error in UVJITAgent.swift: Failed linking pseudodylib <path> during initial JIT link. dlopen(<path>, 0x0002): Library not loaded: /System/Library/Frameworks/_ClockKit_SwiftUI.framework/_ClockKit_SwiftUI LLVMError(description: "Duplicate definition of symbol ...") AppCannotRunOnTargetDestination: This app cannot run on the selected target device. I can get all previews to work by performing an incremental build and resuming the preview. Sometimes, I have to repeat this process multiple times. As soon as I switch to another view, the errors return. I've submitted a feedback report and attached diagnostics for all errors (FB13865079).
Replies
Boosts
Views
Activity
Jun ’24