Search results for

“Xcode”

93,879 results found

Post

Replies

Boosts

Views

Activity

Reply to App Clips not working
Okay. Good news. I got App Store to recognize 4 valid domains - not invalid, not empty but greenlit ✅. It turns out the team id that displays within Xcode doesn't match the team id in the portal for my paid account, and even continues displays the wrong team id for a provisioning profile made from the correct team id, which may be a bug. 🐛
Topic: App & System Services SubTopic: General Tags:
1w
Official visionOS sample "Creating an interactive 3D model in visionOS" fails to restore/show the car model when relaunched from Home
Environment: Device: Apple Vision Pro visionOS: 26.3.1 Xcode: 26.2 (17C52) Sample: Creating an interactive 3D model in visionOS Repro steps: Build and run the official sample from Xcode Confirm the car model displays correctly Quit the app Relaunch the app from Home Observe that the official car model no longer appears / fails to restore correctly Expected: The official car model should display normally after relaunching from Home Actual: The sample works when launched from Xcode, but fails when relaunched from Home
1
0
26
1w
Content Filter Permission Prompt Not Appearing in TestFlight
I added a Content Filter to my app, and when running it in Xcode (Debug/Release), I get the expected permission prompt: Would like to filter network content (Allow / Don't Allow). However, when I install the app via TestFlight, this prompt doesn’t appear at all, and the feature doesn’t work. Is there a special configuration required for TestFlight? Has anyone encountered this issue before? Thanks!
23
0
1.1k
1w
Reply to Clipboard issues with simulators
Hi. I am facing this issue as well. Tried this out and I am getting this as a response: xcrun simctl spawn booted launchctl kickstart -k system/com.apple.pboard Could not find service com.apple.pboard in domain for system Upon further investigation, if you copy something within the simulator and try to paste it, it works within the context of the simulator. However, when u try to paste text you copied from the mac it doesn't get carried forward to the simulator and instead pastes what you copied earlier on the simulator. I have tried the 'Automatically Sync Pasteboard' option under Edit in simulator as well but to no avail. If i run the terminal commands as well to paste from the simulator's uuid like the following: xcrun simctl pbpaste 99D03E66-6DA6-40AC-8E9F-98874D8F6464 xcrun simctl pbcopy 99D03E66-6DA6-40AC-8E9F-98874D8F6464 simulator copy It would only paste what I wrote within the simulator. This happens on iOS 26.4 simulators after updating to xCode 26.4
1w
Reply to RealityView content disappears when selecting Lock In Place on visionOS
Hi Michael, Thank you for looking into this. To clarify, this issue is not reproducible when running locally (Debug or Release). It only occurs in TestFlight distribution builds. In our production app as well as the minimal sample project, the behavior is consistent — the bug only appears when installed via TestFlight, not when run directly from Xcode. Regarding the video - at 0:31 you can see the cube briefly disappears after Lock In Place. That is the moment we are referring to. Could you please try the following: Archive the sample project Upload to TestFlight Install via TestFlight on the device Reproduce the Lock In Place steps I am confident it will be reproducible in that configuration. I am happy to provide another screen recording specifically showing this if that would help. Please let me know if you need anything else. Thanks, Kunal
Topic: Spatial Computing SubTopic: General Tags:
1w
Custom Reports GET API returning 403 Forbidden since March 16, 2026 — POST still works
Hi Apple Developer Community, Since March 16, 2026, our integration with the Apple Ads Campaign Management API (v5) is returning 403 Forbidden on all GET requests to the custom-reports endpoint, while POST requests to create reports continue to work without any issues. Environment API Version: v5 Base URL: https://api.searchads.apple.com/api/v5/ Authentication: OAuth 2.0 (Bearer token — token generation works fine) API User Role: API Account Manager What's broken GET /api/v5/custom-reports/63638557 → 403 Forbidden The response is raw HTML from Apple's gateway, not a JSON API error: 403 Forbidden 403 Forbidden Apple This indicates the request is being blocked at the reverse proxy / infrastructure level and never reaches the API application layer. A proper API-level authorization error would return JSON with messageCode and message fields. What still works POST creates report successfully POST /api/v5/custom-reports → 200 OK Response: { data: { id: 63638557, name: Impression_Share_Report_2026-03-22_daily, s
1
0
82
1w
Rejected a couple of time for 5.1.1/5.1.2 - AI consent screen not seen by reviewers despite being first screen on launch
I've been rejected a couple of times for Guidelines 5.1.1(i) and 5.1.2(i) regarding third-party AI data sharing consent. Each time, the reviewer states they cannot see the consent prompt, even though it is the first screen displayed on every app launch. My app (GymFusion) uses Anthropic's Claude AI for features like meal scanning, body composition analysis, and workout coaching. Here is exactly what I've implemented: IN-APP CONSENT (embedded in view hierarchy, not a sheet/popup): In my RootView.swift, the consent is a conditional view that blocks the entire app: } else if !consentManager.hasConsented && !consentManager.hasSeenConsent { AIConsentView() } else if auth.isAuthenticated { MainTabView() } The hasSeenConsent flag is reset to false on every app launch in the App's init(), so the consent screen appears on every launch until the user accepts: init() { UserDefaults.standard.set(false, forKey: user_ai_consent_seen) AIConsentManager.shared.hasSeenConsent = false FirebaseApp.configure() } THE CONSE
4
0
184
1w
Reply to Xcode 26.3 not rendering Unicode/Emoji in Simulator or Canvas
Thank you to Albert for his post above. With regard to the post, for me following the instructions to reinstall the iOS 26.3 and simulator did not work as it reinstalled the same simulator with the same issue. However I am pleased to report that I tested the Xcode 26.4 RC with the accompanying simulator and it does resolve this issue. I see that a final iOS 26.4 has been released, so the matching final Xcode is due very shortly to put this behind us. Cheers.
1w
Reply to App Clips not working
Thanks for the post, in this page you'll find a sample for AppClips as well as the first note will provide you the 101 of App Clips. I always recommend developers to go over all those videos and documentation liked on that note. Then download the app, look at every single configuration from that app including the Clip target! https://developer.apple.com/documentation/appclip/fruta-building-a-feature-rich-app-with-swiftui In my opinion and without going deep in your solution, the reason your AASA endpoint is never getting called when you scan the QR code is due to a common misconception about how iOS handles App Clips and Universal Links, the iOS device does not fetch the AASA file at the moment you scan a QR code. Downloads the file at app installation time and there is also a delay. When you scan a QR code, iOS checks its local cache and Apple's CDN records to see if that URL is registered to an App Clip. If Apple's CDN hasn't validated your AASA file, or if the TestFlight configuration is incomplete, iOS fa
Topic: App & System Services SubTopic: General Tags:
1w
Reply to Orphaned 9GB Simulator Runtime in /System/Library/AssetsV2 - Cannot Delete (SIP protected)
After additional testing, this appears to be an orphaned MobileAsset cleanup issue rather than a normal simulator uninstall problem. The runtime payload remains on disk under /System/Library/AssetsV2, but in some cases Xcode no longer exposes it in Components/Platforms and simctl does not have a usable reference to remove it cleanly. In other words, the asset still occupies space, but the supported management tools have effectively lost authoritative control over it. At that point the problem becomes structural: the remaining files are in a SIP-protected system location. So even if the exact asset folder can be identified, it cannot be manually removed through normal user-space means while SIP is enabled. That leaves no supported path to reclaim the space once the asset has fallen out of Xcode/simctl management. Technically, the remaining workaround is to disable SIP and remove the orphaned asset manually, but that is not a reasonable solution for routine simulator runtime cleanup. SIP exist
1w
iOS 26: Toolbar button background flashes black during NavigationStack transitions (dark mode)
I’m seeing a visual glitch with toolbar buttons when building with Xcode 26 for iOS 26. During transitions (both pushing in a NavigationStack and presenting a .sheet with its own NavigationStack), the toolbar button briefly flashes the wrong background colour (black in dark mode, white in light mode) before animating to the correct Liquid Glass appearance. This happens even in a minimal example and only seems to affect system toolbar buttons. A custom view with .glassEffect() doesn’t have the issue. I’ve tried: .tint(...), UINavigationBarAppearance/UIToolbarAppearance, and setting backgrounds on hosting/nav/window but none of those made any difference. Here’s a minimal reproducible example: import SwiftUI struct ContentView: View { @State private var showingSheet = false var body: some View { NavigationStack { List { NavigationLink(Push (same stack — morphs)) { DetailView() } Button(Sheet (separate stack — flashes)) { showingSheet = true } } .navigationTitle(Root) .scrollContentBackground(.hidden) .b
1
0
312
1w
Reply to How to manually/offline install Claude Agent for Xcode?
@shenbj Thanks for this great post! I think the Claude Agent for Xcode requires an active internet connection to communicate with Anthropic's servers and is not designed for native offline operations at this time. However I think you should file an enhancement request for this. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why? Resources: https://developer.apple.com/documentation/Xcode/setting-up-coding-intelligence Albert Pascual
  Worldwide Developer Relations.
1w
How to manually/offline install Claude Agent for Xcode?
Hi everyone, I'm working in a strictly offline (intranet) environment and cannot use the standard online installation process to download and install the Claude Agent for Xcode. What I've tried: I manually copied the Agent binary/folder from an online machine to the following path: ~/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude The Issue: Even though the files are in the correct directory, Xcode fails to recognize the agent. It doesn't appear in the settings, and the Coding Assistant remains unavailable. Questions: Is there a specific metadata file (e.g., a .plist or .json index) that needs to be updated for Xcode to see the manually added agent? Are there any code signing or quarantine issues (like xattr) that need to be addressed when moving the agent between machines? Does anyone know if there are other dependencies or cache folders (besides ~/Library/Developer/Xcode/CodingAssistant/) that need to be synchronized? Environment: macOS: 26.3
1
0
56
1w
Reply to App Clips not working
Okay. Good news. I got App Store to recognize 4 valid domains - not invalid, not empty but greenlit ✅. It turns out the team id that displays within Xcode doesn't match the team id in the portal for my paid account, and even continues displays the wrong team id for a provisioning profile made from the correct team id, which may be a bug. 🐛
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Official visionOS sample "Creating an interactive 3D model in visionOS" fails to restore/show the car model when relaunched from Home
Environment: Device: Apple Vision Pro visionOS: 26.3.1 Xcode: 26.2 (17C52) Sample: Creating an interactive 3D model in visionOS Repro steps: Build and run the official sample from Xcode Confirm the car model displays correctly Quit the app Relaunch the app from Home Observe that the official car model no longer appears / fails to restore correctly Expected: The official car model should display normally after relaunching from Home Actual: The sample works when launched from Xcode, but fails when relaunched from Home
Replies
1
Boosts
0
Views
26
Activity
1w
Content Filter Permission Prompt Not Appearing in TestFlight
I added a Content Filter to my app, and when running it in Xcode (Debug/Release), I get the expected permission prompt: Would like to filter network content (Allow / Don't Allow). However, when I install the app via TestFlight, this prompt doesn’t appear at all, and the feature doesn’t work. Is there a special configuration required for TestFlight? Has anyone encountered this issue before? Thanks!
Replies
23
Boosts
0
Views
1.1k
Activity
1w
Reply to Clipboard issues with simulators
Hi. I am facing this issue as well. Tried this out and I am getting this as a response: xcrun simctl spawn booted launchctl kickstart -k system/com.apple.pboard Could not find service com.apple.pboard in domain for system Upon further investigation, if you copy something within the simulator and try to paste it, it works within the context of the simulator. However, when u try to paste text you copied from the mac it doesn't get carried forward to the simulator and instead pastes what you copied earlier on the simulator. I have tried the 'Automatically Sync Pasteboard' option under Edit in simulator as well but to no avail. If i run the terminal commands as well to paste from the simulator's uuid like the following: xcrun simctl pbpaste 99D03E66-6DA6-40AC-8E9F-98874D8F6464 xcrun simctl pbcopy 99D03E66-6DA6-40AC-8E9F-98874D8F6464 simulator copy It would only paste what I wrote within the simulator. This happens on iOS 26.4 simulators after updating to xCode 26.4
Replies
Boosts
Views
Activity
1w
Reply to RealityView content disappears when selecting Lock In Place on visionOS
Hi Michael, Thank you for looking into this. To clarify, this issue is not reproducible when running locally (Debug or Release). It only occurs in TestFlight distribution builds. In our production app as well as the minimal sample project, the behavior is consistent — the bug only appears when installed via TestFlight, not when run directly from Xcode. Regarding the video - at 0:31 you can see the cube briefly disappears after Lock In Place. That is the moment we are referring to. Could you please try the following: Archive the sample project Upload to TestFlight Install via TestFlight on the device Reproduce the Lock In Place steps I am confident it will be reproducible in that configuration. I am happy to provide another screen recording specifically showing this if that would help. Please let me know if you need anything else. Thanks, Kunal
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26.3 not rendering Unicode/Emoji in Simulator or Canvas
Xcode 26.4 final is available and has resolved this issue. The iOS 26.4 simulator does correctly display emoji/unicode. Install Xcode 26.4 from the Mac App Store or similar to resolve this issue.
Replies
Boosts
Views
Activity
1w
Custom Reports GET API returning 403 Forbidden since March 16, 2026 — POST still works
Hi Apple Developer Community, Since March 16, 2026, our integration with the Apple Ads Campaign Management API (v5) is returning 403 Forbidden on all GET requests to the custom-reports endpoint, while POST requests to create reports continue to work without any issues. Environment API Version: v5 Base URL: https://api.searchads.apple.com/api/v5/ Authentication: OAuth 2.0 (Bearer token — token generation works fine) API User Role: API Account Manager What's broken GET /api/v5/custom-reports/63638557 → 403 Forbidden The response is raw HTML from Apple's gateway, not a JSON API error: 403 Forbidden 403 Forbidden Apple This indicates the request is being blocked at the reverse proxy / infrastructure level and never reaches the API application layer. A proper API-level authorization error would return JSON with messageCode and message fields. What still works POST creates report successfully POST /api/v5/custom-reports → 200 OK Response: { data: { id: 63638557, name: Impression_Share_Report_2026-03-22_daily, s
Replies
1
Boosts
0
Views
82
Activity
1w
Rejected a couple of time for 5.1.1/5.1.2 - AI consent screen not seen by reviewers despite being first screen on launch
I've been rejected a couple of times for Guidelines 5.1.1(i) and 5.1.2(i) regarding third-party AI data sharing consent. Each time, the reviewer states they cannot see the consent prompt, even though it is the first screen displayed on every app launch. My app (GymFusion) uses Anthropic's Claude AI for features like meal scanning, body composition analysis, and workout coaching. Here is exactly what I've implemented: IN-APP CONSENT (embedded in view hierarchy, not a sheet/popup): In my RootView.swift, the consent is a conditional view that blocks the entire app: } else if !consentManager.hasConsented && !consentManager.hasSeenConsent { AIConsentView() } else if auth.isAuthenticated { MainTabView() } The hasSeenConsent flag is reset to false on every app launch in the App's init(), so the consent screen appears on every launch until the user accepts: init() { UserDefaults.standard.set(false, forKey: user_ai_consent_seen) AIConsentManager.shared.hasSeenConsent = false FirebaseApp.configure() } THE CONSE
Replies
4
Boosts
0
Views
184
Activity
1w
Reply to Xcode 26.3 not rendering Unicode/Emoji in Simulator or Canvas
Thank you to Albert for his post above. With regard to the post, for me following the instructions to reinstall the iOS 26.3 and simulator did not work as it reinstalled the same simulator with the same issue. However I am pleased to report that I tested the Xcode 26.4 RC with the accompanying simulator and it does resolve this issue. I see that a final iOS 26.4 has been released, so the matching final Xcode is due very shortly to put this behind us. Cheers.
Replies
Boosts
Views
Activity
1w
Reply to Fatal error on rollback after delete
Thanks for filing the feedback report (FB22325366). Yeah, that does look like an issue on the framework side. I can reproduce the crash without the need of adding a second relationship with Xcode 26.4 (17E192) + iOS 26.4 (23E244) Simulator. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1w
Reply to App Clips not working
Thanks for the post, in this page you'll find a sample for AppClips as well as the first note will provide you the 101 of App Clips. I always recommend developers to go over all those videos and documentation liked on that note. Then download the app, look at every single configuration from that app including the Clip target! https://developer.apple.com/documentation/appclip/fruta-building-a-feature-rich-app-with-swiftui In my opinion and without going deep in your solution, the reason your AASA endpoint is never getting called when you scan the QR code is due to a common misconception about how iOS handles App Clips and Universal Links, the iOS device does not fetch the AASA file at the moment you scan a QR code. Downloads the file at app installation time and there is also a delay. When you scan a QR code, iOS checks its local cache and Apple's CDN records to see if that URL is registered to an App Clip. If Apple's CDN hasn't validated your AASA file, or if the TestFlight configuration is incomplete, iOS fa
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Orphaned 9GB Simulator Runtime in /System/Library/AssetsV2 - Cannot Delete (SIP protected)
After additional testing, this appears to be an orphaned MobileAsset cleanup issue rather than a normal simulator uninstall problem. The runtime payload remains on disk under /System/Library/AssetsV2, but in some cases Xcode no longer exposes it in Components/Platforms and simctl does not have a usable reference to remove it cleanly. In other words, the asset still occupies space, but the supported management tools have effectively lost authoritative control over it. At that point the problem becomes structural: the remaining files are in a SIP-protected system location. So even if the exact asset folder can be identified, it cannot be manually removed through normal user-space means while SIP is enabled. That leaves no supported path to reclaim the space once the asset has fallen out of Xcode/simctl management. Technically, the remaining workaround is to disable SIP and remove the orphaned asset manually, but that is not a reasonable solution for routine simulator runtime cleanup. SIP exist
Replies
Boosts
Views
Activity
1w
iOS 26: Toolbar button background flashes black during NavigationStack transitions (dark mode)
I’m seeing a visual glitch with toolbar buttons when building with Xcode 26 for iOS 26. During transitions (both pushing in a NavigationStack and presenting a .sheet with its own NavigationStack), the toolbar button briefly flashes the wrong background colour (black in dark mode, white in light mode) before animating to the correct Liquid Glass appearance. This happens even in a minimal example and only seems to affect system toolbar buttons. A custom view with .glassEffect() doesn’t have the issue. I’ve tried: .tint(...), UINavigationBarAppearance/UIToolbarAppearance, and setting backgrounds on hosting/nav/window but none of those made any difference. Here’s a minimal reproducible example: import SwiftUI struct ContentView: View { @State private var showingSheet = false var body: some View { NavigationStack { List { NavigationLink(Push (same stack — morphs)) { DetailView() } Button(Sheet (separate stack — flashes)) { showingSheet = true } } .navigationTitle(Root) .scrollContentBackground(.hidden) .b
Replies
1
Boosts
0
Views
312
Activity
1w
Reply to How to manually/offline install Claude Agent for Xcode?
@shenbj Thanks for this great post! I think the Claude Agent for Xcode requires an active internet connection to communicate with Anthropic's servers and is not designed for native offline operations at this time. However I think you should file an enhancement request for this. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why? Resources: https://developer.apple.com/documentation/Xcode/setting-up-coding-intelligence Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1w
How to manually/offline install Claude Agent for Xcode?
Hi everyone, I'm working in a strictly offline (intranet) environment and cannot use the standard online installation process to download and install the Claude Agent for Xcode. What I've tried: I manually copied the Agent binary/folder from an online machine to the following path: ~/Library/Developer/Xcode/CodingAssistant/Agents/Versions/26.3/claude The Issue: Even though the files are in the correct directory, Xcode fails to recognize the agent. It doesn't appear in the settings, and the Coding Assistant remains unavailable. Questions: Is there a specific metadata file (e.g., a .plist or .json index) that needs to be updated for Xcode to see the manually added agent? Are there any code signing or quarantine issues (like xattr) that need to be addressed when moving the agent between machines? Does anyone know if there are other dependencies or cache folders (besides ~/Library/Developer/Xcode/CodingAssistant/) that need to be synchronized? Environment: macOS: 26.3
Replies
1
Boosts
0
Views
56
Activity
1w