Search results for

“show when run”

115,098 results found

Post

Replies

Boosts

Views

Activity

Reply to Subscription Unavailable - Strange Behavior with StoreKit
Seen this one a lot. Subscription is unavailable in the current storefront almost always comes down to one of these, in order of likelihood: Paid Apps Agreement isn't in Active state for the team. Open App Store Connect > Agreements, Tax, and Banking. If the Paid Apps agreement shows anything other than Active (Action Required, missing bank info, missing tax forms, or a contact who's no longer on the team), every subscription rejects with this exact error until it's resolved. The subscription's price schedule doesn't include the user's storefront. Each subscription has pricing set per country. If you only configured prices for some countries, users outside that list get this error. Check the Price tab on the subscription and confirm the user's country is covered. The app and the subscription are in different availability regions. Even with pricing set, the app itself must also be available in that country. Check App Availability on the main app page. The subscription isn't actually in Ready for Sa
Topic: App & System Services SubTopic: StoreKit Tags:
1w
Subscription Unavailable - Strange Behavior with StoreKit
I added my first subscription to my app using StoreKit's SubscriptionStoreView. Everything worked as expected in the debug environment and also in TestFlight. So I submitted my app and subscriptions to App Store Connect, got everything Approved and released. After updating my app through App Store and checking the Subscription View, it just says Subscription Unavailable. The subscription is unavailable in the current storefront. I waited around 3 days and still getting the same message. Now the very strange behavior starts. I went to App Store Connect, I made and edit to the subscription description, saved, removed the edit, saved, and submitted to review. 15 minutes later the subscriptions appear in my app and everything works as expected. After getting the edit approved, the Subscription View in my app again only showed the message Subscription Unavailable. The subscription is unavailable in the current storefront. No user is able to see the subscriptions anymore, even though it worked as expected
33
0
7.4k
1w
Reply to AppStore.sync() not restoring purchases
Classic StoreKit 1 to 2 migration pitfall. A few things worth checking: The sandbox account matters more than you'd expect. When you reinstall, make sure you're signed into the same sandbox Apple ID that actually made the SK1 purchase. If it's a fresh sandbox user or a different one, there's literally no transaction to restore. Settings > Developer > Sandbox Apple Account shows who's currently active. For a non-consumable originally purchased via SK1, after AppStore.sync() completes, the transaction shows up in Transaction.currentEntitlements with its original productID, but the id or originalID might be a legacy numeric identifier rather than a UUID. If you're filtering entitlements by anything other than productID, that could be why you don't see it. AppStore.sync() triggers an Apple ID password prompt. If the user cancels that prompt, it returns without throwing but also without actually syncing. Wrap it in try/catch and log so you can distinguish canceled vs successful vs failed. I
Topic: App & System Services SubTopic: StoreKit Tags:
1w
Reply to Live Activity updates not received on iPhone 16 Pro Max when started via ActivityKit push
When start arrives but updates don't on one specific device, it's almost always one of three things. Walking through them: Wrong push token for updates. The start push uses apns-push-type: liveactivity plus your app's device token. But once the activity is running, each activity has its own token delivered via Activity.pushToken (or pushTokenUpdates as an async sequence). Every update has to go to that per-activity token, not the device token, and not a stale token from a previous activity. Worth logging and diffing the token you're actually sending between 16 Pro and 16 Pro Max. stale-date already in the past. iOS silently drops updates whose stale-date is before now on the device. Small clock drift or a timezone mismatch is enough. Try pushing with stale-date explicitly far in the future and see if that changes anything. content-state schema mismatch. If your ContentState decoder throws on the update payload (new field, wrong type, enum case removed), the update is dropped with no user-visible sign
1w
Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
Sounds like a frustrating regression. Before chalking it up to a bug, a few things worth trying: The transaction cache in Xcode's StoreKit environment gets into weird states after major version upgrades. From Xcode, open Debug > StoreKit > Manage Transactions, delete everything in there, then clean build folder (Shift-Cmd-K), nuke DerivedData, and restart Xcode. On the running target, delete the app entirely before re-running. Second, check your scheme's StoreKit configuration setting. The Xcode 16 to 26 migration has been resetting StoreKit Configuration to None on some projects. Edit Scheme > Run > Options, confirm your .storekit file is still selected. Third, when purchases silently fail without even showing the confirmation sheet, it's usually the store failing to resolve the product ID. Open the .storekit file, hit the refresh/sync icon, and confirm every product identifier matches what your code requests exactly (it's case-sensitive). Did macOS also update
Topic: App & System Services SubTopic: StoreKit Tags:
1w
Developer Program enrollment still pending after payment
Hi everyone, I subscribed to the Apple Developer Program on April 12th, 2026. The payment has already been charged to my bank account, but my account still shows the status “Pending” I think the reason my account is still stuck is because I enrolled in the Apple Developer Program using one Apple ID and completed the payment using a different Apple ID (the subscription is currently active under this account) It’s now been several days, and I haven’t received any confirmation email or any request for additional information. I already contacted Apple Support by email, but I’d like to know if other developers have experienced the same situation and how long it took before their account was activated. Thanks in advance for your help and feedback!
1
0
66
1w
-applicationDockMenu: method on NSApplicationDelegate doesn't work when attached to debugger
When I add a simple menu to the dock via the NSApplicationDelegate method -applicationDockMenu: and run the app from Xcode it doesn't work. -(NSMenu*)applicationDockMenu:(NSApplication*)sender { NSMenu *dockMenu = [self buildDockMenu]; if (dockMenu != nil) { NSLog(@Returning dock menu.); return dockMenu; } else { NSLog(@Not ready to build dock menu); return nil; } } When I run the app, my main app window shows up but nothing logs out in -applicationDockMenu: until I click outside my app's window (so if I click the desktop background, or a Finder window, or whatever). Then after I click outside my app's main window this logs out: Returning dock menu. The Not ready to build dock menu message does not log out. But...when I right click on the dock icon, the menu doesn't show up. But if I stop the app from Xcode and just run it not attached to the debugger, the dock menu does show up. But this makes the debugging/testing situation not ideal.
4
0
245
1w
Reply to Curious about the shift from iOS developer to full time indie developer Ask Me Anything 🚀📱
Hey , Hoping you might be able to share some of your wisdom with me. I’m an iOS dev with around 9 years experience and this past year have finally started shipping my own apps. For me the biggest thing I’m struggling with is distribution. Primarily, I’m posting on TikTok as that’s where a majority of my audience seem to be. Im running search ads for specific keywords but I’m remaining conservative with the bids as it just doesn’t have the ROI. how have you handled marketing or has it been mostly ASO? A self sustaining indie dev life is the goal in the next 3-5 years for me. So would love to hear more from you about your experience!
1w
Settings app crashes when tapping "Manage" under Sandbox account without internet connection
Device: iPhone 13 OS Version: iOS 26.4, iOS 26.5 Summary: The Settings app crashes when accessing the Sandbox account management screen in Developer Settings while the device is offline. Steps to Reproduce: Enable Developer Mode on the device Disconnect from the internet (Wi-Fi and cellular off) Go to Settings → Developer Ensure a Sandbox account is signed in Tap on Sandbox Tap on Manage Expected Result: The system should either: Open the Sandbox management screen, or Show an error indicating no internet connection Actual Result: The Settings app crashes immediately after tapping Manage. Reproducibility: Always (100%) when offline Additional Notes: Issue observed on iOS 26.4 and iOS 26.5 Does not occur on iOS 18 May also be present in other iOS 26.x versions Does not occur when the device has an active internet connection
1
0
73
1w
Reply to iOS 26 Network Framework AWDL not working
Bah, again, I’ve just not had time to get back to this. If I were in your shoes I would: Create a minimal test project that illustrates the issue. That’ll ensures that there isn’t some other part of your app that’s causing problems. Run it on two devices connected over infrastructure Wi-Fi. If that doesn’t work, there’s something wrong with your code. Run it again with the devices not on infrastructure Wi-Fi, and thus relying on peer-to-peer Wi-Fi to carry the packets. If that fails, file a bug with your results. Make sure to include: Your test project. Sysdiagnose logs taken on both devices shortly after reproducing the problem… … with additional logging enabled per the Network Diagnostics for iOS/iPadOS instructions on our Bug Reporting > Profiles and Logs. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Reply to Are read-only filesystems currently supported by FSKit?
I don’t think there’s an actual problem here, largely due to the magic of Objective-C. Consider the small test code at the end of this reply. It declares the requestedMountOptions property without any availability, and I think that’s just fine. Lemme explain… I put this in an Xcode command-line tool project, set the deployment target to macOS 26.0, and compiled it. I then dumped its imports: % otool -L MyTool | grep FSKit % It doesn’t import any symbols from FSKit at all. That’s because FSKit is an Objective-C framework and all the stuff used by the class is either found at runtime by name or is a C-style declaration that has no runtime impact [1]. This doesn’t mean that it isn’t connected to the Objective-C runtime. If you run this command: % otool -o -v MyTool … stuff … you’ll see lots of connection points. However, Objective-C is super dynamic, so that stuff all gets resolved by name when your class is loaded. And the runtime on macOS 26.0 will happily ignore the fact that you’re claiming to imple
Topic: App & System Services SubTopic: Core OS Tags:
1w
SwiftUI View Not Initialized on Background Relaunch (CoreBluetooth / Cold Start?)
I have a question regarding cold start and pre-warming behavior on iOS. I’m developing a SwiftUI app that continuously receives data from a BLE device in the background. We’ve observed that after the BLE stream stops, the OS often terminates our app. Later, when the sensor comes back into range, iOS appears to relaunch (or reinitialize) the app. In our app, we use a WindowGroup like this: WindowGroup { AppView(store: store) } We’ve placed our BLE reconnection logic inside a .task modifier in AppView. What’s confusing is this: Most of the time, when the app is relaunched, AppView is created and the .task runs as expected. However, in about 1 out of 10 cases, AppView is not created at all, so the .task does not execute. I’m trying to understand: Under what conditions does iOS relaunch an app without fully initializing the SwiftUI view hierarchy? Is this related to pre-warming or background relaunch mechanisms (e.g., CoreBluetooth state restoration)? What determines whether the WindowGroup and root view
2
0
139
1w
Reply to Subscription Unavailable - Strange Behavior with StoreKit
Seen this one a lot. Subscription is unavailable in the current storefront almost always comes down to one of these, in order of likelihood: Paid Apps Agreement isn't in Active state for the team. Open App Store Connect > Agreements, Tax, and Banking. If the Paid Apps agreement shows anything other than Active (Action Required, missing bank info, missing tax forms, or a contact who's no longer on the team), every subscription rejects with this exact error until it's resolved. The subscription's price schedule doesn't include the user's storefront. Each subscription has pricing set per country. If you only configured prices for some countries, users outside that list get this error. Check the Price tab on the subscription and confirm the user's country is covered. The app and the subscription are in different availability regions. Even with pricing set, the app itself must also be available in that country. Check App Availability on the main app page. The subscription isn't actually in Ready for Sa
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
1w
Subscription Unavailable - Strange Behavior with StoreKit
I added my first subscription to my app using StoreKit's SubscriptionStoreView. Everything worked as expected in the debug environment and also in TestFlight. So I submitted my app and subscriptions to App Store Connect, got everything Approved and released. After updating my app through App Store and checking the Subscription View, it just says Subscription Unavailable. The subscription is unavailable in the current storefront. I waited around 3 days and still getting the same message. Now the very strange behavior starts. I went to App Store Connect, I made and edit to the subscription description, saved, removed the edit, saved, and submitted to review. 15 minutes later the subscriptions appear in my app and everything works as expected. After getting the edit approved, the Subscription View in my app again only showed the message Subscription Unavailable. The subscription is unavailable in the current storefront. No user is able to see the subscriptions anymore, even though it worked as expected
Replies
33
Boosts
0
Views
7.4k
Activity
1w
Reply to AppStore.sync() not restoring purchases
Classic StoreKit 1 to 2 migration pitfall. A few things worth checking: The sandbox account matters more than you'd expect. When you reinstall, make sure you're signed into the same sandbox Apple ID that actually made the SK1 purchase. If it's a fresh sandbox user or a different one, there's literally no transaction to restore. Settings > Developer > Sandbox Apple Account shows who's currently active. For a non-consumable originally purchased via SK1, after AppStore.sync() completes, the transaction shows up in Transaction.currentEntitlements with its original productID, but the id or originalID might be a legacy numeric identifier rather than a UUID. If you're filtering entitlements by anything other than productID, that could be why you don't see it. AppStore.sync() triggers an Apple ID password prompt. If the user cancels that prompt, it returns without throwing but also without actually syncing. Wrap it in try/catch and log so you can distinguish canceled vs successful vs failed. I
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
1w
Reply to Live Activity updates not received on iPhone 16 Pro Max when started via ActivityKit push
When start arrives but updates don't on one specific device, it's almost always one of three things. Walking through them: Wrong push token for updates. The start push uses apns-push-type: liveactivity plus your app's device token. But once the activity is running, each activity has its own token delivered via Activity.pushToken (or pushTokenUpdates as an async sequence). Every update has to go to that per-activity token, not the device token, and not a stale token from a previous activity. Worth logging and diffing the token you're actually sending between 16 Pro and 16 Pro Max. stale-date already in the past. iOS silently drops updates whose stale-date is before now on the device. Small clock drift or a timezone mismatch is enough. Try pushing with stale-date explicitly far in the future and see if that changes anything. content-state schema mismatch. If your ContentState decoder throws on the update payload (new field, wrong type, enum case removed), the update is dropped with no user-visible sign
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26 Causing StoreKit Fiasco for macOS?
Sounds like a frustrating regression. Before chalking it up to a bug, a few things worth trying: The transaction cache in Xcode's StoreKit environment gets into weird states after major version upgrades. From Xcode, open Debug > StoreKit > Manage Transactions, delete everything in there, then clean build folder (Shift-Cmd-K), nuke DerivedData, and restart Xcode. On the running target, delete the app entirely before re-running. Second, check your scheme's StoreKit configuration setting. The Xcode 16 to 26 migration has been resetting StoreKit Configuration to None on some projects. Edit Scheme > Run > Options, confirm your .storekit file is still selected. Third, when purchases silently fail without even showing the confirmation sheet, it's usually the store failing to resolve the product ID. Open the .storekit file, hit the refresh/sync icon, and confirm every product identifier matches what your code requests exactly (it's case-sensitive). Did macOS also update
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
1w
Developer Program enrollment still pending after payment
Hi everyone, I subscribed to the Apple Developer Program on April 12th, 2026. The payment has already been charged to my bank account, but my account still shows the status “Pending” I think the reason my account is still stuck is because I enrolled in the Apple Developer Program using one Apple ID and completed the payment using a different Apple ID (the subscription is currently active under this account) It’s now been several days, and I haven’t received any confirmation email or any request for additional information. I already contacted Apple Support by email, but I’d like to know if other developers have experienced the same situation and how long it took before their account was activated. Thanks in advance for your help and feedback!
Replies
1
Boosts
0
Views
66
Activity
1w
Claude keeps logging out
Hi, I'm running Xcode version 26.0.1 (17A400). Every time I restart Xcode, it seems to not recognize my Claude login anymore, and I have to go through the whole authentication flow again. It's quite annoying. Does anyone have a solution for it?
Replies
5
Boosts
0
Views
407
Activity
1w
Reply to Can’t paste into Simulator after updating to Xcode 26.4
@dser Thanks for the post, 26.5 beta 2 should also be fixed as showing the fix in the release notes. Will be great to get to the bottom of this and why does not work for you on 26.5 beta 2. If there is any way you can provide the information and the sysdiagnose, we could go ahead and file a bug? Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1w
Reply to -applicationDockMenu: method on NSApplicationDelegate doesn't work when attached to debugger
Hello.. if you edit the scheme to run the app as root, then the menu works.. this is a risky workaround that you can use only when testing the menu, after that, better go back to the previous setting.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
1w
-applicationDockMenu: method on NSApplicationDelegate doesn't work when attached to debugger
When I add a simple menu to the dock via the NSApplicationDelegate method -applicationDockMenu: and run the app from Xcode it doesn't work. -(NSMenu*)applicationDockMenu:(NSApplication*)sender { NSMenu *dockMenu = [self buildDockMenu]; if (dockMenu != nil) { NSLog(@Returning dock menu.); return dockMenu; } else { NSLog(@Not ready to build dock menu); return nil; } } When I run the app, my main app window shows up but nothing logs out in -applicationDockMenu: until I click outside my app's window (so if I click the desktop background, or a Finder window, or whatever). Then after I click outside my app's main window this logs out: Returning dock menu. The Not ready to build dock menu message does not log out. But...when I right click on the dock icon, the menu doesn't show up. But if I stop the app from Xcode and just run it not attached to the debugger, the dock menu does show up. But this makes the debugging/testing situation not ideal.
Replies
4
Boosts
0
Views
245
Activity
1w
Reply to Curious about the shift from iOS developer to full time indie developer Ask Me Anything 🚀📱
Hey , Hoping you might be able to share some of your wisdom with me. I’m an iOS dev with around 9 years experience and this past year have finally started shipping my own apps. For me the biggest thing I’m struggling with is distribution. Primarily, I’m posting on TikTok as that’s where a majority of my audience seem to be. Im running search ads for specific keywords but I’m remaining conservative with the bids as it just doesn’t have the ROI. how have you handled marketing or has it been mostly ASO? A self sustaining indie dev life is the goal in the next 3-5 years for me. So would love to hear more from you about your experience!
Replies
Boosts
Views
Activity
1w
Settings app crashes when tapping "Manage" under Sandbox account without internet connection
Device: iPhone 13 OS Version: iOS 26.4, iOS 26.5 Summary: The Settings app crashes when accessing the Sandbox account management screen in Developer Settings while the device is offline. Steps to Reproduce: Enable Developer Mode on the device Disconnect from the internet (Wi-Fi and cellular off) Go to Settings → Developer Ensure a Sandbox account is signed in Tap on Sandbox Tap on Manage Expected Result: The system should either: Open the Sandbox management screen, or Show an error indicating no internet connection Actual Result: The Settings app crashes immediately after tapping Manage. Reproducibility: Always (100%) when offline Additional Notes: Issue observed on iOS 26.4 and iOS 26.5 Does not occur on iOS 18 May also be present in other iOS 26.x versions Does not occur when the device has an active internet connection
Replies
1
Boosts
0
Views
73
Activity
1w
Reply to iOS 26 Network Framework AWDL not working
Bah, again, I’ve just not had time to get back to this. If I were in your shoes I would: Create a minimal test project that illustrates the issue. That’ll ensures that there isn’t some other part of your app that’s causing problems. Run it on two devices connected over infrastructure Wi-Fi. If that doesn’t work, there’s something wrong with your code. Run it again with the devices not on infrastructure Wi-Fi, and thus relying on peer-to-peer Wi-Fi to carry the packets. If that fails, file a bug with your results. Make sure to include: Your test project. Sysdiagnose logs taken on both devices shortly after reproducing the problem… … with additional logging enabled per the Network Diagnostics for iOS/iPadOS instructions on our Bug Reporting > Profiles and Logs. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
1w
Reply to Are read-only filesystems currently supported by FSKit?
I don’t think there’s an actual problem here, largely due to the magic of Objective-C. Consider the small test code at the end of this reply. It declares the requestedMountOptions property without any availability, and I think that’s just fine. Lemme explain… I put this in an Xcode command-line tool project, set the deployment target to macOS 26.0, and compiled it. I then dumped its imports: % otool -L MyTool | grep FSKit % It doesn’t import any symbols from FSKit at all. That’s because FSKit is an Objective-C framework and all the stuff used by the class is either found at runtime by name or is a C-style declaration that has no runtime impact [1]. This doesn’t mean that it isn’t connected to the Objective-C runtime. If you run this command: % otool -o -v MyTool … stuff … you’ll see lots of connection points. However, Objective-C is super dynamic, so that stuff all gets resolved by name when your class is loaded. And the runtime on macOS 26.0 will happily ignore the fact that you’re claiming to imple
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
SwiftUI View Not Initialized on Background Relaunch (CoreBluetooth / Cold Start?)
I have a question regarding cold start and pre-warming behavior on iOS. I’m developing a SwiftUI app that continuously receives data from a BLE device in the background. We’ve observed that after the BLE stream stops, the OS often terminates our app. Later, when the sensor comes back into range, iOS appears to relaunch (or reinitialize) the app. In our app, we use a WindowGroup like this: WindowGroup { AppView(store: store) } We’ve placed our BLE reconnection logic inside a .task modifier in AppView. What’s confusing is this: Most of the time, when the app is relaunched, AppView is created and the .task runs as expected. However, in about 1 out of 10 cases, AppView is not created at all, so the .task does not execute. I’m trying to understand: Under what conditions does iOS relaunch an app without fully initializing the SwiftUI view hierarchy? Is this related to pre-warming or background relaunch mechanisms (e.g., CoreBluetooth state restoration)? What determines whether the WindowGroup and root view
Replies
2
Boosts
0
Views
139
Activity
1w