Search results for

“Xcode”

93,864 results found

Post

Replies

Boosts

Views

Activity

App Transfer Completed but Extension App IDs Missing and Cannot Be Recreated
Hello, We recently transferred our iOS app to a new Apple Developer account, and we are experiencing an issue that is currently blocking our release. The transfer of the main app appears to have completed successfully: The app is visible in App Store Connect under the recipient account The main bundle ID is available However, the App IDs for our extensions are missing from the recipient account in Certificates, Identifiers & Profiles. Affected bundle identifiers: com.finanfut.finanfut.NotificationService com.finanfut.finanfut.NotificationContentExtension The issue is: These App IDs do NOT appear in the recipient account We are NOT able to create them manually Apple returns: “The app identifier is not available” As a result: Xcode cannot generate provisioning profiles We get errors like: No profiles for 'com.finanfut.finanfut.NotificationContentExtension' were found We are blocked from archiving and distributing the app It seems that the App IDs are still reserved in Apple's backend but were not p
2
0
42
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
Xcode 26.4 Editor Tab Bar is low density
Hi, On a 1920 points wide monitor, running maximized, Xcode 26.4 can't show more than 10 editor tabs at a time. Under the same conditions, Xcode 26.2 adapts tab widths to file names and fits 12-14 tabs. That's 2-4 more files I can see and access at a glance, without extra interaction. How can I get that level of information density back in the Xcode 26.4 editor tab bar? Screenshots Xcode 26.4 (10 tabs) Xcode 26.2 (12 tabs) Xcode 26.2 (14 tabs)
1
0
57
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
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
Charts performance issue
Hi, I want to recreate a chart from Apple Health and I have code like this. When I scroll - especially the week and month charts, there are performance issues. If I remove .chartScrollPosition(x: $scrollChartPosition), it runs smoothly, but I need to know which part of the chart is currently displayed. Can you help me? import Charts import SwiftUI struct MacroChartView: View { var selectedRange: ChartRange var binnedPoints: [MacroBinPoint] @State private var scrollChartPosition: Date = .now var body: some View { VStack { Text((selectedRange.rangeLabel(for: scrollChartPosition))) Chart(binnedPoints) { point in BarMark( x: .value(Date, point.date, unit: selectedRange.binComponent), y: .value(Calories, point.calories) ) } .frame(height: 324) .chartXVisibleDomain(length: selectedRange.visibleDomainLength()) .chartScrollableAxes(.horizontal) .chartScrollPosition(x: $scrollChartPosition) .chartScrollTargetBehavior(.valueAligned(matching: selectedRange.scrollAlignmentComponents))
0
0
104
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 write a persistent token to unlock FileVault with a smart card?
I want to write a CryptoTokenKit plugin to be used to unlock FileVault. I understand macOS already provides such a plugin for a PIV smart card https://support.apple.com/en-mz/guide/deployment/dep806850525/web Perfect. I want to do the same for a non-PIV smart card. So I have to provide my own CryptoTokenKit plugin. I already implemented a smart card plugin TKSmartCardToken. I can use it so pair the user with the smart card and use the smart card to login (except for the 1st login when the disk is still encrypted). As far as I understand for preboot I need to provide a persistent token https://support.apple.com/en-mz/guide/deployment/dep4e2622249/web From Xcode I created an empty application, and added a Persistent Token Extension (instead of a Smart Card Token Extension). After built I can see my new token in the output of pluginkit -m -p com.apple.ctk-tokens. My questions: how and when is my plugin loaded? I added calls to os_log_error() in all the empty methods created by the Xcode templat
2
0
73
1w
Reply to Unable to download iOS simulator runtime 26.x on Xcode
@garysmckiernan You are the MAN. I have been stuck on iOS 18.2 sim for over 6 months. Tried everything including upgrading to Tahoe, and next step would have been reinstalling macOS. How did you know to delete the Xcode defaults preferences? How were you able to diagnose and come up with this fix? I couldn't figure out how to diagnose it or locations to reset to try and fix it.
1w
App Transfer Completed but Extension App IDs Missing and Cannot Be Recreated
Hello, We recently transferred our iOS app to a new Apple Developer account, and we are experiencing an issue that is currently blocking our release. The transfer of the main app appears to have completed successfully: The app is visible in App Store Connect under the recipient account The main bundle ID is available However, the App IDs for our extensions are missing from the recipient account in Certificates, Identifiers & Profiles. Affected bundle identifiers: com.finanfut.finanfut.NotificationService com.finanfut.finanfut.NotificationContentExtension The issue is: These App IDs do NOT appear in the recipient account We are NOT able to create them manually Apple returns: “The app identifier is not available” As a result: Xcode cannot generate provisioning profiles We get errors like: No profiles for 'com.finanfut.finanfut.NotificationContentExtension' were found We are blocked from archiving and distributing the app It seems that the App IDs are still reserved in Apple's backend but were not p
Replies
2
Boosts
0
Views
42
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
Xcode 26.4 Editor Tab Bar is low density
Hi, On a 1920 points wide monitor, running maximized, Xcode 26.4 can't show more than 10 editor tabs at a time. Under the same conditions, Xcode 26.2 adapts tab widths to file names and fits 12-14 tabs. That's 2-4 more files I can see and access at a glance, without extra interaction. How can I get that level of information density back in the Xcode 26.4 editor tab bar? Screenshots Xcode 26.4 (10 tabs) Xcode 26.2 (12 tabs) Xcode 26.2 (14 tabs)
Replies
1
Boosts
0
Views
57
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
Clipboard issues with simulators
After updating to Xcode 26.4 the pasteboard sharing feature in the simulators doesn't work.
Replies
27
Boosts
0
Views
2.5k
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
Charts performance issue
Hi, I want to recreate a chart from Apple Health and I have code like this. When I scroll - especially the week and month charts, there are performance issues. If I remove .chartScrollPosition(x: $scrollChartPosition), it runs smoothly, but I need to know which part of the chart is currently displayed. Can you help me? import Charts import SwiftUI struct MacroChartView: View { var selectedRange: ChartRange var binnedPoints: [MacroBinPoint] @State private var scrollChartPosition: Date = .now var body: some View { VStack { Text((selectedRange.rangeLabel(for: scrollChartPosition))) Chart(binnedPoints) { point in BarMark( x: .value(Date, point.date, unit: selectedRange.binComponent), y: .value(Calories, point.calories) ) } .frame(height: 324) .chartXVisibleDomain(length: selectedRange.visibleDomainLength()) .chartScrollableAxes(.horizontal) .chartScrollPosition(x: $scrollChartPosition) .chartScrollTargetBehavior(.valueAligned(matching: selectedRange.scrollAlignmentComponents))
Replies
0
Boosts
0
Views
104
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 write a persistent token to unlock FileVault with a smart card?
I want to write a CryptoTokenKit plugin to be used to unlock FileVault. I understand macOS already provides such a plugin for a PIV smart card https://support.apple.com/en-mz/guide/deployment/dep806850525/web Perfect. I want to do the same for a non-PIV smart card. So I have to provide my own CryptoTokenKit plugin. I already implemented a smart card plugin TKSmartCardToken. I can use it so pair the user with the smart card and use the smart card to login (except for the 1st login when the disk is still encrypted). As far as I understand for preboot I need to provide a persistent token https://support.apple.com/en-mz/guide/deployment/dep4e2622249/web From Xcode I created an empty application, and added a Persistent Token Extension (instead of a Smart Card Token Extension). After built I can see my new token in the output of pluginkit -m -p com.apple.ctk-tokens. My questions: how and when is my plugin loaded? I added calls to os_log_error() in all the empty methods created by the Xcode templat
Replies
2
Boosts
0
Views
73
Activity
1w
Reply to Unable to download iOS simulator runtime 26.x on Xcode
@garysmckiernan You are the MAN. I have been stuck on iOS 18.2 sim for over 6 months. Tried everything including upgrading to Tahoe, and next step would have been reinstalling macOS. How did you know to delete the Xcode defaults preferences? How were you able to diagnose and come up with this fix? I couldn't figure out how to diagnose it or locations to reset to try and fix it.
Replies
Boosts
Views
Activity
1w