Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

Xcode 27.1 compilation error possibly due to swift versions discrepancy
Compiling my project using Xcode 27.1 ends with an error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/SwiftUI.framework/Modules/SwiftUI.swiftmodule/arm64e-apple-macos.swiftinterface:1:1: error: failed to build module 'SwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1)', while this compiler is 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)'). Please select a toolchain which matches the SDK. 1 | // swift-interface-format-version: 1.0 | `- error: failed to build module 'SwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1)', while this compiler is 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)'). Please select a toolchain which matches the SDK. 2 | // swift-compiler-version: Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1) 3 | // swift-module-flags: -target arm64e-apple-macos27.0 -enable-objc-interop -target-arch-variant arm64e.x1 -enable-library-evolution -language-mode 5 -O -library-level api -enable-experimental-feature AnyAppleOSAvailability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -user-module-version 8.0.84.1.406 -module-name SwiftUI -package-name SwiftUICompiling it with Xcode 27 ends without error. Do you see any other root cause than the one mentionned: Xcode 27.1 uses swiftlang-6.4.0.34.1 clang-2100.3.34.1 while internal sdk was compiled with swiftlang-6.4.0.31.4 clang-2100.3.31.1 ?
1
0
261
2w
Xcode 26.6 cannot download iOS 26.5 Simulator runtime — stuck on “Preparing…”
I am unable to download and install the iOS Simulator runtime in Xcode 26.6. Environment: MacBook Air with Apple silicon macOS Tahoe 26.6 Xcode 26.6 Build version 17F113 xcode-select -p: /Applications/Xcode.app/Contents/Developer xcodebuild -showsdks correctly reports: Simulator - iOS 26.5 -sdk iphonesimulator26.5 However: xcrun simctl list runtimes returns: == Runtimes == No Simulator runtime is installed. In: Xcode > Settings > Components I attempted to install: iOS 26.5.1 + iOS 26.5 Simulator but it remains at: Preparing... for a very long time without actually downloading the runtime. I also tried: xcodebuild -downloadPlatform iOS This eventually failed with: Download was cancelled exit code 70 I also tried: xcodebuild -downloadPlatform iOS -exportPath ~/Downloads/XcodePlatforms The destination directory remains at 0 bytes. Checks already completed: More than 860 GiB free disk space Mac restarted Xcode quit and reopened xcode-select points to the correct Xcode installation /etc/hosts contains no Apple blocking entries gdmf.apple.com resolves correctly HTTPS connectivity to gdmf.apple.com works Apple MobileAsset / software update services are running iOS Simulator SDK itself is installed correctly The project can compile for iphonesimulator26.5, but Simulator execution and tests are blocked because no runtime can be installed. Questions: Is this a known issue with Xcode 26.6? Is there an official alternative way to download the iOS Simulator runtime? Can I install an earlier supported iOS Simulator runtime instead? Is there a MobileAsset or Xcode cache reset procedure recommended by Apple? Thank you.
4
3
1.5k
3w
Please deslopify Xcode
Coding "Intelligence" < Stable IDE I don't use Code Intelligence. I don't use AI. I can disable it in settings, but the button and the hints are always there. Xcode 27 vs. Xcode 16 feels like a dumbed down code slot machine for minors, not a serious product for serious programmers with it's big shiny buttons and buttons to "Generate", "Start a new Chat", etc. If you want to make toys for people to pretend like they are making software — fine. But leave the product for actual programmers alone. I don't want "AI Slop" buttons. I want to write code BY HAND and the IDE to be stable and fast.
1
2
172
3w
CarPlay Simulator ignores Light appearance setting after sunset
When I set the Appearance in the CarPlay Simulator to Light, the setting is only respected during daytime. After sunset, CarPlay switches to and stays in Dark mode, regardless of the Light setting. This makes it difficult to test Light and Dark mode during evening development sessions, since Light mode is unavailable until the next sunrise. Expected behavior: When Appearance is explicitly set to Light, the CarPlay Simulator should stay in Light mode at any time of day, so both appearances can be tested whenever needed. Actual behavior: After sunset, the CarPlay Simulator remains in Dark mode even though Light is selected. This issue has been present for quite a while. A fix would be much appreciated. Thank you!
2
0
83
3w
SwiftUI NavigationStack warning messages
After installing Xcode 27.0 SwiftUI NavigationStack is generating unwanted warnings that have not been seen with older releases. Examples of the warnings are "cannot add handler to 0 from 0 - dropping". A minimal view using VStack does not generate these messages but adding NavigationStack seems to generate pairs of messages. Over the lifetime of an application hundreds of messages are generated. Is this a known issue?
1
0
211
3w
Network connections made by Xcode's MCP tool service when mcpbridge connects (Xcode 27.0)
On Xcode 27.0 (27A266a) / macOS 27.2, I ran xcrun mcpbridge from a scripted stdio MCP client and captured traffic system-wide, with a curl control visible in the same captures. Findings: mcpbridge itself opened no network sockets (online or offline, and under a deny-network sandbox). The "Xcode Service" process it connects to made about 2 KB of outbound TLS to an Apple edge address at startup, plus a certificate check via trustd and a request to devimages-cdn.apple.com. When a workspace was opened through XcodeOpenWorkspace, Xcode Service also made two TLS connections to appstoreconnect.apple.com (about 5 KB upstream). This did not occur without a workspace open, and XcodeListWorkspaces itself caused no traffic. mcpbridge sends a CoreAnalytics event to analyticsd (strings: "MCPBridgeTelemetry: Submitted CoreAnalytics event" / "Telemetry off; skipped"), payload <private>. Questions: What is sent to App Store Connect when a workspace is opened this way, and is it the same as opening the project in Xcode directly? What does the MCPBridgeTelemetry event contain, is it sent off-device, and what setting controls it? Is any MCP tool input or output (file contents, paths, build output) sent to Apple?
0
0
129
3w
Simulator runtime stuck "Deleting"
I have numerous simulator runtimes marked as "Deleting": $ xcrun simctl runtime list == Disk Images == -- iOS -- iOS 18.0 (22A3351) - 036938A4-AAF7-4671-8880-8E381770E397 (Deleting) iOS 18.0 (22A5326g) - 756A6FE1-A9C7-4A3D-A8FD-01FD7B5F84BC (Deleting) iOS 18.0 (22A5307f) - 5DB182D5-FAA1-477D-922F-CFA728C5A6FA (Deleting) iOS 18.0 (22A5346a) - C844925F-1BCA-46FD-B0B9-21587AB3EDE5 (Deleting) iOS 18.0 (22A5307f) - CC3EB15F-4EAA-4591-AE5C-2762AC17C426 (Unusable - Other Failure: Duplicate of 5E3173BD-25F7-4446-9593-B5E6330B65CE) -- tvOS -- tvOS 18.0 (22J5290l) - A7A2E335-D433-456D-AC61-D5061317A911 (Ready) -- watchOS -- watchOS 11.0 (22R5284o) - 87DB6C3E-A51E-4394-AD35-F6BDCBDEFDC9 (Ready) How to I finish deleting these runtimes? I can't re-install, because: $ simctl runtime add iOS_18_Release_Candidate_Simulator_Runtime.dmg The iOS Simulator runtime 22A3351 is not installed, installing... D: C76A5156-5225-4683-806A-FC604074F2C7 iOS (18.0 - 22A3351) (Unusable - Other Failure: Error Domain=SimDiskImageErrorDomain Code=5 "Duplicate of 036938A4-AAF7-4671-8880-8E381770E397" UserInfo={NSLocalizedDescription=Duplicate of 036938A4-AAF7-4671-8880-8E381770E397, unusableErrorDetail=}) and it's the "Deleting" runtimes aren't usable (causing things like ibtool/actool to stop working), presumably because they're "Deleting." A reboot does not fix anything.
2
1
1.1k
3w
Differences between cloud and local models in Xcode Intelligence
I can't use cloud-based AI providers, so I'm very excited about the potential of local models with Xcode's Coding Assistant. I've been playing around with a local MLX model, and have been generally pretty satisfied with it. But I'm curious - what features am I missing out on by using a local model instead of a larger, cloud-based model? Is Xcode's ability to run tests, build the project, etc. limited by the use of a local model? Does it limit the ability to do more complex agentic workflows? If so, how? Basically, local models in Xcode seem to be working pretty well for me, and I'm curious to know what cloud-based models can offer that I don't already have.
6
0
1.1k
3w
How to get the iOS 27.1 APIs in the Xcode 27.1 Developer Documentation window?
I have Xcode 27.1. When I open the Developer Documentation window, it only has the 27.0 APIs. While running Xcode 27.1 if I go to Xcode -> Settings -> Components -> Developer Documentation -> Info, the info window shows the Xcode version as 27.0 and the Developer Documentation Version as 10M13950. Xcode -> About Xcode definitely shows version 27.1. It's very difficult trying to work on iPhone Duo support when the developer documentation doesn't show any of the iOS 27.1 APIs. Is there any way to get the proper documentation loaded?
1
0
682
3w
Supported network isolation for app-hosted iOS Simulator tests
What is Apple’s supported way to prevent outbound network access during app-hosted iOS Simulator unit tests, without disabling system services or modifying system tunnel routes? Environment: Apple silicon Mac, macOS 26.6.2 Xcode 27.0, iOS 27.0 Simulator Separate, newly created Simulator Xcode-managed local ad-hoc build 17 fictional-data tests using XCTest and Swift Testing We intend to use xcodebuild test-without-building. The test bodies exercise models and request construction without sending requests, but the app host’s startup behavior is also within our isolation requirement. Tests have not been run. During an authorized Wi-Fi-off diagnostic, we waited ten seconds and collected three samples, checking Wi-Fi power before and after each sample. All showed: Wi-Fi Off No effective network interface reported by scutil --nwi No route selected by ordinary local lookups for IPv4 and IPv6 documentation addresses Remaining interface-scoped IPv6 default entries through utun interfaces Routes selected when IPv6 lookups explicitly specified those tunnel interfaces These were routing-table queries only; no diagnostic packets were sent. Wi-Fi was restored afterward. We have not established whether the scoped routes could carry external traffic. Please advise on a supported isolation mechanism and how to validate it for the Simulator test host, including startup. We want to preserve normal macOS security/system services and avoid relying on either route-table presence or absence as proof of isolation. No real user data or credentials are needed. We can provide a redacted diagnostic summary if useful.
0
0
113
3w
Xcode Coding Assistant closes connection with AI server automatically after 5 minutes
I'm trying to use Xcode Coding Assistant connected to local AI server, but the chat fails after 5 minutes with error: The request timed out. Detail: No Data/Bytes for request: http://localhost... AI server gives me info that client disconnected: 2026-10-19 22:24:23 [INFO] [nvidia/nemotron-3.5-super-vl] Prompt processing progress: 88.3% 2026-10-19 22:24:30 [INFO] [LM STUDIO SERVER] Client disconnected. Stopping generation... (If the model is busy processing the prompt, it will finish first.) 2026-10-19 22:24:30 [INFO] [nvidia/nemotron-3.5-super-vl] Finished streaming response 2026-10-19 22:24:31 [DEBUG] 17.12.133.523 W srv stop: cancel task, id_task = 0 2026-10-19 22:24:37 [DEBUG] 17.18.441.198 I slot release: id 0 | task 0 | stop processing: n_tokens = 47985, truncated = 0 It looks like http/tcp default timeout. AI suggests that it should be possible to set Xcode Coding Assistant timeout, but I cannot find it anywhere. How is Xcode Coding Assistant supposed to work if it shuts down on default network protocol timeout? I haven't tried yet on nVidia hardware, which should be faster, but it could still be a problem when working on multiple files in project with inference running on one Blackwell chip. I do not have nVidia rack with 72 chips, it wouldn't fit to my home office. How do I change the network timeout for Coding Assistant? Configuration: MacOS 27.0.1 (26A434) Xcode 27.0
1
0
100
3w
Xcode 26.3 actool does not compile watchOS longLook icon role, but App Store Connect validator demands it
I'm hitting a toolchain inconsistency between Xcode 26.3's asset compiler (actool) and App Store Connect's upload validator, and I have build logs proving both sides. The builder side (actool in Xcode 26.3): When compiling the asset catalog for our watchOS target, actool reports "unassigned children" for the watchOS longLook icon role - specifically [watch][44x44][longLook][42mm][2x] - and does NOT compile it into Assets.car. The 42mm longLook icon simply cannot be produced by the toolchain. The checker side (App Store Connect): Uploading the resulting archive is REJECTED by the App Store Connect validator with a "Missing Icon" error for a 44x44 at 2x image (Long Look 42mm). So the builder cannot produce the exact icon the checker demands. This is an Apple toolchain inconsistency - either: actool should compile the longLook 42mm role into Assets.car, or the App Store Connect validator should not demand an icon the toolchain cannot emit. Environment: Xcode 26.3 watchOS app target with an App Icon asset catalog containing the longLook role configured for 42mm 2x Question: Is this a known issue, and is there a workaround to produce an upload that passes validation? I can provide build logs for both sides on request.
0
0
105
3w
Importing Base44 project into Xcode
Hello everyone, I am currently building an app using Base44 and want to bring my project code over into Xcode so I can implement StoreKit in my app for IAPs. Since I am new to moving a web/external project setup into Xcode's native environment, I was hoping to get some guidance on the best workflow. What is the recommended way to structure or import a Base44 project into Xcode? Are there any specific configuration steps or file adjustments required so that Xcode recognizes the source files properly? Once imported, are there any "gotchas" to keep in mind when setting up StoreKit configurations within the new Xcode project? Any advice, tips, or step-by-step pointers would be greatly appreciated! Thanks in advance.
0
0
95
3w
Xcode 27 Documentation download fails: MAQueryTooManyResults
Xcode 27 keeps failing to download the Documentation, it shows "Preparing to download" and spins the camomile endlessly. I checked logs (with help of AI) and found this: Xcode queries com.apple.MobileAsset.AppleDeveloperDocumentation. Metadata catalog loading suceeds. Then asset resolution loops with: MAQueryTooManyResults - Asset load result ... 13 (MAQueryTooManyResults) Also CSSMERR_CSP_VERIFY_FAILED from mobileassetd during this sequence. In my /System/Library/AssetsV2 I have 3 old .asset files all from Xcode 26, the last one updated on Jun 12. But I don't think it's the reason for the error. What would you suggest to recover the documentation?
2
1
136
3w
iPhone Duo Simulator fails boot with “Data Migration Failed” on Xcode 27.1
I’m seeing a reproducible iPhone Duo Simulator boot failure in Xcode 27.1. Environment Xcode 27.1 / 27A9275 macOS Tahoe 26.6.2, then 26.7.1 Apple silicon Mac iPhone Duo / V68 / iPhone19,4 iOS 27.1 Simulator Runtime builds 24A94232 and 24A94425 Failure Running: xcrun simctl bootstatus -b terminates with: Status=3, isTerminal=YES Data Migration Failed Fresh Duo devices reproduced the failure on both runtime builds. During fresh migrations, DataMigrator logged: Reporting migration failure due to migration progress window incident On one fresh-device run, all 35 recorded migration plugins completed successfully, but the aggregate migration result was false and no failed-plugin identifier was exposed. I also tested: brand-new Duo simulator data restarting the correct CoreSimulatorService explicitly selecting runtime 24A94425 updating macOS from 26.6.2 to 26.7.1 An ordinary iPhone simulator on iOS 27.0 works on the same Mac. The failure occurs before any application is installed or launched. Feedback filed: FB25221101 Has anyone else seen this with the iPhone Duo Simulator in Xcode 27.1?
0
0
181
3w
Xcode show changes in GitHub PR leads to endless spinner
I created a new Project on Xcode 16 on macOS Sequoia and connected it to a GitHub repository. After making a change on a sub branch, I opened a pull request. On GitHub I can see the changes I made in a diff view. However when I select the PR in Xcode and click on "View Changes" all I get is a endless spinning activity indicator. I could not find anything that would explain this behavior. Any help very welcome.
5
3
612
3w
Xcode 27.1 compilation error possibly due to swift versions discrepancy
Compiling my project using Xcode 27.1 ends with an error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/SwiftUI.framework/Modules/SwiftUI.swiftmodule/arm64e-apple-macos.swiftinterface:1:1: error: failed to build module 'SwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1)', while this compiler is 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)'). Please select a toolchain which matches the SDK. 1 | // swift-interface-format-version: 1.0 | `- error: failed to build module 'SwiftUI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1)', while this compiler is 'Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)'). Please select a toolchain which matches the SDK. 2 | // swift-compiler-version: Apple Swift version 6.4 effective-5.10 (swiftlang-6.4.0.31.4 clang-2100.3.31.1) 3 | // swift-module-flags: -target arm64e-apple-macos27.0 -enable-objc-interop -target-arch-variant arm64e.x1 -enable-library-evolution -language-mode 5 -O -library-level api -enable-experimental-feature AnyAppleOSAvailability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -user-module-version 8.0.84.1.406 -module-name SwiftUI -package-name SwiftUICompiling it with Xcode 27 ends without error. Do you see any other root cause than the one mentionned: Xcode 27.1 uses swiftlang-6.4.0.34.1 clang-2100.3.34.1 while internal sdk was compiled with swiftlang-6.4.0.31.4 clang-2100.3.31.1 ?
Replies
1
Boosts
0
Views
261
Activity
2w
Xcode 27.1 Cnvas stuck on the Duo
Hey All, I am running Xcode 27.1 on a Mac Studio running GG 27.0.1 No matter which simulator is selected, Xcode shows the Duo. I am tearing my hair out trying to update for the nnew phones. Any idea what is going on? Thanks. Blessings, --Mark
Replies
1
Boosts
0
Views
66
Activity
3w
Xcode 26.6 cannot download iOS 26.5 Simulator runtime — stuck on “Preparing…”
I am unable to download and install the iOS Simulator runtime in Xcode 26.6. Environment: MacBook Air with Apple silicon macOS Tahoe 26.6 Xcode 26.6 Build version 17F113 xcode-select -p: /Applications/Xcode.app/Contents/Developer xcodebuild -showsdks correctly reports: Simulator - iOS 26.5 -sdk iphonesimulator26.5 However: xcrun simctl list runtimes returns: == Runtimes == No Simulator runtime is installed. In: Xcode > Settings > Components I attempted to install: iOS 26.5.1 + iOS 26.5 Simulator but it remains at: Preparing... for a very long time without actually downloading the runtime. I also tried: xcodebuild -downloadPlatform iOS This eventually failed with: Download was cancelled exit code 70 I also tried: xcodebuild -downloadPlatform iOS -exportPath ~/Downloads/XcodePlatforms The destination directory remains at 0 bytes. Checks already completed: More than 860 GiB free disk space Mac restarted Xcode quit and reopened xcode-select points to the correct Xcode installation /etc/hosts contains no Apple blocking entries gdmf.apple.com resolves correctly HTTPS connectivity to gdmf.apple.com works Apple MobileAsset / software update services are running iOS Simulator SDK itself is installed correctly The project can compile for iphonesimulator26.5, but Simulator execution and tests are blocked because no runtime can be installed. Questions: Is this a known issue with Xcode 26.6? Is there an official alternative way to download the iOS Simulator runtime? Can I install an earlier supported iOS Simulator runtime instead? Is there a MobileAsset or Xcode cache reset procedure recommended by Apple? Thank you.
Replies
4
Boosts
3
Views
1.5k
Activity
3w
Please deslopify Xcode
Coding "Intelligence" < Stable IDE I don't use Code Intelligence. I don't use AI. I can disable it in settings, but the button and the hints are always there. Xcode 27 vs. Xcode 16 feels like a dumbed down code slot machine for minors, not a serious product for serious programmers with it's big shiny buttons and buttons to "Generate", "Start a new Chat", etc. If you want to make toys for people to pretend like they are making software — fine. But leave the product for actual programmers alone. I don't want "AI Slop" buttons. I want to write code BY HAND and the IDE to be stable and fast.
Replies
1
Boosts
2
Views
172
Activity
3w
CarPlay Simulator ignores Light appearance setting after sunset
When I set the Appearance in the CarPlay Simulator to Light, the setting is only respected during daytime. After sunset, CarPlay switches to and stays in Dark mode, regardless of the Light setting. This makes it difficult to test Light and Dark mode during evening development sessions, since Light mode is unavailable until the next sunrise. Expected behavior: When Appearance is explicitly set to Light, the CarPlay Simulator should stay in Light mode at any time of day, so both appearances can be tested whenever needed. Actual behavior: After sunset, the CarPlay Simulator remains in Dark mode even though Light is selected. This issue has been present for quite a while. A fix would be much appreciated. Thank you!
Replies
2
Boosts
0
Views
83
Activity
3w
SwiftUI NavigationStack warning messages
After installing Xcode 27.0 SwiftUI NavigationStack is generating unwanted warnings that have not been seen with older releases. Examples of the warnings are "cannot add handler to 0 from 0 - dropping". A minimal view using VStack does not generate these messages but adding NavigationStack seems to generate pairs of messages. Over the lifetime of an application hundreds of messages are generated. Is this a known issue?
Replies
1
Boosts
0
Views
211
Activity
3w
Network connections made by Xcode's MCP tool service when mcpbridge connects (Xcode 27.0)
On Xcode 27.0 (27A266a) / macOS 27.2, I ran xcrun mcpbridge from a scripted stdio MCP client and captured traffic system-wide, with a curl control visible in the same captures. Findings: mcpbridge itself opened no network sockets (online or offline, and under a deny-network sandbox). The "Xcode Service" process it connects to made about 2 KB of outbound TLS to an Apple edge address at startup, plus a certificate check via trustd and a request to devimages-cdn.apple.com. When a workspace was opened through XcodeOpenWorkspace, Xcode Service also made two TLS connections to appstoreconnect.apple.com (about 5 KB upstream). This did not occur without a workspace open, and XcodeListWorkspaces itself caused no traffic. mcpbridge sends a CoreAnalytics event to analyticsd (strings: "MCPBridgeTelemetry: Submitted CoreAnalytics event" / "Telemetry off; skipped"), payload <private>. Questions: What is sent to App Store Connect when a workspace is opened this way, and is it the same as opening the project in Xcode directly? What does the MCPBridgeTelemetry event contain, is it sent off-device, and what setting controls it? Is any MCP tool input or output (file contents, paths, build output) sent to Apple?
Replies
0
Boosts
0
Views
129
Activity
3w
Simulator runtime stuck "Deleting"
I have numerous simulator runtimes marked as "Deleting": $ xcrun simctl runtime list == Disk Images == -- iOS -- iOS 18.0 (22A3351) - 036938A4-AAF7-4671-8880-8E381770E397 (Deleting) iOS 18.0 (22A5326g) - 756A6FE1-A9C7-4A3D-A8FD-01FD7B5F84BC (Deleting) iOS 18.0 (22A5307f) - 5DB182D5-FAA1-477D-922F-CFA728C5A6FA (Deleting) iOS 18.0 (22A5346a) - C844925F-1BCA-46FD-B0B9-21587AB3EDE5 (Deleting) iOS 18.0 (22A5307f) - CC3EB15F-4EAA-4591-AE5C-2762AC17C426 (Unusable - Other Failure: Duplicate of 5E3173BD-25F7-4446-9593-B5E6330B65CE) -- tvOS -- tvOS 18.0 (22J5290l) - A7A2E335-D433-456D-AC61-D5061317A911 (Ready) -- watchOS -- watchOS 11.0 (22R5284o) - 87DB6C3E-A51E-4394-AD35-F6BDCBDEFDC9 (Ready) How to I finish deleting these runtimes? I can't re-install, because: $ simctl runtime add iOS_18_Release_Candidate_Simulator_Runtime.dmg The iOS Simulator runtime 22A3351 is not installed, installing... D: C76A5156-5225-4683-806A-FC604074F2C7 iOS (18.0 - 22A3351) (Unusable - Other Failure: Error Domain=SimDiskImageErrorDomain Code=5 "Duplicate of 036938A4-AAF7-4671-8880-8E381770E397" UserInfo={NSLocalizedDescription=Duplicate of 036938A4-AAF7-4671-8880-8E381770E397, unusableErrorDetail=}) and it's the "Deleting" runtimes aren't usable (causing things like ibtool/actool to stop working), presumably because they're "Deleting." A reboot does not fix anything.
Replies
2
Boosts
1
Views
1.1k
Activity
3w
Differences between cloud and local models in Xcode Intelligence
I can't use cloud-based AI providers, so I'm very excited about the potential of local models with Xcode's Coding Assistant. I've been playing around with a local MLX model, and have been generally pretty satisfied with it. But I'm curious - what features am I missing out on by using a local model instead of a larger, cloud-based model? Is Xcode's ability to run tests, build the project, etc. limited by the use of a local model? Does it limit the ability to do more complex agentic workflows? If so, how? Basically, local models in Xcode seem to be working pretty well for me, and I'm curious to know what cloud-based models can offer that I don't already have.
Replies
6
Boosts
0
Views
1.1k
Activity
3w
How to get the iOS 27.1 APIs in the Xcode 27.1 Developer Documentation window?
I have Xcode 27.1. When I open the Developer Documentation window, it only has the 27.0 APIs. While running Xcode 27.1 if I go to Xcode -> Settings -> Components -> Developer Documentation -> Info, the info window shows the Xcode version as 27.0 and the Developer Documentation Version as 10M13950. Xcode -> About Xcode definitely shows version 27.1. It's very difficult trying to work on iPhone Duo support when the developer documentation doesn't show any of the iOS 27.1 APIs. Is there any way to get the proper documentation loaded?
Replies
1
Boosts
0
Views
682
Activity
3w
Supported network isolation for app-hosted iOS Simulator tests
What is Apple’s supported way to prevent outbound network access during app-hosted iOS Simulator unit tests, without disabling system services or modifying system tunnel routes? Environment: Apple silicon Mac, macOS 26.6.2 Xcode 27.0, iOS 27.0 Simulator Separate, newly created Simulator Xcode-managed local ad-hoc build 17 fictional-data tests using XCTest and Swift Testing We intend to use xcodebuild test-without-building. The test bodies exercise models and request construction without sending requests, but the app host’s startup behavior is also within our isolation requirement. Tests have not been run. During an authorized Wi-Fi-off diagnostic, we waited ten seconds and collected three samples, checking Wi-Fi power before and after each sample. All showed: Wi-Fi Off No effective network interface reported by scutil --nwi No route selected by ordinary local lookups for IPv4 and IPv6 documentation addresses Remaining interface-scoped IPv6 default entries through utun interfaces Routes selected when IPv6 lookups explicitly specified those tunnel interfaces These were routing-table queries only; no diagnostic packets were sent. Wi-Fi was restored afterward. We have not established whether the scoped routes could carry external traffic. Please advise on a supported isolation mechanism and how to validate it for the Simulator test host, including startup. We want to preserve normal macOS security/system services and avoid relying on either route-table presence or absence as proof of isolation. No real user data or credentials are needed. We can provide a redacted diagnostic summary if useful.
Replies
0
Boosts
0
Views
113
Activity
3w
Xcode Coding Assistant closes connection with AI server automatically after 5 minutes
I'm trying to use Xcode Coding Assistant connected to local AI server, but the chat fails after 5 minutes with error: The request timed out. Detail: No Data/Bytes for request: http://localhost... AI server gives me info that client disconnected: 2026-10-19 22:24:23 [INFO] [nvidia/nemotron-3.5-super-vl] Prompt processing progress: 88.3% 2026-10-19 22:24:30 [INFO] [LM STUDIO SERVER] Client disconnected. Stopping generation... (If the model is busy processing the prompt, it will finish first.) 2026-10-19 22:24:30 [INFO] [nvidia/nemotron-3.5-super-vl] Finished streaming response 2026-10-19 22:24:31 [DEBUG] 17.12.133.523 W srv stop: cancel task, id_task = 0 2026-10-19 22:24:37 [DEBUG] 17.18.441.198 I slot release: id 0 | task 0 | stop processing: n_tokens = 47985, truncated = 0 It looks like http/tcp default timeout. AI suggests that it should be possible to set Xcode Coding Assistant timeout, but I cannot find it anywhere. How is Xcode Coding Assistant supposed to work if it shuts down on default network protocol timeout? I haven't tried yet on nVidia hardware, which should be faster, but it could still be a problem when working on multiple files in project with inference running on one Blackwell chip. I do not have nVidia rack with 72 chips, it wouldn't fit to my home office. How do I change the network timeout for Coding Assistant? Configuration: MacOS 27.0.1 (26A434) Xcode 27.0
Replies
1
Boosts
0
Views
100
Activity
3w
Xcode 26.3 actool does not compile watchOS longLook icon role, but App Store Connect validator demands it
I'm hitting a toolchain inconsistency between Xcode 26.3's asset compiler (actool) and App Store Connect's upload validator, and I have build logs proving both sides. The builder side (actool in Xcode 26.3): When compiling the asset catalog for our watchOS target, actool reports "unassigned children" for the watchOS longLook icon role - specifically [watch][44x44][longLook][42mm][2x] - and does NOT compile it into Assets.car. The 42mm longLook icon simply cannot be produced by the toolchain. The checker side (App Store Connect): Uploading the resulting archive is REJECTED by the App Store Connect validator with a "Missing Icon" error for a 44x44 at 2x image (Long Look 42mm). So the builder cannot produce the exact icon the checker demands. This is an Apple toolchain inconsistency - either: actool should compile the longLook 42mm role into Assets.car, or the App Store Connect validator should not demand an icon the toolchain cannot emit. Environment: Xcode 26.3 watchOS app target with an App Icon asset catalog containing the longLook role configured for 42mm 2x Question: Is this a known issue, and is there a workaround to produce an upload that passes validation? I can provide build logs for both sides on request.
Replies
0
Boosts
0
Views
105
Activity
3w
Importing Base44 project into Xcode
Hello everyone, I am currently building an app using Base44 and want to bring my project code over into Xcode so I can implement StoreKit in my app for IAPs. Since I am new to moving a web/external project setup into Xcode's native environment, I was hoping to get some guidance on the best workflow. What is the recommended way to structure or import a Base44 project into Xcode? Are there any specific configuration steps or file adjustments required so that Xcode recognizes the source files properly? Once imported, are there any "gotchas" to keep in mind when setting up StoreKit configurations within the new Xcode project? Any advice, tips, or step-by-step pointers would be greatly appreciated! Thanks in advance.
Replies
0
Boosts
0
Views
95
Activity
3w
Xcode 27 Documentation download fails: MAQueryTooManyResults
Xcode 27 keeps failing to download the Documentation, it shows "Preparing to download" and spins the camomile endlessly. I checked logs (with help of AI) and found this: Xcode queries com.apple.MobileAsset.AppleDeveloperDocumentation. Metadata catalog loading suceeds. Then asset resolution loops with: MAQueryTooManyResults - Asset load result ... 13 (MAQueryTooManyResults) Also CSSMERR_CSP_VERIFY_FAILED from mobileassetd during this sequence. In my /System/Library/AssetsV2 I have 3 old .asset files all from Xcode 26, the last one updated on Jun 12. But I don't think it's the reason for the error. What would you suggest to recover the documentation?
Replies
2
Boosts
1
Views
136
Activity
3w
iPhone Duo Simulator fails boot with “Data Migration Failed” on Xcode 27.1
I’m seeing a reproducible iPhone Duo Simulator boot failure in Xcode 27.1. Environment Xcode 27.1 / 27A9275 macOS Tahoe 26.6.2, then 26.7.1 Apple silicon Mac iPhone Duo / V68 / iPhone19,4 iOS 27.1 Simulator Runtime builds 24A94232 and 24A94425 Failure Running: xcrun simctl bootstatus -b terminates with: Status=3, isTerminal=YES Data Migration Failed Fresh Duo devices reproduced the failure on both runtime builds. During fresh migrations, DataMigrator logged: Reporting migration failure due to migration progress window incident On one fresh-device run, all 35 recorded migration plugins completed successfully, but the aggregate migration result was false and no failed-plugin identifier was exposed. I also tested: brand-new Duo simulator data restarting the correct CoreSimulatorService explicitly selecting runtime 24A94425 updating macOS from 26.6.2 to 26.7.1 An ordinary iPhone simulator on iOS 27.0 works on the same Mac. The failure occurs before any application is installed or launched. Feedback filed: FB25221101 Has anyone else seen this with the iPhone Duo Simulator in Xcode 27.1?
Replies
0
Boosts
0
Views
181
Activity
3w
Xcode show changes in GitHub PR leads to endless spinner
I created a new Project on Xcode 16 on macOS Sequoia and connected it to a GitHub repository. After making a change on a sub branch, I opened a pull request. On GitHub I can see the changes I made in a diff view. However when I select the PR in Xcode and click on "View Changes" all I get is a endless spinning activity indicator. I could not find anything that would explain this behavior. Any help very welcome.
Replies
5
Boosts
3
Views
612
Activity
3w