Search results for

“show when run”

115,119 results found

Post

Replies

Boosts

Views

Activity

Reply to Using mTLS with YubiKey via USB-C and PIV
@DTS Engineer Quinn, Thank you for your reply; I think I'm on a better path now. Unfortunately, I'm now getting an -34018 error and nil with the code below: var result: CFTypeRef? let status = SecItemCopyMatching([ kSecClass: kSecClassCertificate, kSecAttrAccessGroup: kSecAttrAccessGroupToken, kSecMatchLimit: kSecMatchLimitAll, kSecReturnRef: true, ] as CFDictionary, &result) print(status=(status) result=(String(describing: result))) I've tried your trouble shooting steps mentioned in your other posts, including printing out my app's entitlements, and they all look correct: application-identifier MY_APP_ID.MY_APP_BUNDLE_ID com.apple.developer.default-data-protection NSFileProtectionComplete com.apple.developer.team-identifier MY_APP_ID com.apple.security.application-groups get-task-allow keychain-access-groups MY_APP_ID.com.apple.token MY_APP_ID.com.apple.pivtoken MY_APP_ID.MY_APP_BUNDLE_ID I've tried both an xcode-managed provisioning profile, and an enterprise one owned by my org, and neither wo
Topic: Privacy & Security SubTopic: General Tags:
3w
Unable to enroll in Apple Developer Program – “Cannot Connect” error despite active internet
Hi, I’m trying to enroll in the Apple Developer Program using the Apple Developer app on my iPhone, but I’m facing a persistent issue. After clicking “Enroll,” the screen keeps loading for about 1–2 minutes and then shows the error: “Cannot Connect – You must be connected to a Wi-Fi or cellular data network.” However, my internet connection is working perfectly: I am able to browse websites and use apps normally I have tested both Wi-Fi and mobile data I am currently signed in with my Apple ID Two-factor authentication is enabled and working correctly What I have already tried: Switching between Wi-Fi and mobile data Restarting the device Signing out and signing back into Apple ID Ensuring no VPN or custom DNS is active Despite this, the issue persists. Is this a known issue with Apple Developer enrollment services, or is there something specific I need to check on my account or device? Any help would be greatly appreciated. Thank you.
1
0
37
3w
Family Controls Entitlement NOT applied to App Extensions (and Support Form is broken)
Hello, I am facing a critical issue where the Family Controls (Distribution) entitlement is not being applied to my app extensions, despite the main app ID being approved. Main App ID: com.hayashikento.focuspact (Approved on March 13) Extension ID 1: com.hayashikento.focuspact.ShieldActionExtension (Pending/Not visible) Extension ID 2: com.hayashikento.focuspact.ShieldConfigurationExtension (Pending/Not visible) I have submitted requests multiple times, but the entitlement does not appear in the Capability Requests for these extensions in the Certificates, Identifiers & Profiles portal. Furthermore, I am unable to contact Developer Support because the Contact Us form on the developer website consistently shows a Request error or freezes on the submission page. Since I am completely blocked from TestFlight distribution, could someone from Apple please look into my account (Team ID: UHG4J7F7NH) and manually sync these entitlements? Thank you for your help.
7
0
207
3w
Reply to Extended Runtime API - Health Monitoring
Hi Ziqiao, Sorry for the slow response, I've been trying to do some more testing before responding... I think I was getting confused in some instances between WKApplicationDelegateAdaptor and WKExtensionDelegateAdaptor. This is a modern single target app so yes I should be using the former. And thank you on the tech note, really useful for clarity on the confusing! I am now finding that with the @WKApplicationDelegateAdaptor route I can implement the func handle(_ backgroundTasks: Set) {} method and there do work and schedule the next update. With a widget/complication on the watch face I get update calls variably between every 15-90 minutes despite requesting an update every 15 minutes. This is running the latest WatchOS 26.3, I appreciate there are lots of constraints on this which are hard to debug, but despite that I would have expected slightly more updates to get closer to the 4 per hour target. Removing the complication from the watch face seems to take the update number to never, again I thou
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
This is definitely unusual. You’ve already eliminated a bunch of the more common causes of issues like this. AFAICT your team received the Contactless Pass Provisioning (SharableCredential) capability for all App IDs. I’d like to exploit that fact to run a diagnostic test: Using the same Xcode, create a new project from the iOS > App template. When creating the project, enter a new test bundle ID and select your standard team (Team ID S7AUTD2C2B). In Signing & Capabilities, make sure automatic code signing is enabled for all configurations. And that the correct team is selected. At the top, make sure that you have a test device selected as the run destination. Then add the Contactless Pass Provisioning (SharableCredential) capability. Automatic code signing should kick in and create a new development provisioning profile. Wait for that to finish. Assuming that works, try running the app on a test device. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Techn
3w
Auto-renewable subscriptions stuck in "Developer Action Needed" - Cannot attach to binary
Hi everyone, I am trying to submit the first version of my app with auto-renewable subscriptions, but I am stuck in a loop. Both of my subscriptions (Yearly and Monthly) are stuck with the status Developer Action Needed. Because of this status, they do not appear in the list of available In-App Purchases when I try to attach them to my app binary on the App Store Connect submission page. Here is what I have already done/checked: All metadata is filled out (Display Name, Description, Pricing). Review Information is complete (Screenshot and Review Notes are provided). My Paid Applications agreement in the Agreements, Tax, and Banking section is Active. I contacted Apple Developer Support by phone, but they were unable to resolve the issue and suggested I post here for help. Has anyone experienced this limbo before? How can I trigger the status to change to Ready to Submit so I can finally attach them to my build and send the app for review? (I have attached screenshots of my App Store Connect dashboard showing
2
0
355
3w
Screen Time APIs showing severe inconsistencies (DeviceActivity not firing + impossible usage data)
Hi everyone, I’m the developer of one sec, an app used by a large number of users globally to reduce time spent on social media and to build healthier digital habits. Because of this, we rely heavily on Apple’s Screen Time / DeviceActivity / FamilyControls, ManagedSettings APIs – and unfortunately, we’re seeing increasingly severe issues in production that directly impact hundreds of thousands of real iOS users. During the past years, we have been busy filing dozens of feedback requests for different Screen Time issues – and there has been no response from Apple at all. Developer Relations might be able to confirm that the bugs are present and that they ended up with the right team – but they are never addressed, neither are workarounds provided. Instead, the situation gets worse and worse. iOS 26 introduced a series of heavy regressions (which have been reported via Apple’s official bug report tool Feedback Assistant on iOS 26 beta 1 in June 2025 – and have not been addressed 10 Months later). This is very f
2
0
645
3w
SpeechAnalyzer error "asset not found after attempted download" for certain languages
I am trying to use the new SpeechAnalyzer framework in my Mac app, and am running into an issue for some languages. When I call AssetInstallationRequest.downloadAndInstall() for some languages, it throws an error: Error Domain=SFSpeechErrorDomain Code=1 transcription.ar asset not found after attempted download. The .ar appears to be the language code, which in this case was Arabic. When I call AssetInventory.status(forModules:) before attempting the download, it is giving me a status of downloading (perhaps from an earlier attempt?). If this language was completely unsupported, I would expect it to return a status of unsupported, so I'm not sure what's going on here. For other languages (Polish, for example) SpeechTranscriber.supportedLocale(equivalentTo:) is returning nil, so that seems like a clearly unsupported language. But I can't tell if the languages I'm trying, like Arabic, are supported and something is going wrong, or if this error represents something I can work around. Here's the relevant
9
0
1.2k
3w
Reply to Xcode now hangs; SDKs are "status unavailable"
Ok, here is my step by step (what I think is) a solution guide... (worked for me) Fix: Xcode Hangs on macOS Tahoe 26.4 (SDKs Status Unavailable) The Problem macOS Tahoe 26.4 introduces a bug where a CoreSimulator subprocess (simdiskimaged) repeatedly exceeds its 20MB memory limit and gets killed by the system. This causes CoreSimulatorService to hang indefinitely, which in turn causes Xcode to freeze, SDKs to show status unavailable, and all simulators to become inaccessible. The root cause is a runaway loop that creates new SimRuntimeBundle files every 11 seconds in /Library/Developer/CoreSimulator/Cryptex/Images/mnt/, bloating the state that simdiskimaged must load on startup beyond its jetsam memory limit. The Fix Step 1 — Grant Terminal Full Disk Access The files that need to be deleted are protected by TCC (Transparency, Consent, and Control). Without this step, sudo rm will return Operation not permitted. Open System Settings → Privacy & Security → Full Disk Access Click the + button Add Te
3w
Reply to Xcode now hangs; SDKs are "status unavailable"
Here is a summary of my findings so far working with AI: The Bug: macOS Tahoe 26.4 triggers a loop in the CoreSimulator subsystem where a new SimRuntimeBundle is created in /Library/Developer/CoreSimulator/Cryptex/Images/mnt/ every 11 seconds. This accumulates thousands of files and bloats the images.plist manifest. Why Xcode Hangs: When Xcode launches, it starts CoreSimulatorService, which spawns a helper daemon called simdiskimaged via XPC. simdiskimaged is responsible for managing simulator disk images and runtimes. On startup, it tries to load and validate the entire contents of images.plist and the Cryptex directory. Because of the runaway loop, there are now 7,000+ files and a bloated manifest to parse. simdiskimaged exceeds its hardcoded 20MB jetsam memory limit and gets killed by the system (SIGKILL/-9). CoreSimulatorService sent a synchronous XPC message to simdiskimaged and is now waiting for a reply that will never come — it hangs forever on mach_msg2_trap. Everything downstream hangs: xcrun simctl
3w
Reply to Audio cues not working when app is in the background
Thanks for the post. I'm not an expert on audio and less when that involves watchOS. So other watchOS engineers are hopefully jumping into the thread soon. What I know is the behavior you are seeing is due to the strict differences in how watchOS handles background execution and audio compared to iOS. When your app goes into the background on watchOS, custom audio playback like AVAudioPlayer or AVAudioEngine playing a voice or beep is immediately suspended unless specific background modes and sessions are active. The reason the ping sound and haptics continue is likely because you are triggering them via WKInterfaceDevice.current().play(.notification) or similar system-level calls, which are handled by a separate system and can fire as long as your app has any background execution time. Since you want your app to play over music apps without stopping them, you must configure your AVAudioSession to mix with other audio. You should also consider using https://developer.apple.com/documentation/avfaudio/avaudiose
3w
Reply to CarPlay outputs no audio
Thanks for the post I believe iOS categorizes it as a secondary audio source, by design, secondary audio sources are not allowed to take over the system's Now Playing deck. The Now Playing screen (and the navigation button to reach it in CarPlay) is strictly reserved for the primary media app. .defaultToSpeaker and .allowBluetoothA2DP are strictly invalid for the .playback category as they are only for .playAndRecord. I believe, you need to use the .playback category without any options that downgrade your app to a secondary audio source or conflict with the category as CarPlay is very strict about when it shows the Now Playing button. CarPlay often refuses to show the Now Playing icon in the navigation bar until the app has actually pushed audio buffers through the active AVAudioSession. Remove .mixWithOthers and the invalid flags, ensure your playback state is set to .playing, and the CarPlay Now Playing deck should behave exactly as expected? https://developer.apple.com/documentation/AVFA
3w
Reply to Using mTLS with YubiKey via USB-C and PIV
@DTS Engineer Quinn, Thank you for your reply; I think I'm on a better path now. Unfortunately, I'm now getting an -34018 error and nil with the code below: var result: CFTypeRef? let status = SecItemCopyMatching([ kSecClass: kSecClassCertificate, kSecAttrAccessGroup: kSecAttrAccessGroupToken, kSecMatchLimit: kSecMatchLimitAll, kSecReturnRef: true, ] as CFDictionary, &result) print(status=(status) result=(String(describing: result))) I've tried your trouble shooting steps mentioned in your other posts, including printing out my app's entitlements, and they all look correct: application-identifier MY_APP_ID.MY_APP_BUNDLE_ID com.apple.developer.default-data-protection NSFileProtectionComplete com.apple.developer.team-identifier MY_APP_ID com.apple.security.application-groups get-task-allow keychain-access-groups MY_APP_ID.com.apple.token MY_APP_ID.com.apple.pivtoken MY_APP_ID.MY_APP_BUNDLE_ID I've tried both an xcode-managed provisioning profile, and an enterprise one owned by my org, and neither wo
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
I've run into the same issue as you. I also tried installing Xcode 26.3, and opening the project with the older version did work once. But for some reason the same problem reappeared later, and using 26.3 no longer helps.
Replies
Boosts
Views
Activity
3w
Unable to enroll in Apple Developer Program – “Cannot Connect” error despite active internet
Hi, I’m trying to enroll in the Apple Developer Program using the Apple Developer app on my iPhone, but I’m facing a persistent issue. After clicking “Enroll,” the screen keeps loading for about 1–2 minutes and then shows the error: “Cannot Connect – You must be connected to a Wi-Fi or cellular data network.” However, my internet connection is working perfectly: I am able to browse websites and use apps normally I have tested both Wi-Fi and mobile data I am currently signed in with my Apple ID Two-factor authentication is enabled and working correctly What I have already tried: Switching between Wi-Fi and mobile data Restarting the device Signing out and signing back into Apple ID Ensuring no VPN or custom DNS is active Despite this, the issue persists. Is this a known issue with Apple Developer enrollment services, or is there something specific I need to check on my account or device? Any help would be greatly appreciated. Thank you.
Replies
1
Boosts
0
Views
37
Activity
3w
Family Controls Entitlement NOT applied to App Extensions (and Support Form is broken)
Hello, I am facing a critical issue where the Family Controls (Distribution) entitlement is not being applied to my app extensions, despite the main app ID being approved. Main App ID: com.hayashikento.focuspact (Approved on March 13) Extension ID 1: com.hayashikento.focuspact.ShieldActionExtension (Pending/Not visible) Extension ID 2: com.hayashikento.focuspact.ShieldConfigurationExtension (Pending/Not visible) I have submitted requests multiple times, but the entitlement does not appear in the Capability Requests for these extensions in the Certificates, Identifiers & Profiles portal. Furthermore, I am unable to contact Developer Support because the Contact Us form on the developer website consistently shows a Request error or freezes on the submission page. Since I am completely blocked from TestFlight distribution, could someone from Apple please look into my account (Team ID: UHG4J7F7NH) and manually sync these entitlements? Thank you for your help.
Replies
7
Boosts
0
Views
207
Activity
3w
Reply to Extended Runtime API - Health Monitoring
Hi Ziqiao, Sorry for the slow response, I've been trying to do some more testing before responding... I think I was getting confused in some instances between WKApplicationDelegateAdaptor and WKExtensionDelegateAdaptor. This is a modern single target app so yes I should be using the former. And thank you on the tech note, really useful for clarity on the confusing! I am now finding that with the @WKApplicationDelegateAdaptor route I can implement the func handle(_ backgroundTasks: Set) {} method and there do work and schedule the next update. With a widget/complication on the watch face I get update calls variably between every 15-90 minutes despite requesting an update every 15 minutes. This is running the latest WatchOS 26.3, I appreciate there are lots of constraints on this which are hard to debug, but despite that I would have expected slightly more updates to get closer to the 4 per hour target. Removing the complication from the watch face seems to take the update number to never, again I thou
Replies
Boosts
Views
Activity
3w
Xcode Cloud builds stuck on "Queued"
Xcode Cloud seems to be queueing up builds but not processing them. Currently the earliest queued build on my end is about 3 hours ago. System status pages don't show any issues. I just want to check if this is something other people are seeing or just something going weird on our account.
Replies
8
Boosts
0
Views
271
Activity
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
This is definitely unusual. You’ve already eliminated a bunch of the more common causes of issues like this. AFAICT your team received the Contactless Pass Provisioning (SharableCredential) capability for all App IDs. I’d like to exploit that fact to run a diagnostic test: Using the same Xcode, create a new project from the iOS > App template. When creating the project, enter a new test bundle ID and select your standard team (Team ID S7AUTD2C2B). In Signing & Capabilities, make sure automatic code signing is enabled for all configurations. And that the correct team is selected. At the top, make sure that you have a test device selected as the run destination. Then add the Contactless Pass Provisioning (SharableCredential) capability. Automatic code signing should kick in and create a new development provisioning profile. Wait for that to finish. Assuming that works, try running the app on a test device. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Techn
Replies
Boosts
Views
Activity
3w
Auto-renewable subscriptions stuck in "Developer Action Needed" - Cannot attach to binary
Hi everyone, I am trying to submit the first version of my app with auto-renewable subscriptions, but I am stuck in a loop. Both of my subscriptions (Yearly and Monthly) are stuck with the status Developer Action Needed. Because of this status, they do not appear in the list of available In-App Purchases when I try to attach them to my app binary on the App Store Connect submission page. Here is what I have already done/checked: All metadata is filled out (Display Name, Description, Pricing). Review Information is complete (Screenshot and Review Notes are provided). My Paid Applications agreement in the Agreements, Tax, and Banking section is Active. I contacted Apple Developer Support by phone, but they were unable to resolve the issue and suggested I post here for help. Has anyone experienced this limbo before? How can I trigger the status to change to Ready to Submit so I can finally attach them to my build and send the app for review? (I have attached screenshots of my App Store Connect dashboard showing
Replies
2
Boosts
0
Views
355
Activity
3w
Screen Time APIs showing severe inconsistencies (DeviceActivity not firing + impossible usage data)
Hi everyone, I’m the developer of one sec, an app used by a large number of users globally to reduce time spent on social media and to build healthier digital habits. Because of this, we rely heavily on Apple’s Screen Time / DeviceActivity / FamilyControls, ManagedSettings APIs – and unfortunately, we’re seeing increasingly severe issues in production that directly impact hundreds of thousands of real iOS users. During the past years, we have been busy filing dozens of feedback requests for different Screen Time issues – and there has been no response from Apple at all. Developer Relations might be able to confirm that the bugs are present and that they ended up with the right team – but they are never addressed, neither are workarounds provided. Instead, the situation gets worse and worse. iOS 26 introduced a series of heavy regressions (which have been reported via Apple’s official bug report tool Feedback Assistant on iOS 26 beta 1 in June 2025 – and have not been addressed 10 Months later). This is very f
Replies
2
Boosts
0
Views
645
Activity
3w
SpeechAnalyzer error "asset not found after attempted download" for certain languages
I am trying to use the new SpeechAnalyzer framework in my Mac app, and am running into an issue for some languages. When I call AssetInstallationRequest.downloadAndInstall() for some languages, it throws an error: Error Domain=SFSpeechErrorDomain Code=1 transcription.ar asset not found after attempted download. The .ar appears to be the language code, which in this case was Arabic. When I call AssetInventory.status(forModules:) before attempting the download, it is giving me a status of downloading (perhaps from an earlier attempt?). If this language was completely unsupported, I would expect it to return a status of unsupported, so I'm not sure what's going on here. For other languages (Polish, for example) SpeechTranscriber.supportedLocale(equivalentTo:) is returning nil, so that seems like a clearly unsupported language. But I can't tell if the languages I'm trying, like Arabic, are supported and something is going wrong, or if this error represents something I can work around. Here's the relevant
Replies
9
Boosts
0
Views
1.2k
Activity
3w
Reply to Xcode now hangs; SDKs are "status unavailable"
Ok, here is my step by step (what I think is) a solution guide... (worked for me) Fix: Xcode Hangs on macOS Tahoe 26.4 (SDKs Status Unavailable) The Problem macOS Tahoe 26.4 introduces a bug where a CoreSimulator subprocess (simdiskimaged) repeatedly exceeds its 20MB memory limit and gets killed by the system. This causes CoreSimulatorService to hang indefinitely, which in turn causes Xcode to freeze, SDKs to show status unavailable, and all simulators to become inaccessible. The root cause is a runaway loop that creates new SimRuntimeBundle files every 11 seconds in /Library/Developer/CoreSimulator/Cryptex/Images/mnt/, bloating the state that simdiskimaged must load on startup beyond its jetsam memory limit. The Fix Step 1 — Grant Terminal Full Disk Access The files that need to be deleted are protected by TCC (Transparency, Consent, and Control). Without this step, sudo rm will return Operation not permitted. Open System Settings → Privacy & Security → Full Disk Access Click the + button Add Te
Replies
Boosts
Views
Activity
3w
Reply to Xcode now hangs; SDKs are "status unavailable"
Here is a summary of my findings so far working with AI: The Bug: macOS Tahoe 26.4 triggers a loop in the CoreSimulator subsystem where a new SimRuntimeBundle is created in /Library/Developer/CoreSimulator/Cryptex/Images/mnt/ every 11 seconds. This accumulates thousands of files and bloats the images.plist manifest. Why Xcode Hangs: When Xcode launches, it starts CoreSimulatorService, which spawns a helper daemon called simdiskimaged via XPC. simdiskimaged is responsible for managing simulator disk images and runtimes. On startup, it tries to load and validate the entire contents of images.plist and the Cryptex directory. Because of the runaway loop, there are now 7,000+ files and a bloated manifest to parse. simdiskimaged exceeds its hardcoded 20MB jetsam memory limit and gets killed by the system (SIGKILL/-9). CoreSimulatorService sent a synchronous XPC message to simdiskimaged and is now waiting for a reply that will never come — it hangs forever on mach_msg2_trap. Everything downstream hangs: xcrun simctl
Replies
Boosts
Views
Activity
3w
NFCTagReaderSession for non-payment AID on payment card
Is it possible to read a custom, non-payment, ISO7816 AID on a multi-application smartcard that also has an active payment AID? I guess Apple Wallet may auto-detect the payment scheme and open, but this could be prevented if my app was already running in the foreground and scanning for the custom AID?
Replies
2
Boosts
0
Views
117
Activity
3w
Reply to Audio cues not working when app is in the background
Thanks for the post. I'm not an expert on audio and less when that involves watchOS. So other watchOS engineers are hopefully jumping into the thread soon. What I know is the behavior you are seeing is due to the strict differences in how watchOS handles background execution and audio compared to iOS. When your app goes into the background on watchOS, custom audio playback like AVAudioPlayer or AVAudioEngine playing a voice or beep is immediately suspended unless specific background modes and sessions are active. The reason the ping sound and haptics continue is likely because you are triggering them via WKInterfaceDevice.current().play(.notification) or similar system-level calls, which are handled by a separate system and can fire as long as your app has any background execution time. Since you want your app to play over music apps without stopping them, you must configure your AVAudioSession to mix with other audio. You should also consider using https://developer.apple.com/documentation/avfaudio/avaudiose
Replies
Boosts
Views
Activity
3w
Reply to CarPlay outputs no audio
Thanks for the post I believe iOS categorizes it as a secondary audio source, by design, secondary audio sources are not allowed to take over the system's Now Playing deck. The Now Playing screen (and the navigation button to reach it in CarPlay) is strictly reserved for the primary media app. .defaultToSpeaker and .allowBluetoothA2DP are strictly invalid for the .playback category as they are only for .playAndRecord. I believe, you need to use the .playback category without any options that downgrade your app to a secondary audio source or conflict with the category as CarPlay is very strict about when it shows the Now Playing button. CarPlay often refuses to show the Now Playing icon in the navigation bar until the app has actually pushed audio buffers through the active AVAudioSession. Remove .mixWithOthers and the invalid flags, ensure your playback state is set to .playing, and the CarPlay Now Playing deck should behave exactly as expected? https://developer.apple.com/documentation/AVFA
Replies
Boosts
Views
Activity
3w