Posts under App & System Services topic

Post

Replies

Boosts

Views

Activity

Introductory Offer Start Timing
Hi everyone, I set up an auto-renewable subscription introductory offer in App Store Connect with a scheduled start date of September 7 for the Philippines storefront. According to the documentation App Store pricing and availability start times by country or region, scheduled pricing and offer updates are expected to go live based on local regional times. However, the offer did not show up in the Current Introductory Offers in app store connect portal at the documented start time (14:00 Sep 6th UTC). Instead, it stayed in the Upcoming Offers until 7:00 Sep 7th UTC which is 17 hours after the time in the doc. We met a similar situation a few days later when we launch another introductory offer in Thailand. I would appreciate clarification on the following points: What is the underlying reason for the discrepancy between the documented start time behavior and the actual start time observed in production? Can Apple update the App Store pricing and availability start times by country or region reference documentation so that it accurately reflects the practical start time and propagation window for each region? Any insights or shared experiences with offer scheduling in the APAC region would be greatly appreciated.
1
0
416
2d
CloudKit public database vs Apple-hosted asset packs for a 63 MB data file updated weekly
My iOS app ships a read-only food database inside the app: one SQLite file, about 63 MB, no code. After launch I want to update it about once a week without a new app version. I'm choosing between a CloudKit public database and Apple-hosted asset packs (Background Assets). App Review said these questions are outside its scope. CloudKit public database (1) If the app downloads a new data file from the public database, does each update need App Review? (2) What are the current free limits for public database storage and data transfer? Each subscriber would download about 63 MB a few times a month. (3) What happens past the limit: requests fail, get throttled, or a bill? (4) Is there a size limit per asset? Splitting the file is fine. (5) Updates would go only to subscribers and people in the free trial. Apple's terms say you can't charge for access to iCloud. If the subscription pays for the app as a whole, is limiting the download to subscribers OK? (6) Does reading from the public database change the App Store privacy label? Apple-hosted asset packs (7) Is each new asset pack reviewed, and how long does that usually take? (8) Are there download limits, or a size limit per pack? For a data file that changes weekly, which would you pick? Is anyone running either one in production?
0
0
31
2d
Why do random errOSAInternalTableOverflow errors return when running AppleScripts via ScriptingBridge?
We have an app that controls InDesign Desktop and InDesignServer via hundreds of AppleScripts. Some macOS security updates a while back dictated that we start communicating with other apps via ScriptingBridge. We couldn't afford to convert the hundreds of AppleScripts into direct ScriptingBridge nomenclature, so we opted to keep them as is and instead tell the external apps to: [app doScript:<the script text> language:InDesignScLgApplescriptLanguage withArguments:nil undoMode:InDesignESUMScriptRequest undoName:@"blah"] There are a handful of scripts that we did convert to direct ScriptingBridge. There are times (and under the right circumstances, it's repeatable) when a certain script will have run perfectly dozens of times, and then it will throw errOSAInternalTableOverflow. We create a new SBApplication for every job (which could be a single instance of Desktop or the multiple instances of Server). Why is this error happening seemingly randomly? Is there anything we can do to work around or prevent this?
9
0
2.3k
2d
StoreKit auto-renewable subscription hangs indefinitely in TestFlight — purchase sheet never appears
I’m trying to diagnose a StoreKit issue with an auto-renewable subscription in my iOS app. The subscription is called “Lighthouse Plus” and is $9.99/month. The app is currently being tested through TestFlight. When the user taps the Lighthouse Plus subscription button, the app begins the purchase process/loading state, but the Apple purchase sheet never appears. The UI then remains stuck loading indefinitely. This has continued across multiple TestFlight builds, including our current Build 11. What happens: Install/open the app through TestFlight. Sign into the app. Navigate to Lighthouse Plus. Tap the subscription/purchase button. The app enters a loading state. No Apple purchase confirmation sheet appears. The loading state never resolves. We have also been investigating Restore Purchases and Manage Subscription behavior as part of the same StoreKit implementation. The subscription product has been configured in App Store Connect and associated with the app. We have repeatedly tested new builds while trying to determine whether the failure is in our StoreKit implementation, product configuration, TestFlight sandbox environment, or communication with the App Store. The particularly difficult part is that we are not receiving a visible StoreKit error on the device — the purchase attempt appears to wait indefinitely rather than returning a clear success, cancellation, or failure. I do not currently have access to a Mac for direct Xcode/StoreKit Console debugging, so I am trying to determine the best way to diagnose exactly where this transaction is stopping from a TestFlight device. Questions: What would cause a StoreKit subscription purchase request to remain pending/loading without ever presenting Apple's purchase sheet? Is there a way to retrieve useful StoreKit/TestFlight transaction diagnostics without access to Xcode on a Mac? Are there specific App Store Connect subscription states/configuration issues that can cause this behavior without StoreKit returning an obvious error? What StoreKit transaction/product logging should we add to the app itself so the next TestFlight build can identify exactly where the request is failing? Should the purchase call have an explicit timeout/error path if StoreKit never returns? I can provide the product identifier, relevant StoreKit implementation/code, App Store Connect configuration screenshots, and additional diagnostics if needed. Any guidance on isolating whether this is an App Store configuration issue versus an implementation issue would be greatly appreciated.
1
0
167
2d
Can a restore replace a file in an App Group container while the app's process is alive?
For an iOS app that stores a SQLite database in its App Group container and has no extension targets, can iCloud restore, Finder or Apple Devices restore, or Quick Start replace a file in that container while the app's normal process remains alive, including while suspended? If iOS terminates the process first, can the app relaunch before all App Group files have finished restoring? Please identify any differences between these restore paths and any documented guarantee. Related: thread 845479 gave the general rule for the app's own container.
3
0
127
2d
iOS AirPrint sends print-quality=high when file-type is photo even if user selects “normal”
Hi everyone, I observed a behavior with AirPrint from an iPhone and wanted to confirm if this is expected behavior from iOS. Scenario tested: File type: Photo Print-quality selected by the user: Normal Observation (from packet capture): When checking the PCAP for the request sent from the iPhone, the print-quality attribute is always sent as high, even though the user selected Normal in the UI. Question: Is this an expected behavior in iOS/AirPrint where photos are always sent with print-quality=high regardless of the user-selected print quality? Or could this be a bug?
1
0
735
2d
Passkit Does posterEventTicket officially support QR code admission?
We're using Apple Wallet passes for event admission, with around 5,000 customers expected to use QR codes next month. We don't support NFC. I generated and tested an Apple Wallet pass using posterEventTicket with PKBarcodeFormatQR, and the QR code displays correctly on my iPhone. However, Apple's documentation states that poster event tickets aren't compatible with QR/barcode-based admission. What's confusing is that the images in the same documentation also show QR codes on poster event tickets. So which is correct? Is QR-only admission officially supported with posterEventTicket, or should we continue using the legacy eventTicket layout? I'm particularly concerned about whether the QR code might disappear or become inaccessible on certain iOS/watchOS versions, even though it's working in my tests.
0
0
60
2d
Network Extension URL Filter registration pending review for more than a month
Hello, I am writing about a Network Extension URL Filter configuration submitted through the Identity & Trust section of the CloudKit Console on 5 September 2026 Status shown: In Review / Waiting for Approval Last Modified: 5 September 2026 (unchanged since submission) It has now been 37 days with no response — no approval, no rejection, and no request for changes. The PIR server , Privacy Pass issuer and HTTP/2 OHTTP gateway have been live and serving since the day of submission, configured per the Onboarding.md guidance in Apple's PIR service example, including the apple-url-filter DNS TXT record on the service URL and the url-filter-test validation entry. Could anyone please let me know: Whether this configuration is actually in a review queue, and the expected timeframe; Whether anything further is required from our side — if so, we will act on it the same day. The URL filter is a core protection feature of our app, which is currently in App Store review; the feature stays disabled for users until this registration is approved, so the delay is holding up what we can ship. Thank you for your help.
5
0
319
2d
Local Push Connectivity entitlement request — no response after a month (again)
Hi all, I’m hoping someone from Apple can point me in the right direction. We submitted a request for the Local Push Connectivity entitlement about a month ago and haven’t heard anything back. No approval, no rejection, just silence. Unfortunately this is the second time; we tried back in 2023 and the same thing happened. After requesting the entitlement multiple times, we gave up on the project. A bit about what we’re building: we make a nurse call system for long-term care facilities. When a resident needs help, they press a wireless call device, our on-prem server raises an alert, and our iOS app would notify the caregivers on shift. The catch is that a most of these facilities put their life safety systems on air-gapped networks with no internet access at all, so APNs just isn’t an option. Even where there is internet, the system has to keep working if the connection goes down. We understand other vendors in our industry use Local Push Connectivity for this same scenario, so we’re hopeful this is just a matter of our request getting lost somewhere. As far as I can tell, this is exactly what Local Push Connectivity was made for. The WWDC20 session that introduced it (“Build local push connectivity for restricted networks”) actually names hospitals as one of the example environments where APNs may be unreachable, and talks about keeping notifications working in constrained networks “when it matters most to the users.” A resident calling for help is about as close to that as it gets. Our App ID already has the Critical Alerts entitlement, but there’s no “Network Extensions (additional values)” option under Additional Capabilities, so Xcode, understandably, complains that the profile doesn’t match the com.apple.developer.networking.networkextension value in our entitlements file. Is there a way to check on the status of a request like this, or a better place to follow up? I’m happy to share our team and app details privately. Any help would be really appreciated. We’ve been trying to get this going for a while now. Thanks!
0
0
41
3d
Extended Runtime API - Health Monitoring
In the WWDC 2019 session "Extended Runtime for WatchOS apps" the video talks about an entitlement being required to use the HR sensor judiciously in the background. It provides a link to request the entitlement which no longer works: http://developer.apple.com/contect/request/health-monitoring The session video is also quite hard to find these days. Does anyone know why this is the case? Is the API and entitlement still available? Is there a supported way to run, even periodically, in the background on the Watch app (ignoring the background observer route which is known to be unreliable) and access existing HR sensor data
16
1
3k
3d
Native Reminders tags support in EventKit — is there a way to access them?
Hi! I’m planning to develop a task management app for iOS, and I’d really like to build it around Apple’s existing Reminders system rather than creating yet another app with its own separate task database. My goal is to let users continue managing their tasks through Apple Reminders, even if they uninstall my app, while providing a more advanced interface, intelligent organization, and additional functionality. EventKit seems like a great foundation for this, but I’ve run into one major limitation: native Reminders tags. Tags would be essential for organizing, filtering, and automatically categorizing tasks in my app. However, as far as I understand, EventKit currently doesn’t provide an API to read, add, modify, or remove them. What’s particularly confusing is that Apple Reminders supports tags, and some tag-related functionality is available through Apple Shortcuts. Is there any officially supported way to access and manage native Reminders tags from a third-party iOS app? If not, is there an alternative approach worth considering, or a way to request this functionality in a future EventKit update? I’d really appreciate any guidance. I’d love to build on Apple’s existing ecosystem instead of forcing users into another isolated task management system.
0
0
36
3d
Push-to-start delivered but end push lost after device was offline: duplicate Live Activities when replacing an activity past the 8-hour limit
We use push-to-start Live Activities to track flights. Some flights run about 11 hours, longer than the 8-hour active limit. To keep tracking until landing, our server “restarts” the activity: it sends an end push (with a past dismissal-date) to the old activity’s update token, then a push-to-start to create a replacement. When the device is online, this works well. When the device is offline at the moment of the restart, we end up with two Live Activities for the same flight.
0
0
16
3d
Supported third-party integration for system Apple Account sign-in on macOS
We are assessing an independent macOS client for user-owned physical Macs. The requirement is to initiate and complete a real system Apple Account sign-in, including system account persistence and service activation. This is not Sign in with Apple for signing in to our own application. Our current test machine runs macOS 14.6.1 (23G93). We understand that observations on that version do not establish the supported API surface on current macOS releases. Could Apple clarify: Is there a documented third-party API or Apple-provided broker that supports this workflow? If so, what are its supported OS versions, caller requirements, and completion/result contract? If this requires an approved capability or a specific program, is there a published eligibility and application channel? We are not assuming that ordinary Developer Program membership grants private system-account privileges. If the only supported approach is a handoff to System Settings, can you confirm that boundary and identify any documented completion/status mechanism? A UI-only handoff would be a separate integration and would not fulfill our independent-client requirement. We are asking about supported integration options, not implementation details of internal APIs. We do not have a separate approved backend or a developer-program team at present, and would like to establish feasibility before purchasing membership or attempting account writes. No credentials, account identifiers, tokens, device materials, host addresses, or binary dumps are included.
0
0
18
3d
Supported non-admin service identity for a macOS LaunchDaemon
I'm developing a private macOS application on an Apple-silicon Mac mini running macOS Golden Gate 27.2. I'm evaluating a system LaunchDaemon running under a dedicated, non-administrator identity that cannot log in interactively. A separate desktop application would communicate with the daemon through authenticated local IPC. Before implementing this architecture, I would like to establish the officially supported approach. My main question: What is the Apple-supported method for creating and maintaining a dedicated, non-administrator, non-interactive service identity for a system LaunchDaemon on macOS 27.2? In particular: Is there a documented procedure for creating, restricting, disabling, recovering and eventually removing this identity? Are dscl, sysadminctl or another account-management mechanism supported for this purpose? Can a LaunchDaemon run under this identity without an interactive user login, including when registered through SMAppService? Are there any secure-token, FileVault, volume-ownership or keychain restrictions that would affect this design? If a dedicated non-login service identity is not a supported architecture, what alternative does Apple recommend? I'd particularly appreciate links to official Apple documentation or guidance from Apple engineers. Thank you.
10
0
579
3d
Sandbox restriction blocks Keychain access during Live Activity rendering: supported design for encrypted updates?
Hi, I'm building a Live Activity prototype using fictitious data. I want incoming updates to stay encrypted until they reach my iPhone, without putting the decryption key in ActivityAttributes, ContentState, or archived views. My goal is timely updates without an alert for each change. I'm using Xcode 27.2 and the iPhoneOS 27.2 SDK. My iPhone was running iOS 27.2.1 when I last checked. I haven't recorded its exact OS build or the OS version and build for every earlier test. My app and WidgetKit extension have the same shared Keychain access group in their signed entitlements. My app creates a 32-byte test key as a generic password with kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly, with synchronization disabled. The extension only reads the key. A failed lookup never causes the key to be replaced or deleted. When I try to read the key while rendering the Live Activity, the first, metadata-only SecItemCopyMatching call returns errSecNotAvailable (-25291). It fails before I request any secret bytes. I reproduced this after stopping and restarting the activity with my iPhone unlocked. I get the same result with a non-interactive LAContext and with kSecUseAuthenticationUIFail without a supplied context. I used the latter only for comparison, since it is deprecated. My query specifies the class, fixed service and account, and shared access group. It also sets kSecUseDataProtectionKeychain. For the metadata lookup, I use kSecAttrSynchronizableAny, kSecReturnAttributes: true, and kSecMatchLimitAll, without requesting data or item references. I only request the key bytes after finding exactly one item and validating its policy, so that second step is never reached here. For comparison, I added a regular widget to the same signed WidgetKit extension. Its timeline provider successfully validates the metadata using the same read-only query and client, while the Live Activity still returns errSecNotAvailable. I captured these results separately; I haven't established whether they ran simultaneously or in different processes. I have only confirmed metadata access in the regular widget, not access to the key bytes. I also tried decrypting in my foreground app and then passing the fictitious summary to ActivityKit through a local update. That renders correctly on my iPhone. It doesn't test remote delivery or background decryption, or fix the Keychain failure during rendering. I repeated the test with debug messages enabled in Console. The Live Activity in my diagnostic build still shows the same Keychain failure. The capture from the extension now includes the connection error, not just the generic securityd message: activating connection: ... name=com.apple.securityd failed to do a bootstrap look-up: xpc_error=[159: Unknown error: 159] invalidated after a failed init got event: Connection invalid Failed to talk to securityd after 4 attempts. error:[-25291] Error Domain=com.apple.security.xpc Code=3 Connection invalid - Connection init failed at lookup with error 159 - Sandbox restrictionThis excerpt omits connection addresses and account fields. The same -25291 error and sandbox-restriction reason appear five times in this capture. It establishes the reported reason for the connection failure in this test; I haven't established whether this is an intended restriction, an OS issue, or a configuration issue. I also don't infer the actual retry count from the generic message. I'd appreciate guidance on these questions: Given the explicit sandbox-restriction error for com.apple.securityd, is non-interactive Keychain access intentionally unavailable during Live Activity rendering, or should I investigate an OS or configuration issue? Displaying live data with Live Activities documents a separate sandbox and restrictions on network and location access, but I haven't found its Keychain access contract. How should I interpret the different result from my regular widget's timeline provider? For encrypted content-state updates, is there a supported execution point where my app can authenticate and decrypt each update before handing a local render value to ActivityKit? I found the documented app wake-up for push-to-start, but not an equivalent for ordinary updates. If neither approach is supported, how can I deliver timely, alert-free encrypted Live Activity updates while keeping the key solely in Keychain and out of archived state and views? How does ActivityKit protect static ActivityAttributes at rest? Can those attributes be included in backups or replicated to an Apple Watch or Mac, separately from rendered views? Does any of that data pass through Apple servers, and is there a public API to opt out of replication? Would a per-activity session key in locally created static attributes be a supported design, or does Apple advise against storing secrets there? I haven't implemented this alternative. I would keep the long-term pairing key in Keychain, exclude the session key from every APNs payload, and start the activity locally rather than through push-to-start. I'd like to understand the storage and replication guarantees before considering it further. I'm looking for a supported design without weakening Keychain protection, allowing authentication UI during rendering, or suppressing an ordinary notification to bypass its requirements. I can prepare a minimal reproducer with fictitious data and no tokens, real identifiers, or conversation content. Thanks for your help.
3
0
120
3d
StoreKit 2 transaction verification fails during App Review with localized error 「資訊對裝置無效」; how should our app handle this?
We are implementing in-app purchases using StoreKit 2. The issue we need guidance on is how our app should correctly handle a StoreKit 2 transaction that becomes .unverified during Apple App Review. In our local development testing, purchases work correctly. When we test the same IAP products locally, the transaction returned from Product.purchase() is .verified, and the purchase flow completes successfully. However, during Apple App Review, the reviewer appears to encounter a failure where the StoreKit 2 transaction is returned as .unverified on the client side. The original localized error message shown is in Traditional Chinese: 「資訊對裝置無效」 Our English translation of this message is: “The information is not valid for this device.” Because the message is localized, we are not sure what the exact original English StoreKit error string would be. This failure happens in the client app before our backend receipt or server-side validation flow. We are not using verifyReceipt for this step. The failure occurs at the StoreKit 2 VerificationResult level when checking the transaction returned by StoreKit. Our current implementation only accepts .verified transactions. If StoreKit 2 returns .unverified, we treat the transaction as failed and do not unlock the purchased content. We believe this is the recommended secure behavior, but we would like to confirm the correct handling, especially because this issue is appearing during App Review while our local development purchases succeed. Additional context: • Distribution/review context: App Review / IAP review • API: StoreKit 2 • Failure point: VerificationResult returned as .unverified • Localized error message: 「資訊對裝置無效」 • Rough English translation: “The information is not valid for this device.” • Local development testing: purchases return .verified and succeed • The issue occurs before backend validation • Our app currently rejects .unverified transactions and does not unlock content Questions: What are the known causes of StoreKit 2 returning .unverified with the localized error message 「資訊對裝置無效」 during App Review? Is our current behavior correct: only unlock content for .verified transactions and reject .unverified transactions? If App Review receives .unverified, what should the app do from Apple’s recommended perspective? Should we show a retry/error message, ask the reviewer to retry, refresh entitlements, or take another action? Is there any App Review environment, device configuration, Apple ID configuration, or StoreKit account state that can cause this device-related verification error? Since local development purchases succeed but App Review fails, what diagnostics or logs should we collect and provide to identify the root cause? Should we ever bypass StoreKit 2 transaction verification in App Review/TestFlight, or should .unverified always be treated as a failed transaction? We would appreciate guidance on the correct code-level handling so that our app remains secure while also passing App Review reliably. Thank you.
2
0
567
3d
Full Disk Access on macOS 27.3
I'm looking into the changes being implemented and I find this way of handling by Apple on short notice problematic. Now our customers (those that don't have MDM) will have to jump through hoops to enable FDA for our product, a security product that also uses Endpoint Security. We already have the entitlement for endpoint security, which requires FDA in order to work, so why make it so difficult instead of just allowing FDA for apps that have this entitlement? Why only backup applications are exempted?
2
0
130
3d
Access to related files outside Sandbox with NSFileCoordinator and NSFilePresenter does not work anymore in macOS 27.3 beta 2
In macOS 27.3 beta 2, it is no longer possible to use NSFileCoordinator with NSFilePresenter instances to open a SQLite file with related WAL and SHM files when a sandboxed app has access to the primary SQLite file. In macOS 27.3 beta 1 and previous macOS releases, the Related File Access API works as expected. This happens regardless where the files are located, so it seems to be unrelated to recent changes in Privacy & Security, although it could be an unexpected side effect of these changes. Instead of correctly registering NSFilePresenter instances, errors like the following are logged in the XCode console: NSFileSandboxingRequestRelatedItemExtension: Failed to issue extension for /Users/testuser/Desktop/Sample/Example.sqlite-wal because: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (The related item is protected by a different storage class than the primary item) UserInfo={NSDebugDescription=The related item is protected by a different storage class than the primary item} +[NSFileCoordinator addFilePresenter:] could not get a sandbox extension. primaryPresentedItemURL: file:///Users/testuser/Desktop/Sample/Example.sqlite, presentedItemURL: file:///Users/testuser/Desktop/Sample/Example.sqlite-walThe mentioned Related File Access API is documented here. I have filed a Feedback, which includes a sample project: FB25625743 My question is: Is this a bug, or new intended behavior, or is there something else changed that should be dealed with when using this API in macOS 27.3 beta 2?
1
0
73
3d
Can macOS verify a worker’s effective sandbox policy before it runs?
I’m building a local app on an Apple silicon Mac. Before a worker or any of its child processes can run, I need to verify the worker’s effective filesystem and network restrictions, including inherited restrictions. I need to allow that same pending launch only if the policy matches, and deny it if verification fails or times out. I reviewed Apple’s App Sandbox guidance and the Endpoint Security documentation for exec authorization and entitlement metadata. I haven’t found documentation showing that these expose the complete effective policy for the pending launch. Is there a supported public macOS API that provides this guarantee? If so, which API and macOS versions support it? If not, is this outside what the public APIs can verify?
1
0
201
3d
Introductory Offer Start Timing
Hi everyone, I set up an auto-renewable subscription introductory offer in App Store Connect with a scheduled start date of September 7 for the Philippines storefront. According to the documentation App Store pricing and availability start times by country or region, scheduled pricing and offer updates are expected to go live based on local regional times. However, the offer did not show up in the Current Introductory Offers in app store connect portal at the documented start time (14:00 Sep 6th UTC). Instead, it stayed in the Upcoming Offers until 7:00 Sep 7th UTC which is 17 hours after the time in the doc. We met a similar situation a few days later when we launch another introductory offer in Thailand. I would appreciate clarification on the following points: What is the underlying reason for the discrepancy between the documented start time behavior and the actual start time observed in production? Can Apple update the App Store pricing and availability start times by country or region reference documentation so that it accurately reflects the practical start time and propagation window for each region? Any insights or shared experiences with offer scheduling in the APAC region would be greatly appreciated.
Replies
1
Boosts
0
Views
416
Activity
2d
CloudKit public database vs Apple-hosted asset packs for a 63 MB data file updated weekly
My iOS app ships a read-only food database inside the app: one SQLite file, about 63 MB, no code. After launch I want to update it about once a week without a new app version. I'm choosing between a CloudKit public database and Apple-hosted asset packs (Background Assets). App Review said these questions are outside its scope. CloudKit public database (1) If the app downloads a new data file from the public database, does each update need App Review? (2) What are the current free limits for public database storage and data transfer? Each subscriber would download about 63 MB a few times a month. (3) What happens past the limit: requests fail, get throttled, or a bill? (4) Is there a size limit per asset? Splitting the file is fine. (5) Updates would go only to subscribers and people in the free trial. Apple's terms say you can't charge for access to iCloud. If the subscription pays for the app as a whole, is limiting the download to subscribers OK? (6) Does reading from the public database change the App Store privacy label? Apple-hosted asset packs (7) Is each new asset pack reviewed, and how long does that usually take? (8) Are there download limits, or a size limit per pack? For a data file that changes weekly, which would you pick? Is anyone running either one in production?
Replies
0
Boosts
0
Views
31
Activity
2d
Why do random errOSAInternalTableOverflow errors return when running AppleScripts via ScriptingBridge?
We have an app that controls InDesign Desktop and InDesignServer via hundreds of AppleScripts. Some macOS security updates a while back dictated that we start communicating with other apps via ScriptingBridge. We couldn't afford to convert the hundreds of AppleScripts into direct ScriptingBridge nomenclature, so we opted to keep them as is and instead tell the external apps to: [app doScript:<the script text> language:InDesignScLgApplescriptLanguage withArguments:nil undoMode:InDesignESUMScriptRequest undoName:@"blah"] There are a handful of scripts that we did convert to direct ScriptingBridge. There are times (and under the right circumstances, it's repeatable) when a certain script will have run perfectly dozens of times, and then it will throw errOSAInternalTableOverflow. We create a new SBApplication for every job (which could be a single instance of Desktop or the multiple instances of Server). Why is this error happening seemingly randomly? Is there anything we can do to work around or prevent this?
Replies
9
Boosts
0
Views
2.3k
Activity
2d
StoreKit auto-renewable subscription hangs indefinitely in TestFlight — purchase sheet never appears
I’m trying to diagnose a StoreKit issue with an auto-renewable subscription in my iOS app. The subscription is called “Lighthouse Plus” and is $9.99/month. The app is currently being tested through TestFlight. When the user taps the Lighthouse Plus subscription button, the app begins the purchase process/loading state, but the Apple purchase sheet never appears. The UI then remains stuck loading indefinitely. This has continued across multiple TestFlight builds, including our current Build 11. What happens: Install/open the app through TestFlight. Sign into the app. Navigate to Lighthouse Plus. Tap the subscription/purchase button. The app enters a loading state. No Apple purchase confirmation sheet appears. The loading state never resolves. We have also been investigating Restore Purchases and Manage Subscription behavior as part of the same StoreKit implementation. The subscription product has been configured in App Store Connect and associated with the app. We have repeatedly tested new builds while trying to determine whether the failure is in our StoreKit implementation, product configuration, TestFlight sandbox environment, or communication with the App Store. The particularly difficult part is that we are not receiving a visible StoreKit error on the device — the purchase attempt appears to wait indefinitely rather than returning a clear success, cancellation, or failure. I do not currently have access to a Mac for direct Xcode/StoreKit Console debugging, so I am trying to determine the best way to diagnose exactly where this transaction is stopping from a TestFlight device. Questions: What would cause a StoreKit subscription purchase request to remain pending/loading without ever presenting Apple's purchase sheet? Is there a way to retrieve useful StoreKit/TestFlight transaction diagnostics without access to Xcode on a Mac? Are there specific App Store Connect subscription states/configuration issues that can cause this behavior without StoreKit returning an obvious error? What StoreKit transaction/product logging should we add to the app itself so the next TestFlight build can identify exactly where the request is failing? Should the purchase call have an explicit timeout/error path if StoreKit never returns? I can provide the product identifier, relevant StoreKit implementation/code, App Store Connect configuration screenshots, and additional diagnostics if needed. Any guidance on isolating whether this is an App Store configuration issue versus an implementation issue would be greatly appreciated.
Replies
1
Boosts
0
Views
167
Activity
2d
Can a restore replace a file in an App Group container while the app's process is alive?
For an iOS app that stores a SQLite database in its App Group container and has no extension targets, can iCloud restore, Finder or Apple Devices restore, or Quick Start replace a file in that container while the app's normal process remains alive, including while suspended? If iOS terminates the process first, can the app relaunch before all App Group files have finished restoring? Please identify any differences between these restore paths and any documented guarantee. Related: thread 845479 gave the general rule for the app's own container.
Replies
3
Boosts
0
Views
127
Activity
2d
iOS AirPrint sends print-quality=high when file-type is photo even if user selects “normal”
Hi everyone, I observed a behavior with AirPrint from an iPhone and wanted to confirm if this is expected behavior from iOS. Scenario tested: File type: Photo Print-quality selected by the user: Normal Observation (from packet capture): When checking the PCAP for the request sent from the iPhone, the print-quality attribute is always sent as high, even though the user selected Normal in the UI. Question: Is this an expected behavior in iOS/AirPrint where photos are always sent with print-quality=high regardless of the user-selected print quality? Or could this be a bug?
Replies
1
Boosts
0
Views
735
Activity
2d
Passkit Does posterEventTicket officially support QR code admission?
We're using Apple Wallet passes for event admission, with around 5,000 customers expected to use QR codes next month. We don't support NFC. I generated and tested an Apple Wallet pass using posterEventTicket with PKBarcodeFormatQR, and the QR code displays correctly on my iPhone. However, Apple's documentation states that poster event tickets aren't compatible with QR/barcode-based admission. What's confusing is that the images in the same documentation also show QR codes on poster event tickets. So which is correct? Is QR-only admission officially supported with posterEventTicket, or should we continue using the legacy eventTicket layout? I'm particularly concerned about whether the QR code might disappear or become inaccessible on certain iOS/watchOS versions, even though it's working in my tests.
Replies
0
Boosts
0
Views
60
Activity
2d
Network Extension URL Filter registration pending review for more than a month
Hello, I am writing about a Network Extension URL Filter configuration submitted through the Identity & Trust section of the CloudKit Console on 5 September 2026 Status shown: In Review / Waiting for Approval Last Modified: 5 September 2026 (unchanged since submission) It has now been 37 days with no response — no approval, no rejection, and no request for changes. The PIR server , Privacy Pass issuer and HTTP/2 OHTTP gateway have been live and serving since the day of submission, configured per the Onboarding.md guidance in Apple's PIR service example, including the apple-url-filter DNS TXT record on the service URL and the url-filter-test validation entry. Could anyone please let me know: Whether this configuration is actually in a review queue, and the expected timeframe; Whether anything further is required from our side — if so, we will act on it the same day. The URL filter is a core protection feature of our app, which is currently in App Store review; the feature stays disabled for users until this registration is approved, so the delay is holding up what we can ship. Thank you for your help.
Replies
5
Boosts
0
Views
319
Activity
2d
Local Push Connectivity entitlement request — no response after a month (again)
Hi all, I’m hoping someone from Apple can point me in the right direction. We submitted a request for the Local Push Connectivity entitlement about a month ago and haven’t heard anything back. No approval, no rejection, just silence. Unfortunately this is the second time; we tried back in 2023 and the same thing happened. After requesting the entitlement multiple times, we gave up on the project. A bit about what we’re building: we make a nurse call system for long-term care facilities. When a resident needs help, they press a wireless call device, our on-prem server raises an alert, and our iOS app would notify the caregivers on shift. The catch is that a most of these facilities put their life safety systems on air-gapped networks with no internet access at all, so APNs just isn’t an option. Even where there is internet, the system has to keep working if the connection goes down. We understand other vendors in our industry use Local Push Connectivity for this same scenario, so we’re hopeful this is just a matter of our request getting lost somewhere. As far as I can tell, this is exactly what Local Push Connectivity was made for. The WWDC20 session that introduced it (“Build local push connectivity for restricted networks”) actually names hospitals as one of the example environments where APNs may be unreachable, and talks about keeping notifications working in constrained networks “when it matters most to the users.” A resident calling for help is about as close to that as it gets. Our App ID already has the Critical Alerts entitlement, but there’s no “Network Extensions (additional values)” option under Additional Capabilities, so Xcode, understandably, complains that the profile doesn’t match the com.apple.developer.networking.networkextension value in our entitlements file. Is there a way to check on the status of a request like this, or a better place to follow up? I’m happy to share our team and app details privately. Any help would be really appreciated. We’ve been trying to get this going for a while now. Thanks!
Replies
0
Boosts
0
Views
41
Activity
3d
Extended Runtime API - Health Monitoring
In the WWDC 2019 session "Extended Runtime for WatchOS apps" the video talks about an entitlement being required to use the HR sensor judiciously in the background. It provides a link to request the entitlement which no longer works: http://developer.apple.com/contect/request/health-monitoring The session video is also quite hard to find these days. Does anyone know why this is the case? Is the API and entitlement still available? Is there a supported way to run, even periodically, in the background on the Watch app (ignoring the background observer route which is known to be unreliable) and access existing HR sensor data
Replies
16
Boosts
1
Views
3k
Activity
3d
Native Reminders tags support in EventKit — is there a way to access them?
Hi! I’m planning to develop a task management app for iOS, and I’d really like to build it around Apple’s existing Reminders system rather than creating yet another app with its own separate task database. My goal is to let users continue managing their tasks through Apple Reminders, even if they uninstall my app, while providing a more advanced interface, intelligent organization, and additional functionality. EventKit seems like a great foundation for this, but I’ve run into one major limitation: native Reminders tags. Tags would be essential for organizing, filtering, and automatically categorizing tasks in my app. However, as far as I understand, EventKit currently doesn’t provide an API to read, add, modify, or remove them. What’s particularly confusing is that Apple Reminders supports tags, and some tag-related functionality is available through Apple Shortcuts. Is there any officially supported way to access and manage native Reminders tags from a third-party iOS app? If not, is there an alternative approach worth considering, or a way to request this functionality in a future EventKit update? I’d really appreciate any guidance. I’d love to build on Apple’s existing ecosystem instead of forcing users into another isolated task management system.
Replies
0
Boosts
0
Views
36
Activity
3d
Push-to-start delivered but end push lost after device was offline: duplicate Live Activities when replacing an activity past the 8-hour limit
We use push-to-start Live Activities to track flights. Some flights run about 11 hours, longer than the 8-hour active limit. To keep tracking until landing, our server “restarts” the activity: it sends an end push (with a past dismissal-date) to the old activity’s update token, then a push-to-start to create a replacement. When the device is online, this works well. When the device is offline at the moment of the restart, we end up with two Live Activities for the same flight.
Replies
0
Boosts
0
Views
16
Activity
3d
Supported third-party integration for system Apple Account sign-in on macOS
We are assessing an independent macOS client for user-owned physical Macs. The requirement is to initiate and complete a real system Apple Account sign-in, including system account persistence and service activation. This is not Sign in with Apple for signing in to our own application. Our current test machine runs macOS 14.6.1 (23G93). We understand that observations on that version do not establish the supported API surface on current macOS releases. Could Apple clarify: Is there a documented third-party API or Apple-provided broker that supports this workflow? If so, what are its supported OS versions, caller requirements, and completion/result contract? If this requires an approved capability or a specific program, is there a published eligibility and application channel? We are not assuming that ordinary Developer Program membership grants private system-account privileges. If the only supported approach is a handoff to System Settings, can you confirm that boundary and identify any documented completion/status mechanism? A UI-only handoff would be a separate integration and would not fulfill our independent-client requirement. We are asking about supported integration options, not implementation details of internal APIs. We do not have a separate approved backend or a developer-program team at present, and would like to establish feasibility before purchasing membership or attempting account writes. No credentials, account identifiers, tokens, device materials, host addresses, or binary dumps are included.
Replies
0
Boosts
0
Views
18
Activity
3d
Supported non-admin service identity for a macOS LaunchDaemon
I'm developing a private macOS application on an Apple-silicon Mac mini running macOS Golden Gate 27.2. I'm evaluating a system LaunchDaemon running under a dedicated, non-administrator identity that cannot log in interactively. A separate desktop application would communicate with the daemon through authenticated local IPC. Before implementing this architecture, I would like to establish the officially supported approach. My main question: What is the Apple-supported method for creating and maintaining a dedicated, non-administrator, non-interactive service identity for a system LaunchDaemon on macOS 27.2? In particular: Is there a documented procedure for creating, restricting, disabling, recovering and eventually removing this identity? Are dscl, sysadminctl or another account-management mechanism supported for this purpose? Can a LaunchDaemon run under this identity without an interactive user login, including when registered through SMAppService? Are there any secure-token, FileVault, volume-ownership or keychain restrictions that would affect this design? If a dedicated non-login service identity is not a supported architecture, what alternative does Apple recommend? I'd particularly appreciate links to official Apple documentation or guidance from Apple engineers. Thank you.
Replies
10
Boosts
0
Views
579
Activity
3d
Sandbox restriction blocks Keychain access during Live Activity rendering: supported design for encrypted updates?
Hi, I'm building a Live Activity prototype using fictitious data. I want incoming updates to stay encrypted until they reach my iPhone, without putting the decryption key in ActivityAttributes, ContentState, or archived views. My goal is timely updates without an alert for each change. I'm using Xcode 27.2 and the iPhoneOS 27.2 SDK. My iPhone was running iOS 27.2.1 when I last checked. I haven't recorded its exact OS build or the OS version and build for every earlier test. My app and WidgetKit extension have the same shared Keychain access group in their signed entitlements. My app creates a 32-byte test key as a generic password with kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly, with synchronization disabled. The extension only reads the key. A failed lookup never causes the key to be replaced or deleted. When I try to read the key while rendering the Live Activity, the first, metadata-only SecItemCopyMatching call returns errSecNotAvailable (-25291). It fails before I request any secret bytes. I reproduced this after stopping and restarting the activity with my iPhone unlocked. I get the same result with a non-interactive LAContext and with kSecUseAuthenticationUIFail without a supplied context. I used the latter only for comparison, since it is deprecated. My query specifies the class, fixed service and account, and shared access group. It also sets kSecUseDataProtectionKeychain. For the metadata lookup, I use kSecAttrSynchronizableAny, kSecReturnAttributes: true, and kSecMatchLimitAll, without requesting data or item references. I only request the key bytes after finding exactly one item and validating its policy, so that second step is never reached here. For comparison, I added a regular widget to the same signed WidgetKit extension. Its timeline provider successfully validates the metadata using the same read-only query and client, while the Live Activity still returns errSecNotAvailable. I captured these results separately; I haven't established whether they ran simultaneously or in different processes. I have only confirmed metadata access in the regular widget, not access to the key bytes. I also tried decrypting in my foreground app and then passing the fictitious summary to ActivityKit through a local update. That renders correctly on my iPhone. It doesn't test remote delivery or background decryption, or fix the Keychain failure during rendering. I repeated the test with debug messages enabled in Console. The Live Activity in my diagnostic build still shows the same Keychain failure. The capture from the extension now includes the connection error, not just the generic securityd message: activating connection: ... name=com.apple.securityd failed to do a bootstrap look-up: xpc_error=[159: Unknown error: 159] invalidated after a failed init got event: Connection invalid Failed to talk to securityd after 4 attempts. error:[-25291] Error Domain=com.apple.security.xpc Code=3 Connection invalid - Connection init failed at lookup with error 159 - Sandbox restrictionThis excerpt omits connection addresses and account fields. The same -25291 error and sandbox-restriction reason appear five times in this capture. It establishes the reported reason for the connection failure in this test; I haven't established whether this is an intended restriction, an OS issue, or a configuration issue. I also don't infer the actual retry count from the generic message. I'd appreciate guidance on these questions: Given the explicit sandbox-restriction error for com.apple.securityd, is non-interactive Keychain access intentionally unavailable during Live Activity rendering, or should I investigate an OS or configuration issue? Displaying live data with Live Activities documents a separate sandbox and restrictions on network and location access, but I haven't found its Keychain access contract. How should I interpret the different result from my regular widget's timeline provider? For encrypted content-state updates, is there a supported execution point where my app can authenticate and decrypt each update before handing a local render value to ActivityKit? I found the documented app wake-up for push-to-start, but not an equivalent for ordinary updates. If neither approach is supported, how can I deliver timely, alert-free encrypted Live Activity updates while keeping the key solely in Keychain and out of archived state and views? How does ActivityKit protect static ActivityAttributes at rest? Can those attributes be included in backups or replicated to an Apple Watch or Mac, separately from rendered views? Does any of that data pass through Apple servers, and is there a public API to opt out of replication? Would a per-activity session key in locally created static attributes be a supported design, or does Apple advise against storing secrets there? I haven't implemented this alternative. I would keep the long-term pairing key in Keychain, exclude the session key from every APNs payload, and start the activity locally rather than through push-to-start. I'd like to understand the storage and replication guarantees before considering it further. I'm looking for a supported design without weakening Keychain protection, allowing authentication UI during rendering, or suppressing an ordinary notification to bypass its requirements. I can prepare a minimal reproducer with fictitious data and no tokens, real identifiers, or conversation content. Thanks for your help.
Replies
3
Boosts
0
Views
120
Activity
3d
StoreKit 2 transaction verification fails during App Review with localized error 「資訊對裝置無效」; how should our app handle this?
We are implementing in-app purchases using StoreKit 2. The issue we need guidance on is how our app should correctly handle a StoreKit 2 transaction that becomes .unverified during Apple App Review. In our local development testing, purchases work correctly. When we test the same IAP products locally, the transaction returned from Product.purchase() is .verified, and the purchase flow completes successfully. However, during Apple App Review, the reviewer appears to encounter a failure where the StoreKit 2 transaction is returned as .unverified on the client side. The original localized error message shown is in Traditional Chinese: 「資訊對裝置無效」 Our English translation of this message is: “The information is not valid for this device.” Because the message is localized, we are not sure what the exact original English StoreKit error string would be. This failure happens in the client app before our backend receipt or server-side validation flow. We are not using verifyReceipt for this step. The failure occurs at the StoreKit 2 VerificationResult level when checking the transaction returned by StoreKit. Our current implementation only accepts .verified transactions. If StoreKit 2 returns .unverified, we treat the transaction as failed and do not unlock the purchased content. We believe this is the recommended secure behavior, but we would like to confirm the correct handling, especially because this issue is appearing during App Review while our local development purchases succeed. Additional context: • Distribution/review context: App Review / IAP review • API: StoreKit 2 • Failure point: VerificationResult returned as .unverified • Localized error message: 「資訊對裝置無效」 • Rough English translation: “The information is not valid for this device.” • Local development testing: purchases return .verified and succeed • The issue occurs before backend validation • Our app currently rejects .unverified transactions and does not unlock content Questions: What are the known causes of StoreKit 2 returning .unverified with the localized error message 「資訊對裝置無效」 during App Review? Is our current behavior correct: only unlock content for .verified transactions and reject .unverified transactions? If App Review receives .unverified, what should the app do from Apple’s recommended perspective? Should we show a retry/error message, ask the reviewer to retry, refresh entitlements, or take another action? Is there any App Review environment, device configuration, Apple ID configuration, or StoreKit account state that can cause this device-related verification error? Since local development purchases succeed but App Review fails, what diagnostics or logs should we collect and provide to identify the root cause? Should we ever bypass StoreKit 2 transaction verification in App Review/TestFlight, or should .unverified always be treated as a failed transaction? We would appreciate guidance on the correct code-level handling so that our app remains secure while also passing App Review reliably. Thank you.
Replies
2
Boosts
0
Views
567
Activity
3d
Full Disk Access on macOS 27.3
I'm looking into the changes being implemented and I find this way of handling by Apple on short notice problematic. Now our customers (those that don't have MDM) will have to jump through hoops to enable FDA for our product, a security product that also uses Endpoint Security. We already have the entitlement for endpoint security, which requires FDA in order to work, so why make it so difficult instead of just allowing FDA for apps that have this entitlement? Why only backup applications are exempted?
Replies
2
Boosts
0
Views
130
Activity
3d
Access to related files outside Sandbox with NSFileCoordinator and NSFilePresenter does not work anymore in macOS 27.3 beta 2
In macOS 27.3 beta 2, it is no longer possible to use NSFileCoordinator with NSFilePresenter instances to open a SQLite file with related WAL and SHM files when a sandboxed app has access to the primary SQLite file. In macOS 27.3 beta 1 and previous macOS releases, the Related File Access API works as expected. This happens regardless where the files are located, so it seems to be unrelated to recent changes in Privacy & Security, although it could be an unexpected side effect of these changes. Instead of correctly registering NSFilePresenter instances, errors like the following are logged in the XCode console: NSFileSandboxingRequestRelatedItemExtension: Failed to issue extension for /Users/testuser/Desktop/Sample/Example.sqlite-wal because: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (The related item is protected by a different storage class than the primary item) UserInfo={NSDebugDescription=The related item is protected by a different storage class than the primary item} +[NSFileCoordinator addFilePresenter:] could not get a sandbox extension. primaryPresentedItemURL: file:///Users/testuser/Desktop/Sample/Example.sqlite, presentedItemURL: file:///Users/testuser/Desktop/Sample/Example.sqlite-walThe mentioned Related File Access API is documented here. I have filed a Feedback, which includes a sample project: FB25625743 My question is: Is this a bug, or new intended behavior, or is there something else changed that should be dealed with when using this API in macOS 27.3 beta 2?
Replies
1
Boosts
0
Views
73
Activity
3d
Can macOS verify a worker’s effective sandbox policy before it runs?
I’m building a local app on an Apple silicon Mac. Before a worker or any of its child processes can run, I need to verify the worker’s effective filesystem and network restrictions, including inherited restrictions. I need to allow that same pending launch only if the policy matches, and deny it if verification fails or times out. I reviewed Apple’s App Sandbox guidance and the Endpoint Security documentation for exec authorization and entitlement metadata. I haven’t found documentation showing that these expose the complete effective policy for the pending launch. Is there a supported public macOS API that provides this guarantee? If so, which API and macOS versions support it? If not, is this outside what the public APIs can verify?
Replies
1
Boosts
0
Views
201
Activity
3d