Search results for

“Xcode”

93,874 results found

Post

Replies

Boosts

Views

Activity

Reply to Invalid Entitlement: Unknown ID
Thanks for that, always hard to read XML as Xcode presents that pretty good. It looks completely clean and the com.apple.developer.associated-domains only contain keys that are allowed https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.developer.associated-domains Will be good to go over that: https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.developer.associated-appclip-app-identifiers So the string should start with applinks: and the section for app domains should only contain the app clips: https://developer.apple.com/documentation/xcode/supporting-associated-domains. I'm going to post a way for us to connect and go over your project to review the project. Probably we will need to go over Xcode. I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by me at Apple and make sure to include a link to this thread. Albert Pas
Topic: App & System Services SubTopic: General Tags:
1w
Reply to OSSystemExtensionsWorkspace on iPadOS
For future reference, I'd recommend replying by posting as a fully reply instead of using the comments feature, as full replies are harder to mess in our tooling than comments. Thanks for the update, the bug is already created: FB16923149 Perfect! Please try adding the entitlement again, as this should now be fixed in both the portal and Xcode. Note that you may need to quit and relaunch Xcode for it to pick up the new entitlement option. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Drivers Tags:
1w
26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
We're trying to create 26.4 beta and RC VMs on 15.x and 26.3 host OS' without success. We see Tue Mar 17 17:27:36 40 anka.log (install) 45803: failed to install macOS: Error Domain=VZErrorDomain Code=10006 Installation requires a software update. UserInfo={NSLocalizedFailure=A software update is required to complete the installation., NSLocalizedFailureReason=Installation requires a software update.} Yet, if we create it the same way on 26.4 beta host OS, it works. We've tried the usual tricks of installing latest Xcode and preparing it (accepting license, etc). But, they don't work on 26.3 and 15.x. What's the trick to get the creation of 26.4 to work on <= 26.3 host OS?
17
0
610
1w
Background upload issue in WatchOS
We are developing a watchOS application that records long audio sessions and uploads them to our backend in chunks (~5 MB each) using pre-signed URLs and URLSession background upload. Current behavior: While audio recording is active, uploads continue successfully even when the app is in the background. Once the recording stops, if multiple chunks (e.g., 10+) are still pending, the remaining uploads do not proceed in the background and appear to be suspended. We attempted to use WKExtendedRuntimeSession (mindfulness type) to allow sufficient time to enqueue background upload tasks, but the session is invalidated when the app goes to the background (e.g., wrist down or app inactive), which prevents reliable scheduling of uploads. Additionally, we added the entitlement: com.apple.developer.extended-runtime-session (mindfulness) in the Watch app entitlements file, but Xcode automatic signing fails with: “Provisioning profile does not include the com.apple.developer.extended-runtime-session entitlement.”
2
0
141
1w
Reply to Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Albert Pascual -- I am unable to send a code-level support request because I no longer have a paid developer account. Without going into grim detail, since I could no longer type very well after the accident, I had to leave my career as a developer. It sucked. I had been doing backend development back when there was a Mac OS X Server and an ADC membership was $500 a year. But being disabled as I am gave me a lot more appreciation for accessibility in macOS. Having these things working is important to my quality of life. Last night I installed 26.4 RC and there are multiple new issues. At this point I'm going to have to reset to 26.0 because too much of what I rely on either doesn't work or has become too irritating. A few examples: the orange dot in the upper right corner somehow became more distracting as it is now an orange square with a black border. Still just as useless but now extra annoying. Now when I say Hey Siri and my computer is locked, Siri responds with You will need to unlock
1w
ScreenCaptureKit permissions lost after every build — solved by switching signing identity
Sharing a solution for a problem that took me a while to figure out. Problem: During development of a macOS 26 app that uses ScreenCaptureKit, the screen capture permissions were being reset after every build. Each time I compiled and ran the app from Xcode, I had to re-authorize screen capture in System Settings. CGPreflightScreenCaptureAccess() would return false even though I'd just granted permission minutes ago. Root cause: I was using ad-hoc code signing during development. macOS ties screen capture permissions to the app's code signing identity. With ad-hoc signing, the identity changes on every build, so the system treats each build as a new app. Solution: Switch to an Apple Development certificate for debug builds. In Xcode: Build Settings → Code Signing Identity → Debug → set to Apple Development Make sure your development team is selected After this change, the signing identity remains stable across builds, and screen capture permissions persist. This might be related to the broad
1
0
459
1w
Third-party credential manager not appearing in Apple Passwords "Export Data to Another App" list — iOS 26
Hi, I'm building a third-party credential manager app and trying to get it listed as an eligible destination in Apple Passwords → Export Data to Another App on iOS 26 / macOS 26. The app never appears in the list, even on a physical device. What I've implemented so far: The main app and the Credential Provider Extension both have the com.apple.developer.authentication-services.autofill-credential-provider entitlement set. The extension's Info.plist has ASCredentialProviderExtensionCapabilities nested correctly under NSExtension → NSExtensionAttributes, with ProvidesPasskeys and ProvidesPasswords both set to true. Both targets share the same App Group. The extension is visible and selectable under Settings → General → AutoFill & Passwords — so the extension itself is working. I've also added ASCredentialImportManager and ASCredentialExportManager support to the app based on the AuthenticationServices SDK interfaces in Xcode 26. The specific question: What is the actual eligibility criteria for app
Topic: UI Frameworks SubTopic: General
2
0
175
2w
Reply to Apple watch Xcode pairing & connection issues
Definitely a hell of an experience in the worse way. Apple Watch Series 4 iPhone 11 Mac Neo I had 0 issues developing/deploying to Pixel WearOS, but obstacles after obstacles, developing for and deploying to Apple WatchOS. After several days of working around each obstacle with the help of Gemini, I'm adding the summary of what I had to do so far to get to initial deployment in case this helps Apple/others with fix/workarounds: Here is the complete technical post-mortem for the development environment setup. This summarizes the specific hurdles cleared to get a Watch Series 4 (watchOS 10.6.2) communicating with your Mac via a No-SIM iPhone bridge. 🛠️ Environment Recovery Summary The Networking Layer The primary blocker was extreme network instability on the default 10.0.0.x gateway. The Symptom: ping tests showed 62% packet loss and 1,000ms+ latency. The Fix: Migrated all devices to a clean 192.168.86.x subnet. The Result: Achieved 0% packet loss and ~13ms latency, providing the stable pipe required for the
2w
Reply to Inquiry regarding Local Push Connectivity Entitlement
Dear Quinn, In February 2021, when an Entitlement was added to Team ID WEJZZZZZZZ, I received the following email from Apple and learned how to add the Entitlement to a provisioning profile: Hi, Does Apple add entitlement to my team ? (== App ID: WEJZZZZZZZ) Yes, the entitlement was actually added to your “team”. That gives you the ability to add the entitlement to any app that’s managed by your “team”. Here is the configuration information you can use to check the current status and/or configure your own project: -To use the entitlement, you need to codesign your app with a provisioning profile that includes it. In the Apple developer portal website, you’ll need >to do the following: In the “Provisioning Profiles” section, click the “+” and to create a new profile In the “What type of provisioning profile do you need?” section, select “iOS App Development” Walk through the creation process and directly after the “Select devices.” section, you should see a new section titled “Do you need additional ent>
Topic: App & System Services SubTopic: General Tags:
2w
Reply to Xcode 16 warning about missing symbols of static framework
I am seeing a similar issue, but only for my Mac Catalyst archive on XCode 26. My app is a SwiftUI application that embeds an Objective-C framework built from a separate Xcode project. The framework binary itself does have UUIDs, but when I inspect the .xcarchive, the corresponding framework dSYM is missing from the archive’s dSYMs folder. What is confusing is that this does not happen for the iOS build. I use the same framework target, and when I archive the iOS app and upload to TestFlight, I do not get the warning. The problem only appears when I archive the Mac Catalyst version. So in summary: • The embedded framework binary is present in the archive • The framework executable has valid UUIDs • The app archive’s dSYMs folder does not contain the matching dSYM for that embedded framework • This only happens for Mac Catalyst • The same setup works correctly for iOS Has anyone seen Catalyst archives skip generating or packaging dSYMs for embedded frameworks, even though the binary itself co
2w
Reply to Quick questions for xcode cloud build
Do these IP's ever change? Rarely, but it does happen. The list you see was recently updated, and these changes are announced through the Xcode Cloud Release Notes, so you can see when the recent update happened. Are there specific ports Apple uses? Would be nice to limit to only what's needed. None are documented, so you shouldn't make any assumptions about port selection. Do we have to open in-bound access or can we instead have our builds reach out with an outbound only setup? Xcode Cloud requires inbound access, that is noted in the document you linked to very briefly. — Ed Ford,  DTS Engineer
2w
Reply to Unable to sign in to Sandbox Apple Account on Simulator
By contrast, I can sign in to the Sandbox Apple Account without issue on a physical device. The problem occurs only via Simulator. That is the expected behavior. To test in the sandbox environment, you need a physical device. For more information, see Testing In-App Purchases with sandbox. StoreKit Testing in Xcode is a local test environment for testing in-app purchases without requiring a connection to App Store servers. You can use it to test In-App Purchases in the Simulator without a Sandbox account.
Topic: App & System Services SubTopic: StoreKit Tags:
2w
Quick questions for xcode cloud build
We're investigating using xcode cloud to do our CI builds. We have our own on-prem self-managed GitLab behind a private firewall. Some questions on this: I see some IP's for Apple here: https://developer.apple.com/documentation/xcode/setting-up-your-project-to-use-xcode-cloud#Use-a-remote-source-control-repository Do these IP's ever change? Are there specific ports Apple uses? Would be nice to limit to only what's needed. Do we have to open in-bound access or can we instead have our builds reach out with an outbound only setup?
1
0
62
2w
Reply to Invalid Entitlement: Unknown ID
Thanks for that, always hard to read XML as Xcode presents that pretty good. It looks completely clean and the com.apple.developer.associated-domains only contain keys that are allowed https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.developer.associated-domains Will be good to go over that: https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.developer.associated-appclip-app-identifiers So the string should start with applinks: and the section for app domains should only contain the app clips: https://developer.apple.com/documentation/xcode/supporting-associated-domains. I'm going to post a way for us to connect and go over your project to review the project. Probably we will need to go over Xcode. I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by me at Apple and make sure to include a link to this thread. Albert Pas
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Provisioning profile missing entitlement: com.apple.developer.icloud
I was offline for a couple of days. I stepped through the above steps. Step one was working OK. Step 3 was working OK. I have no idea what is going wrong. I think I will revoke my developer certificate an try to start with a fresh one. Xcode must store some information outside of of the source code with is GIT controlled.
Replies
Boosts
Views
Activity
1w
Reply to OSSystemExtensionsWorkspace on iPadOS
For future reference, I'd recommend replying by posting as a fully reply instead of using the comments feature, as full replies are harder to mess in our tooling than comments. Thanks for the update, the bug is already created: FB16923149 Perfect! Please try adding the entitlement again, as this should now be fixed in both the portal and Xcode. Note that you may need to quit and relaunch Xcode for it to pick up the new entitlement option. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1w
26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
We're trying to create 26.4 beta and RC VMs on 15.x and 26.3 host OS' without success. We see Tue Mar 17 17:27:36 40 anka.log (install) 45803: failed to install macOS: Error Domain=VZErrorDomain Code=10006 Installation requires a software update. UserInfo={NSLocalizedFailure=A software update is required to complete the installation., NSLocalizedFailureReason=Installation requires a software update.} Yet, if we create it the same way on 26.4 beta host OS, it works. We've tried the usual tricks of installing latest Xcode and preparing it (accepting license, etc). But, they don't work on 26.3 and 15.x. What's the trick to get the creation of 26.4 to work on <= 26.3 host OS?
Replies
17
Boosts
0
Views
610
Activity
1w
Background upload issue in WatchOS
We are developing a watchOS application that records long audio sessions and uploads them to our backend in chunks (~5 MB each) using pre-signed URLs and URLSession background upload. Current behavior: While audio recording is active, uploads continue successfully even when the app is in the background. Once the recording stops, if multiple chunks (e.g., 10+) are still pending, the remaining uploads do not proceed in the background and appear to be suspended. We attempted to use WKExtendedRuntimeSession (mindfulness type) to allow sufficient time to enqueue background upload tasks, but the session is invalidated when the app goes to the background (e.g., wrist down or app inactive), which prevents reliable scheduling of uploads. Additionally, we added the entitlement: com.apple.developer.extended-runtime-session (mindfulness) in the Watch app entitlements file, but Xcode automatic signing fails with: “Provisioning profile does not include the com.apple.developer.extended-runtime-session entitlement.”
Replies
2
Boosts
0
Views
141
Activity
1w
Reply to Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Albert Pascual -- I am unable to send a code-level support request because I no longer have a paid developer account. Without going into grim detail, since I could no longer type very well after the accident, I had to leave my career as a developer. It sucked. I had been doing backend development back when there was a Mac OS X Server and an ADC membership was $500 a year. But being disabled as I am gave me a lot more appreciation for accessibility in macOS. Having these things working is important to my quality of life. Last night I installed 26.4 RC and there are multiple new issues. At this point I'm going to have to reset to 26.0 because too much of what I rely on either doesn't work or has become too irritating. A few examples: the orange dot in the upper right corner somehow became more distracting as it is now an orange square with a black border. Still just as useless but now extra annoying. Now when I say Hey Siri and my computer is locked, Siri responds with You will need to unlock
Replies
Boosts
Views
Activity
1w
ScreenCaptureKit permissions lost after every build — solved by switching signing identity
Sharing a solution for a problem that took me a while to figure out. Problem: During development of a macOS 26 app that uses ScreenCaptureKit, the screen capture permissions were being reset after every build. Each time I compiled and ran the app from Xcode, I had to re-authorize screen capture in System Settings. CGPreflightScreenCaptureAccess() would return false even though I'd just granted permission minutes ago. Root cause: I was using ad-hoc code signing during development. macOS ties screen capture permissions to the app's code signing identity. With ad-hoc signing, the identity changes on every build, so the system treats each build as a new app. Solution: Switch to an Apple Development certificate for debug builds. In Xcode: Build Settings → Code Signing Identity → Debug → set to Apple Development Make sure your development team is selected After this change, the signing identity remains stable across builds, and screen capture permissions persist. This might be related to the broad
Replies
1
Boosts
0
Views
459
Activity
1w
Third-party credential manager not appearing in Apple Passwords "Export Data to Another App" list — iOS 26
Hi, I'm building a third-party credential manager app and trying to get it listed as an eligible destination in Apple Passwords → Export Data to Another App on iOS 26 / macOS 26. The app never appears in the list, even on a physical device. What I've implemented so far: The main app and the Credential Provider Extension both have the com.apple.developer.authentication-services.autofill-credential-provider entitlement set. The extension's Info.plist has ASCredentialProviderExtensionCapabilities nested correctly under NSExtension → NSExtensionAttributes, with ProvidesPasskeys and ProvidesPasswords both set to true. Both targets share the same App Group. The extension is visible and selectable under Settings → General → AutoFill & Passwords — so the extension itself is working. I've also added ASCredentialImportManager and ASCredentialExportManager support to the app based on the AuthenticationServices SDK interfaces in Xcode 26. The specific question: What is the actual eligibility criteria for app
Topic: UI Frameworks SubTopic: General
Replies
2
Boosts
0
Views
175
Activity
2w
Reply to Apple watch Xcode pairing & connection issues
Definitely a hell of an experience in the worse way. Apple Watch Series 4 iPhone 11 Mac Neo I had 0 issues developing/deploying to Pixel WearOS, but obstacles after obstacles, developing for and deploying to Apple WatchOS. After several days of working around each obstacle with the help of Gemini, I'm adding the summary of what I had to do so far to get to initial deployment in case this helps Apple/others with fix/workarounds: Here is the complete technical post-mortem for the development environment setup. This summarizes the specific hurdles cleared to get a Watch Series 4 (watchOS 10.6.2) communicating with your Mac via a No-SIM iPhone bridge. 🛠️ Environment Recovery Summary The Networking Layer The primary blocker was extreme network instability on the default 10.0.0.x gateway. The Symptom: ping tests showed 62% packet loss and 1,000ms+ latency. The Fix: Migrated all devices to a clean 192.168.86.x subnet. The Result: Achieved 0% packet loss and ~13ms latency, providing the stable pipe required for the
Replies
Boosts
Views
Activity
2w
Reply to Inquiry regarding Local Push Connectivity Entitlement
Dear Quinn, In February 2021, when an Entitlement was added to Team ID WEJZZZZZZZ, I received the following email from Apple and learned how to add the Entitlement to a provisioning profile: Hi, Does Apple add entitlement to my team ? (== App ID: WEJZZZZZZZ) Yes, the entitlement was actually added to your “team”. That gives you the ability to add the entitlement to any app that’s managed by your “team”. Here is the configuration information you can use to check the current status and/or configure your own project: -To use the entitlement, you need to codesign your app with a provisioning profile that includes it. In the Apple developer portal website, you’ll need >to do the following: In the “Provisioning Profiles” section, click the “+” and to create a new profile In the “What type of provisioning profile do you need?” section, select “iOS App Development” Walk through the creation process and directly after the “Select devices.” section, you should see a new section titled “Do you need additional ent>
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Xcode 16 warning about missing symbols of static framework
I am seeing a similar issue, but only for my Mac Catalyst archive on XCode 26. My app is a SwiftUI application that embeds an Objective-C framework built from a separate Xcode project. The framework binary itself does have UUIDs, but when I inspect the .xcarchive, the corresponding framework dSYM is missing from the archive’s dSYMs folder. What is confusing is that this does not happen for the iOS build. I use the same framework target, and when I archive the iOS app and upload to TestFlight, I do not get the warning. The problem only appears when I archive the Mac Catalyst version. So in summary: • The embedded framework binary is present in the archive • The framework executable has valid UUIDs • The app archive’s dSYMs folder does not contain the matching dSYM for that embedded framework • This only happens for Mac Catalyst • The same setup works correctly for iOS Has anyone seen Catalyst archives skip generating or packaging dSYMs for embedded frameworks, even though the binary itself co
Replies
Boosts
Views
Activity
2w
Reply to Xcode Cloud builds showing persistent connection refused errors
Filed here: FB22276321 (Xcode Cloud build encountering persistent Connection Refused error)
Replies
Boosts
Views
Activity
2w
Reply to Quick questions for xcode cloud build
Do these IP's ever change? Rarely, but it does happen. The list you see was recently updated, and these changes are announced through the Xcode Cloud Release Notes, so you can see when the recent update happened. Are there specific ports Apple uses? Would be nice to limit to only what's needed. None are documented, so you shouldn't make any assumptions about port selection. Do we have to open in-bound access or can we instead have our builds reach out with an outbound only setup? Xcode Cloud requires inbound access, that is noted in the document you linked to very briefly. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
2w
Reply to Unable to sign in to Sandbox Apple Account on Simulator
By contrast, I can sign in to the Sandbox Apple Account without issue on a physical device. The problem occurs only via Simulator. That is the expected behavior. To test in the sandbox environment, you need a physical device. For more information, see Testing In-App Purchases with sandbox. StoreKit Testing in Xcode is a local test environment for testing in-app purchases without requiring a connection to App Store servers. You can use it to test In-App Purchases in the Simulator without a Sandbox account.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
2w
Quick questions for xcode cloud build
We're investigating using xcode cloud to do our CI builds. We have our own on-prem self-managed GitLab behind a private firewall. Some questions on this: I see some IP's for Apple here: https://developer.apple.com/documentation/xcode/setting-up-your-project-to-use-xcode-cloud#Use-a-remote-source-control-repository Do these IP's ever change? Are there specific ports Apple uses? Would be nice to limit to only what's needed. Do we have to open in-bound access or can we instead have our builds reach out with an outbound only setup?
Replies
1
Boosts
0
Views
62
Activity
2w