Search results for

“show when run”

115,112 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS: Issues getting beginBackgroundTaskWithName working reliably
SO, let me start by sorting out a few specific details: delegate is called via applicationWillTerminate which will then again almost immediately end in the app receiving a SIGKILL. applicationWillTerminate is not part of the normal delegate lifecycle. It's a relatively late “add-on that was recycled[1] to give apps SOME opportunity to save work if/when the user for quit them, so it's ONLY called if the app happens to be a wake at the point it's terminated by the user. Most critically, you cannot do ANY work after receiving it. That's because: Your app will call exit() immediately after returning from it. If you block “too long, then the system will kill you anyway. In practice, that means it needs to be handled as a separate edge case as you don't really have a lot of time or flexibility to do significant work. This is not your app being closed in the normal sense, it's actually your app being force-quit by the user. With that out of the way, the important case is actually applicationDidEnterBackground, so le
2w
Will the upcomming Mac Book Pro M6 Max has at least 256GB RAM
Hi Guys, I want to use the newest Mac Book Pro M6 (Max or Ultra) with at least 256GB RAM for AI development. Will my wish may come true? What do you think? One of Apples most advantage here is unified memory and with the privacy first approach, i want to run local modells and show it to my customer just on the macbook. That has much more magic then first plug the power supply for a sparc, connect a network cable and fiddling around. The perfect match would be a Max Book Pro, M6 Ultra, 512GB. But I guess this is just a dream :-(. Please let me know what you think abou that. Thanks
1
0
589
2w
App approved but not available in EU (Malta) – DSA compliance stuck "In Review"
Hello everyone, I’m facing an issue with my app FindUWay (iOS), and I’m trying to understand if this is related to EU Digital Services Act (DSA) compliance. Current situation: App is approved and published on the App Store All agreements, tax forms (including W-8BEN), and banking info are completed and active App is set to be available in 175 countries, including Malta Issue: The app is NOT available in Malta and shows App Not Available on multiple iPhones and Apple IDs. Important detail: In App Store Connect, the only pending item is: Digital Services Act (DSA) compliance → Status: In Review since April 5th What I’ve observed: The app works and appears normally in some regions In Malta (EU), it does not open or install properly This seems to affect multiple devices (including iPhone 17 Pro Max) Questions: Is DSA compliance review blocking app availability in EU countries? Is it expected for the app to be unavailable while DSA is still In Review? Is there anything else I need to configure or submit?
3
0
119
2w
Reply to iCloud Drive silent upload deadlock caused by stale HTTP/3 session in nsurlsessiond (FB22476701)
Thank you for providing such a detailed account of the iCloud Drive file upload deadlock issue on macOS 26.4.1. It sounds like you've done extensive troubleshooting and analysis to identify the root cause. Here's a summary of what you've discovered and some additional thoughts or suggestions that might help refine your approach or assist others experiencing similar issues: Summary of Findings: Root Cause: A stale HTTP/3 (QUIC) session in nsurlsessiond's BackgroundConnectionPool leads to a deadlock during file uploads. Behavior: Deadlock occurs specifically with HTTP/3, while HTTP/1.1 works without issues post-restart. Affects larger files (>100 KB); smaller files may occasionally succeed. Restarting both cloudd and nsurlsessiond resolves the issue temporarily by clearing the poisoned session. Reproduction: Consistent behavior observed across multiple tests with varied file sizes. Diagnosis: Log analysis can help identify occurrences using specific grep patterns. Recovery: A targeted kill command for user-l
2w
Bug: Finder/AppleScript interaction
I have created a simple AppleScript that makes a folder named with today’s date. For many years, it has worked fine except: If I run the script (from a script app in the menu bar), then dump files into the folder, then change the colored “Tag” on the folder, I get a Finder error - An unexpected error occurred (error code -8076) - and I have to force-quit the Finder to complete the color tagging. If it change the tag before dumping the files, no error occurs. (Please hold the “Doctor, it hurts when I do this …” jokes.) This error has persisted through many macOS major iterations, including Tahoe 26.4.1. Prolly a Finder bug, but not sure. Here’s the source, for anyone interested. set dateStr to getDate() --display dialog dateStr tell application Finder activate try --set thisFolder to (the target of the front window) as alias set thisFolder to (the target of the front window) as string make new folder at thisFolder with properties {name:dateStr as string} on error errMsg display dialog ERROR: & er
3
0
139
2w
Xcode 26 Causing StoreKit Fiasco for macOS?
I submitted my last macOS application with IAP on Oct. 23rd, 2025. I was able to test-purchase a non-consumable product with the StoreKit configuration file at that time. These days, every time I test a new macOS application with the configuration file, a purchase process fails. The thing is they all now fail if I test the store with existing applications that were once working. Xcode shows the following debugging error. Purchase failed with error: systemError(Error Domain=NSCocoaErrorDomain Code=4099 The connection to service created from an endpoint was invalidated from this process. UserInfo={AMSDescription=An unknown error occurred. Please try again., AMSURL=http://localhost:53272/WebObjects/MZBuy.woa/wa/inAppBuy, NSDebugDescription=The connection to service created from an endpoint was invalidated from this process., AMSStatusCode=200, AMSServerPayload={ All my iOS apps don't exhibit the same problem. This StoreKit fiasco only happens for macOS applications. And I'm thinking that it all started
5
0
201
2w
iOS: Issues getting beginBackgroundTaskWithName working reliably
We have tried using background tasks for file saving via (UIBackgroundTaskIdentifier) beginBackgroundTaskWithName:(NSString *) taskName expirationHandler:(void (^)(void)) handler; when our app goes into the background and/or is closed by the user. But we cannot make it work the way the documentation tells us it should. While task creation never reports an issue (in fact it never calls our expiration handler at all) and the returned task id is always valid, when we ask for how much time we have left via backgroundTimeRemaining we always get 6s instead of the specified 30s. We tried to create the task when the app state goes to inactive or when our delegate is called via applicationDidEnterBackground but it makes no difference, besides the fact that the remaining time reported is basically max double, when the app is not in background yet which is by design as far we understand. But we don't even get the 6s for saving when a user closes the app. Because almost immediately after applicationDidEnterBackground our
4
0
170
2w
Reply to Keyboard greyed issue
Your screenshot seems to show that the keyboard window was disabled, which may happen when your app has multiple windows (UIWindow) with a higher window level (windowLevel). You can do a quick check if that is your case. Other than that, as my colleague mentioned, it will be very helpful if you can provide a minimal project that demonstrates the issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
2w
Reply to HomeKit support on MacOS
HomeKit is an outlier in that it’s supported on the Mac but only for Mac Catalyst apps. FYI, while the sample project Interacting with a home automation network does not include a specific Mac Catalyst destination, the project can easily be updated to include it. You'll get one build error in its tapAddAccessory method, but that error is because Mac Catalyst does not include addAndSetupAccessories. You can clear that error by simply deleting that code, after which the sample will build and run fine. As a side note, this sample is VERY useful as a general development helper, particularly when run on the Mac. It shows you the full HomeKit layout and configuration of every accessory in the target home, which makes it easier to figure out how an accessory is configured and controlled. It also lets you see that raw configuration at the same time your app is interacting with it, which can help investigating and debugging any issues. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Hardware Tags:
2w
Reply to Blending walk and run animations in RealityKit
Hi Michael, Thank you for quick reply. Yes both animation share the same skeleton. Here are the steps that I followed; I have added T-Pose style rabbit entity to my scene I created an Animation Library and added RabbitWalk and RabbitRun animations respectively. I loaded those animations like entity.availableAnimations[0] & entity.availableAnimations[1] but I have the same error. I then created a new Timeline for the Rabbit entity Create a separate 'Walk' animation and make it recursive. Create a separate 'Run' animation and make it recursive as well. Then I loaded those last 2 animation to my blend animation function but I have the same problem again. Here is the RCP project. Am I missing something? Regards.
Topic: Graphics & Games SubTopic: RealityKit Tags:
2w
Reply to Blending walk and run animations in RealityKit
Hey @WishGrantingFactory, This error occurs because your walk and run animations are loaded from two separate entities. Even if both USDZ files use the same skeleton, each Entity load creates its own animation timeline — and BlendTreeAnimation requires all sources to share the same timeline. Can you author your content so that both animations exist on a single entity? Attach both animation clips to one entity in Reality Composer Pro so they both appear in rabbit.availableAnimations. Then you can build the blend tree from that shared source. Let me know if this helps. Thanks, Michael
Topic: Graphics & Games SubTopic: RealityKit Tags:
2w
iOS 26: Interactive sheet dismissal causes layout hitch in underlying SwiftUI view
I’ve been investigating a noticeable animation hitch when interactively dismissing a sheet over a SwiftUI screen with moderate complexity. This was not the case on iOS 18, so I’m curious if others are seeing the same on iOS 26 or have found any mitigations. When dismissing a sheet via the swipe gesture, there’s a visible hitch right after lift-off. The hitch comes from layout work in the underlying view (behind the sheet) The duration scales with the complexity of that view (e.g. number of TextFields/layout nodes) The animation for programmatic dismiss (e.g. tapping a “Done” button) is smooth, although it hangs for a similar amount of time before dismissing, so it appears that the underlying work still happens. SwiftUI is not reevaluating the body during this (validated with Self._printChanges()), so that is not the cause. Using Instruments, the hitch shows up as a layout spike on the main thread: 54ms UIView layoutSublayersOfLayer 54ms └─ _UIHostingView.layoutSubviews 38ms └─ SwiftUI.ViewGraph.updat
1
0
197
2w
Blending walk and run animations in RealityKit
Hi everybody, I have 2 separate animations run.usdz and walk.usdz animation files which are loaded perfectly in Reality Composer Pro and in the RealityKit application. I want to gradually increase the speed of my player by switching blending weight values from 0.0 (walking) to 1.0 (full speed running). let rabbit = await RabbitBuilder.loadWalkingRabbit() let runningRabbit = await RabbitBuilder.loadRunningRabbit() rabbit.scale = SIMD3(0.05, 0.05, 0.05) runningRabbit.scale = SIMD3(0.05, 0.05, 0.05) let walkAnimation = rabbit.availableAnimations let runAnimation = runningRabbit.availableAnimations RabbitWalker.walkAnim = walkAnimation.first! RabbitWalker.runAnim = runAnimation.first! guard let walk = RabbitWalker.walkAnim, let run = RabbitWalker.runAnim else { return } let blendTree = BlendTreeAnimation( BlendTreeBlendNode(sources: [ BlendTreeSourceNode(source: walk.definition, name: walk, weight: .value(1 - weight)), BlendTreeSourceNode(source: run.definition, name: run, weight: .valu
4
0
324
2w
Reply to Does Review team have a right to demand video?
@Tomato, I should mention that I already provided them a video, voluntarily, showing my app on my watch via screen sharing. So the fact they demand more is a sign of a shark strategy. They feel my desire to comply (blood) and attack with endless requirements. If I agree they'd demand another video with different equipment, and so on and so forth. Another problem is fully practical. The video requires Apple Watch + equipment (e.g. Mac Book) + camera. I simply can't do it in a good enough quality with my two hands. I need to hire a professional for that which is hard for an Individual Developer. Much easier would be reject and reapply hoping for a different reviewer. And finally I would note that I have competitors who perform worse than HeartBLE and I doubt any of them was forced to make a video. The real problem which blows their mind is the monetization. I selected the XX-day Trial + non-consumable model. Just wanted to give it a try, get some experience. Turns out reviewers hate it (or simply not f
2w
Reply to iOS: Issues getting beginBackgroundTaskWithName working reliably
SO, let me start by sorting out a few specific details: delegate is called via applicationWillTerminate which will then again almost immediately end in the app receiving a SIGKILL. applicationWillTerminate is not part of the normal delegate lifecycle. It's a relatively late “add-on that was recycled[1] to give apps SOME opportunity to save work if/when the user for quit them, so it's ONLY called if the app happens to be a wake at the point it's terminated by the user. Most critically, you cannot do ANY work after receiving it. That's because: Your app will call exit() immediately after returning from it. If you block “too long, then the system will kill you anyway. In practice, that means it needs to be handled as a separate edge case as you don't really have a lot of time or flexibility to do significant work. This is not your app being closed in the normal sense, it's actually your app being force-quit by the user. With that out of the way, the important case is actually applicationDidEnterBackground, so le
Replies
Boosts
Views
Activity
2w
Will the upcomming Mac Book Pro M6 Max has at least 256GB RAM
Hi Guys, I want to use the newest Mac Book Pro M6 (Max or Ultra) with at least 256GB RAM for AI development. Will my wish may come true? What do you think? One of Apples most advantage here is unified memory and with the privacy first approach, i want to run local modells and show it to my customer just on the macbook. That has much more magic then first plug the power supply for a sparc, connect a network cable and fiddling around. The perfect match would be a Max Book Pro, M6 Ultra, 512GB. But I guess this is just a dream :-(. Please let me know what you think abou that. Thanks
Replies
1
Boosts
0
Views
589
Activity
2w
App approved but not available in EU (Malta) – DSA compliance stuck "In Review"
Hello everyone, I’m facing an issue with my app FindUWay (iOS), and I’m trying to understand if this is related to EU Digital Services Act (DSA) compliance. Current situation: App is approved and published on the App Store All agreements, tax forms (including W-8BEN), and banking info are completed and active App is set to be available in 175 countries, including Malta Issue: The app is NOT available in Malta and shows App Not Available on multiple iPhones and Apple IDs. Important detail: In App Store Connect, the only pending item is: Digital Services Act (DSA) compliance → Status: In Review since April 5th What I’ve observed: The app works and appears normally in some regions In Malta (EU), it does not open or install properly This seems to affect multiple devices (including iPhone 17 Pro Max) Questions: Is DSA compliance review blocking app availability in EU countries? Is it expected for the app to be unavailable while DSA is still In Review? Is there anything else I need to configure or submit?
Replies
3
Boosts
0
Views
119
Activity
2w
Reply to iCloud Drive silent upload deadlock caused by stale HTTP/3 session in nsurlsessiond (FB22476701)
Thank you for providing such a detailed account of the iCloud Drive file upload deadlock issue on macOS 26.4.1. It sounds like you've done extensive troubleshooting and analysis to identify the root cause. Here's a summary of what you've discovered and some additional thoughts or suggestions that might help refine your approach or assist others experiencing similar issues: Summary of Findings: Root Cause: A stale HTTP/3 (QUIC) session in nsurlsessiond's BackgroundConnectionPool leads to a deadlock during file uploads. Behavior: Deadlock occurs specifically with HTTP/3, while HTTP/1.1 works without issues post-restart. Affects larger files (>100 KB); smaller files may occasionally succeed. Restarting both cloudd and nsurlsessiond resolves the issue temporarily by clearing the poisoned session. Reproduction: Consistent behavior observed across multiple tests with varied file sizes. Diagnosis: Log analysis can help identify occurrences using specific grep patterns. Recovery: A targeted kill command for user-l
Replies
Boosts
Views
Activity
2w
Bug: Finder/AppleScript interaction
I have created a simple AppleScript that makes a folder named with today’s date. For many years, it has worked fine except: If I run the script (from a script app in the menu bar), then dump files into the folder, then change the colored “Tag” on the folder, I get a Finder error - An unexpected error occurred (error code -8076) - and I have to force-quit the Finder to complete the color tagging. If it change the tag before dumping the files, no error occurs. (Please hold the “Doctor, it hurts when I do this …” jokes.) This error has persisted through many macOS major iterations, including Tahoe 26.4.1. Prolly a Finder bug, but not sure. Here’s the source, for anyone interested. set dateStr to getDate() --display dialog dateStr tell application Finder activate try --set thisFolder to (the target of the front window) as alias set thisFolder to (the target of the front window) as string make new folder at thisFolder with properties {name:dateStr as string} on error errMsg display dialog ERROR: & er
Replies
3
Boosts
0
Views
139
Activity
2w
Xcode 26 Causing StoreKit Fiasco for macOS?
I submitted my last macOS application with IAP on Oct. 23rd, 2025. I was able to test-purchase a non-consumable product with the StoreKit configuration file at that time. These days, every time I test a new macOS application with the configuration file, a purchase process fails. The thing is they all now fail if I test the store with existing applications that were once working. Xcode shows the following debugging error. Purchase failed with error: systemError(Error Domain=NSCocoaErrorDomain Code=4099 The connection to service created from an endpoint was invalidated from this process. UserInfo={AMSDescription=An unknown error occurred. Please try again., AMSURL=http://localhost:53272/WebObjects/MZBuy.woa/wa/inAppBuy, NSDebugDescription=The connection to service created from an endpoint was invalidated from this process., AMSStatusCode=200, AMSServerPayload={ All my iOS apps don't exhibit the same problem. This StoreKit fiasco only happens for macOS applications. And I'm thinking that it all started
Replies
5
Boosts
0
Views
201
Activity
2w
iOS: Issues getting beginBackgroundTaskWithName working reliably
We have tried using background tasks for file saving via (UIBackgroundTaskIdentifier) beginBackgroundTaskWithName:(NSString *) taskName expirationHandler:(void (^)(void)) handler; when our app goes into the background and/or is closed by the user. But we cannot make it work the way the documentation tells us it should. While task creation never reports an issue (in fact it never calls our expiration handler at all) and the returned task id is always valid, when we ask for how much time we have left via backgroundTimeRemaining we always get 6s instead of the specified 30s. We tried to create the task when the app state goes to inactive or when our delegate is called via applicationDidEnterBackground but it makes no difference, besides the fact that the remaining time reported is basically max double, when the app is not in background yet which is by design as far we understand. But we don't even get the 6s for saving when a user closes the app. Because almost immediately after applicationDidEnterBackground our
Replies
4
Boosts
0
Views
170
Activity
2w
Update membership details
I can't seem to find any way to update my now legacy details since moving country. My general apple account has changed just fine but my developer account still shows as UK and no way to update. Any ideas?
Replies
1
Boosts
0
Views
55
Activity
2w
Reply to Keyboard greyed issue
Your screenshot seems to show that the keyboard window was disabled, which may happen when your app has multiple windows (UIWindow) with a higher window level (windowLevel). You can do a quick check if that is your case. Other than that, as my colleague mentioned, it will be very helpful if you can provide a minimal project that demonstrates the issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to HomeKit support on MacOS
HomeKit is an outlier in that it’s supported on the Mac but only for Mac Catalyst apps. FYI, while the sample project Interacting with a home automation network does not include a specific Mac Catalyst destination, the project can easily be updated to include it. You'll get one build error in its tapAddAccessory method, but that error is because Mac Catalyst does not include addAndSetupAccessories. You can clear that error by simply deleting that code, after which the sample will build and run fine. As a side note, this sample is VERY useful as a general development helper, particularly when run on the Mac. It shows you the full HomeKit layout and configuration of every accessory in the target home, which makes it easier to figure out how an accessory is configured and controlled. It also lets you see that raw configuration at the same time your app is interacting with it, which can help investigating and debugging any issues. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
2w
Reply to Blending walk and run animations in RealityKit
Hi Michael, Thank you for quick reply. Yes both animation share the same skeleton. Here are the steps that I followed; I have added T-Pose style rabbit entity to my scene I created an Animation Library and added RabbitWalk and RabbitRun animations respectively. I loaded those animations like entity.availableAnimations[0] & entity.availableAnimations[1] but I have the same error. I then created a new Timeline for the Rabbit entity Create a separate 'Walk' animation and make it recursive. Create a separate 'Run' animation and make it recursive as well. Then I loaded those last 2 animation to my blend animation function but I have the same problem again. Here is the RCP project. Am I missing something? Regards.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to Blending walk and run animations in RealityKit
Hey @WishGrantingFactory, This error occurs because your walk and run animations are loaded from two separate entities. Even if both USDZ files use the same skeleton, each Entity load creates its own animation timeline — and BlendTreeAnimation requires all sources to share the same timeline. Can you author your content so that both animations exist on a single entity? Attach both animation clips to one entity in Reality Composer Pro so they both appear in rabbit.availableAnimations. Then you can build the blend tree from that shared source. Let me know if this helps. Thanks, Michael
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
2w
iOS 26: Interactive sheet dismissal causes layout hitch in underlying SwiftUI view
I’ve been investigating a noticeable animation hitch when interactively dismissing a sheet over a SwiftUI screen with moderate complexity. This was not the case on iOS 18, so I’m curious if others are seeing the same on iOS 26 or have found any mitigations. When dismissing a sheet via the swipe gesture, there’s a visible hitch right after lift-off. The hitch comes from layout work in the underlying view (behind the sheet) The duration scales with the complexity of that view (e.g. number of TextFields/layout nodes) The animation for programmatic dismiss (e.g. tapping a “Done” button) is smooth, although it hangs for a similar amount of time before dismissing, so it appears that the underlying work still happens. SwiftUI is not reevaluating the body during this (validated with Self._printChanges()), so that is not the cause. Using Instruments, the hitch shows up as a layout spike on the main thread: 54ms UIView layoutSublayersOfLayer 54ms └─ _UIHostingView.layoutSubviews 38ms └─ SwiftUI.ViewGraph.updat
Replies
1
Boosts
0
Views
197
Activity
2w
Blending walk and run animations in RealityKit
Hi everybody, I have 2 separate animations run.usdz and walk.usdz animation files which are loaded perfectly in Reality Composer Pro and in the RealityKit application. I want to gradually increase the speed of my player by switching blending weight values from 0.0 (walking) to 1.0 (full speed running). let rabbit = await RabbitBuilder.loadWalkingRabbit() let runningRabbit = await RabbitBuilder.loadRunningRabbit() rabbit.scale = SIMD3(0.05, 0.05, 0.05) runningRabbit.scale = SIMD3(0.05, 0.05, 0.05) let walkAnimation = rabbit.availableAnimations let runAnimation = runningRabbit.availableAnimations RabbitWalker.walkAnim = walkAnimation.first! RabbitWalker.runAnim = runAnimation.first! guard let walk = RabbitWalker.walkAnim, let run = RabbitWalker.runAnim else { return } let blendTree = BlendTreeAnimation( BlendTreeBlendNode(sources: [ BlendTreeSourceNode(source: walk.definition, name: walk, weight: .value(1 - weight)), BlendTreeSourceNode(source: run.definition, name: run, weight: .valu
Replies
4
Boosts
0
Views
324
Activity
2w
Reply to Does Review team have a right to demand video?
@Tomato, I should mention that I already provided them a video, voluntarily, showing my app on my watch via screen sharing. So the fact they demand more is a sign of a shark strategy. They feel my desire to comply (blood) and attack with endless requirements. If I agree they'd demand another video with different equipment, and so on and so forth. Another problem is fully practical. The video requires Apple Watch + equipment (e.g. Mac Book) + camera. I simply can't do it in a good enough quality with my two hands. I need to hire a professional for that which is hard for an Individual Developer. Much easier would be reject and reapply hoping for a different reviewer. And finally I would note that I have competitors who perform worse than HeartBLE and I doubt any of them was forced to make a video. The real problem which blows their mind is the monetization. I selected the XX-day Trial + non-consumable model. Just wanted to give it a try, get some experience. Turns out reviewers hate it (or simply not f
Replies
Boosts
Views
Activity
2w