Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

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 + butt
Apr ’26
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 h
Apr ’26
Interface Builder - Xcode 26.4 - Changing Between Attributes Inspector, File Inspector, Etc. Is Now A Pop Up Button?
In Interface Builder there use to be a segmented control to switch Inspectors. It's been this way forever. I could switch from: File Inspector Attributes Inspector Size Inspector Etc... Now in Xcode 26.4, it is this clunky pop up button? What? I thought Apple didn't like Interface Builder anymore so I'm surprised they are even touching it. This part of a SwiftUI rewrite or just bad vibes?
2
0
238
Apr ’26
Incorrect FinanceKit Account Balance Data for Apple Cash/Savings (asset accounts)
When I use the FinanceKit API to get the account balance history for my Apple Cash account, the data shows that I have $1 as a debit. The accounts endpoint reveals that the Apple Cash account is an asset account. This means that according to the FinanceKit data my account balance is -$1. However, I know this is incorrect because when I look at my Apple Cash account using the Wallet app I see that I have a balance of $1 (see image below). I believe the issue is the creditDebitIndicator’s value in the Account Balance data. Here are the steps to recreate this. Open new Apple Cash account Send $1 to Apple Cash account Query accountBalanceHistory with a nil history token (to fetch all data) Look at the account balance data and see the $1 and “debit” for creditDebitIndicator Also, the documentation says that an asset account with a balance of $0 will have creditDebitIndicator/Credit, however, I am getting creditDebitIndicator/Debit. See https://developer.apple.com/documentation/financekit/balance/creditdebitindicat
1
0
90
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thank you for your response. Upon reviewing the errors, this should not occur. However, there may be more experienced Apple Watch engineers who have identified this error and can provide a solution. For my understanding an HTTP 400 (Bad Request) means the network request Xcode made to the servers was rejected. If your developer account session has expired in Xcode's settings, the request to download the symbols might be sent with an invalid authentication token, resulting in a 400 error. Open Xcode and go to Xcode > Settings > Accounts. Select your Apple ID on the left. Click the - (minus) button at the bottom to remove it. Click the + (plus) button and sign back in. Restart Xcode and see if it successfully fetches the symbols. If you are using a VPN a corporate proxy, or custom DNS/firewall software, it might be intercepting and modifying Xcode's network request to Apple's servers, causing Apple to reject it as a Bad Request. Let me know if you get
Apr ’26
Xcode 26.4 refuses to pair with my Series 4 iWatch
Watch has latest watchOS 10.6.2. Xcode tries to connect and fails. I insured that both the Mac and the watch are using the same WiFi network (2.4) - and the mac has no other network interface. I have successfully paired to my iPhone and iPad. I quit and restarted Xcode. I close and reopen the Devices and Simulators window (to get it to retry). I restarted my watch. The watch is at 98% battery level. Suggestions? [Or do I need to purchase a new watch?]
4
0
189
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
I made more progress but the operation is still failing: I unpaired my watch then re-paired it I tried many times to get the watch to show the Developer Mode option - it would just not show it. Finally I restarted the phone, restarted the watch, insured both on the same WiFi network as the Mac, plugged the phone back into the Mac with Xcode running, and voila - I was finally able to enable it. Now, the watch showed up in the Xcode Devices window, but I got the same error as I originally was getting. Now I'm suspecting Bonjour, so I restarted my Mac, and rebooted my TP-Link Archer 8 router (has latest firmware). Now, Xcode can connect to my watch!!! It connects and tries to read the symbols, but fails with an alert in a window. Clicking on the window, I was able to copy the error: Failed with HTTP status 400: bad request Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = 2026-04-07 13:10:58 +0000; } Failed with HTTP status 400: bad request Domain
Apr ’26
Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Xcode 26.x + iOS 26.x MTE Compatibility Feedback Reporter:Third-party App Developer Date:2026 Environments:Xcode 26.2 / 26.4, iOS 26.2 / 26.4 SDK, iPhone 17 Pro, Third-party App (Swift/C++/Python/Boost) Core Issue MTE (Memory Tagging Extension) under Memory Integrity Enforcement generates extensive false positives for valid high-performance memory operations in third-party apps, causing crashes. No official configuration exists to bypass these false positives, severely impacting stability and development costs. Key Problems 1. Widespread False Positives (Valid Code Crashes) After enabling MTE (Soft/Hard Mode), legitimate industrial-standard operations crash: Swift/ C++ containers: Array.append, resize, std::vector reallocation Custom memory pools / Boost lockfree queues:no UAF/corruption Memory reallocation:Legitimate free-reuse patterns are judged as tag mismatches. 2. MTE Hard Mode Incompatibility iOS 26.4 opens MTE Hard Mode for third-party apps, but it immediately crash
2
0
139
Apr ’26
Reply to Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Thank you very much for your valuable guidance on our MTE (Memory Integrity Enforcement) compatibility feedback for Xcode 26.x and iOS 26.x. We will follow your recommendation to split the feedback into multiple reports and file them officially in Feedback Assistant. We will share the bug numbers with you for the record once the reports are filed.
Apr ’26
com.apple.developer.mail-client entitlement issue
We have an app with the default email entitlement that was granted several years ago. During our latest deployment, we received an error from our pipeline. When testing a manual submission in Xcode, we saw this error: Entitlement com.apple.developer.mail-client not found and could not be included in profile. This likely is not a valid entitlement and should be removed from your entitlements file. We checked the provisioning profile, and the default email entitlement is still present. It is visible on the certificate portal and also in the embedded.mobileprovision file. Can you suggest what we can do to release a new version of our app?
4
0
760
Apr ’26
Reply to Layout recursion error message
[quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] for the app's main module, I have to enter a Library name of this form: myApp.debug.dylib. [/quote] That’s not my experience. When I put this code into an app, the library for each log point is Test806471.debug.dylib but pasting Library:Test806471 into the field still works. If you click on the arrow for that token you can see why. It presents a popup menu with various options, and one of those options lets you select between Equals and Contains, with Contains being the default. [quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] it appears that this section is cleared on each Xcode launch [/quote] Indeed. I’ve seen complaints about that before, and some spelunking turned by the relevant bug (r. 130497236). If you want to be notified if and when that gets fixed, file your own bug and ask that it be marked as a dup of that one. See Bug Reporting: How and Why? for lots more hints and tips
Topic: UI Frameworks SubTopic: AppKit Tags:
Apr ’26
Layout recursion error message
Hi all, when I launch my macOS app from Xcode 16 on ARM64, appKit logs me this error on the debug console: It's not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out. If you are implementing the view's -layout method, you can call -[super layout] instead. Break on _NSDetectedLayoutRecursion(void) to debug. This will be logged only once. This may break in the future. _NSDetectedLayoutRecursion doesn't help a lot, giving me these assembly codes from a call to a subclassed window method that looks like this: -(void) setFrame:(NSRect)frameRect display:(BOOL)flag { if (!_frameLocked) [super setFrame:frameRect display:flag]; } I have no direct call to -layoutSubtreeIfNeeded from a -layout implementation in my codes. I have a few calls to this method from update methods, however even if I comment all of them, the error is still logged... Finally, apart from that log, I cannot observe any layout error when running the program. So I wonder if this error can be safely ignored? Than
10
0
716
Apr ’26
Network access blocked by system
I’m building an app on macOS 26.4 with Xcode 26.4. When I build and run my app it started prompting me for network access, which it didn’t do before with Xcode 26. It did that repeatedly, and I had been approving the prompts and the app had been working. Now the app’s network features are not working, and I assume its because its being blocked by macOS, even though I accepted the network requests each time. In System Settings - Privacy and Security - Local Network, the app has many repeated entries, like 20, and all of them are turned on.
2
0
129
Apr ’26
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 + butt
Replies
Boosts
Views
Activity
Apr ’26
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 h
Replies
Boosts
Views
Activity
Apr ’26
Reply to Xcode now hangs; SDKs are "status unavailable"
As diniska wrote, this is what finally worked for me: Force quit Xcode rm /Library/Developer/CoreSimulator/Images/images.plist Wait 1-2 minutes Launch Xcode You do need to reboot in recovery, turn off SIP, do the deletion, reboot in recovery, turn on SIP, and reboot. But it's been working ever since.
Replies
Boosts
Views
Activity
Apr ’26
Interface Builder - Xcode 26.4 - Changing Between Attributes Inspector, File Inspector, Etc. Is Now A Pop Up Button?
In Interface Builder there use to be a segmented control to switch Inspectors. It's been this way forever. I could switch from: File Inspector Attributes Inspector Size Inspector Etc... Now in Xcode 26.4, it is this clunky pop up button? What? I thought Apple didn't like Interface Builder anymore so I'm surprised they are even touching it. This part of a SwiftUI rewrite or just bad vibes?
Replies
2
Boosts
0
Views
238
Activity
Apr ’26
Incorrect FinanceKit Account Balance Data for Apple Cash/Savings (asset accounts)
When I use the FinanceKit API to get the account balance history for my Apple Cash account, the data shows that I have $1 as a debit. The accounts endpoint reveals that the Apple Cash account is an asset account. This means that according to the FinanceKit data my account balance is -$1. However, I know this is incorrect because when I look at my Apple Cash account using the Wallet app I see that I have a balance of $1 (see image below). I believe the issue is the creditDebitIndicator’s value in the Account Balance data. Here are the steps to recreate this. Open new Apple Cash account Send $1 to Apple Cash account Query accountBalanceHistory with a nil history token (to fetch all data) Look at the account balance data and see the $1 and “debit” for creditDebitIndicator Also, the documentation says that an asset account with a balance of $0 will have creditDebitIndicator/Credit, however, I am getting creditDebitIndicator/Debit. See https://developer.apple.com/documentation/financekit/balance/creditdebitindicat
Replies
1
Boosts
0
Views
90
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
Thank you for your response. Upon reviewing the errors, this should not occur. However, there may be more experienced Apple Watch engineers who have identified this error and can provide a solution. For my understanding an HTTP 400 (Bad Request) means the network request Xcode made to the servers was rejected. If your developer account session has expired in Xcode's settings, the request to download the symbols might be sent with an invalid authentication token, resulting in a 400 error. Open Xcode and go to Xcode > Settings > Accounts. Select your Apple ID on the left. Click the - (minus) button at the bottom to remove it. Click the + (plus) button and sign back in. Restart Xcode and see if it successfully fetches the symbols. If you are using a VPN a corporate proxy, or custom DNS/firewall software, it might be intercepting and modifying Xcode's network request to Apple's servers, causing Apple to reject it as a Bad Request. Let me know if you get
Replies
Boosts
Views
Activity
Apr ’26
Xcode 26.4 refuses to pair with my Series 4 iWatch
Watch has latest watchOS 10.6.2. Xcode tries to connect and fails. I insured that both the Mac and the watch are using the same WiFi network (2.4) - and the mac has no other network interface. I have successfully paired to my iPhone and iPad. I quit and restarted Xcode. I close and reopen the Devices and Simulators window (to get it to retry). I restarted my watch. The watch is at 98% battery level. Suggestions? [Or do I need to purchase a new watch?]
Replies
4
Boosts
0
Views
189
Activity
Apr ’26
Reply to Xcode 26.4 refuses to pair with my Series 4 iWatch
I made more progress but the operation is still failing: I unpaired my watch then re-paired it I tried many times to get the watch to show the Developer Mode option - it would just not show it. Finally I restarted the phone, restarted the watch, insured both on the same WiFi network as the Mac, plugged the phone back into the Mac with Xcode running, and voila - I was finally able to enable it. Now, the watch showed up in the Xcode Devices window, but I got the same error as I originally was getting. Now I'm suspecting Bonjour, so I restarted my Mac, and rebooted my TP-Link Archer 8 router (has latest firmware). Now, Xcode can connect to my watch!!! It connects and tries to read the symbols, but fails with an alert in a window. Clicking on the window, I was able to copy the error: Failed with HTTP status 400: bad request Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = 2026-04-07 13:10:58 +0000; } Failed with HTTP status 400: bad request Domain
Replies
Boosts
Views
Activity
Apr ’26
Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Xcode 26.x + iOS 26.x MTE Compatibility Feedback Reporter:Third-party App Developer Date:2026 Environments:Xcode 26.2 / 26.4, iOS 26.2 / 26.4 SDK, iPhone 17 Pro, Third-party App (Swift/C++/Python/Boost) Core Issue MTE (Memory Tagging Extension) under Memory Integrity Enforcement generates extensive false positives for valid high-performance memory operations in third-party apps, causing crashes. No official configuration exists to bypass these false positives, severely impacting stability and development costs. Key Problems 1. Widespread False Positives (Valid Code Crashes) After enabling MTE (Soft/Hard Mode), legitimate industrial-standard operations crash: Swift/ C++ containers: Array.append, resize, std::vector reallocation Custom memory pools / Boost lockfree queues:no UAF/corruption Memory reallocation:Legitimate free-reuse patterns are judged as tag mismatches. 2. MTE Hard Mode Incompatibility iOS 26.4 opens MTE Hard Mode for third-party apps, but it immediately crash
Replies
2
Boosts
0
Views
139
Activity
Apr ’26
Reply to Xcode 26.x + iOS 26.x MTE Compatibility Feedback
Thank you very much for your valuable guidance on our MTE (Memory Integrity Enforcement) compatibility feedback for Xcode 26.x and iOS 26.x. We will follow your recommendation to split the feedback into multiple reports and file them officially in Feedback Assistant. We will share the bug numbers with you for the record once the reports are filed.
Replies
Boosts
Views
Activity
Apr ’26
Reply to Unable to Save my build
Hi I had this exact same issue as yours. I fixed it by releasing the version not for internal testflight but for distribution in XCode.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Apr ’26
com.apple.developer.mail-client entitlement issue
We have an app with the default email entitlement that was granted several years ago. During our latest deployment, we received an error from our pipeline. When testing a manual submission in Xcode, we saw this error: Entitlement com.apple.developer.mail-client not found and could not be included in profile. This likely is not a valid entitlement and should be removed from your entitlements file. We checked the provisioning profile, and the default email entitlement is still present. It is visible on the certificate portal and also in the embedded.mobileprovision file. Can you suggest what we can do to release a new version of our app?
Replies
4
Boosts
0
Views
760
Activity
Apr ’26
Reply to Layout recursion error message
[quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] for the app's main module, I have to enter a Library name of this form: myApp.debug.dylib. [/quote] That’s not my experience. When I put this code into an app, the library for each log point is Test806471.debug.dylib but pasting Library:Test806471 into the field still works. If you click on the arrow for that token you can see why. It presents a popup menu with various options, and one of those options lets you select between Equals and Contains, with Contains being the default. [quote='883354022, -dp, /thread/806471?answerId=883354022#883354022, /profile/-dp'] it appears that this section is cleared on each Xcode launch [/quote] Indeed. I’ve seen complaints about that before, and some spelunking turned by the relevant bug (r. 130497236). If you want to be notified if and when that gets fixed, file your own bug and ask that it be marked as a dup of that one. See Bug Reporting: How and Why? for lots more hints and tips
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
Layout recursion error message
Hi all, when I launch my macOS app from Xcode 16 on ARM64, appKit logs me this error on the debug console: It's not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out. If you are implementing the view's -layout method, you can call -[super layout] instead. Break on _NSDetectedLayoutRecursion(void) to debug. This will be logged only once. This may break in the future. _NSDetectedLayoutRecursion doesn't help a lot, giving me these assembly codes from a call to a subclassed window method that looks like this: -(void) setFrame:(NSRect)frameRect display:(BOOL)flag { if (!_frameLocked) [super setFrame:frameRect display:flag]; } I have no direct call to -layoutSubtreeIfNeeded from a -layout implementation in my codes. I have a few calls to this method from update methods, however even if I comment all of them, the error is still logged... Finally, apart from that log, I cannot observe any layout error when running the program. So I wonder if this error can be safely ignored? Than
Replies
10
Boosts
0
Views
716
Activity
Apr ’26
Network access blocked by system
I’m building an app on macOS 26.4 with Xcode 26.4. When I build and run my app it started prompting me for network access, which it didn’t do before with Xcode 26. It did that repeatedly, and I had been approving the prompts and the app had been working. Now the app’s network features are not working, and I assume its because its being blocked by macOS, even though I accepted the network requests each time. In System Settings - Privacy and Security - Local Network, the app has many repeated entries, like 20, and all of them are turned on.
Replies
2
Boosts
0
Views
129
Activity
Apr ’26