Are there any details available on how Xcode 26 connects to third party model providers? For example, can Xcode only use OpenAI compatible API endpoints?
Dive into the vast array of tools, services, and support available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When renaming A.value, it also causes the value inside the conditional compilation in checkRename to be renamed.
How to resolve or avoid this situation?
class A {
let value = "1"
}
class B {
var value = 0
}
func checkRename() {
var b = B()
#if os(iOS)
b.value = 456
#elseif os(macOS)
b.value = 789
#endif
}
Xcode Version 15.4 (15F31d).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Like so many, i am getting
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
DVTErrorCreationDateKey = "2025-06-25 12:50:18 +0000";
}
Failed to find asset: com.apple.fm.code.generate_small_v1.tokenizer.generic - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
System Information
macOS Version 16.0 (Build 25A5295e)
Xcode 16.4 (23792) (Build 16F6)
Timestamp: 2025-06-25T08:50:18-04:00
error when trying to download the AI extension in XCODE
running Tahoe Beta 2; latest Xcode version
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
When launching my app on the iOS 18 simulator using Xcode 26 beta, the app crashes immediately with a missing symbol error:
dyld[23801]: Symbol not found: _NSUserActivityTypeBrowsingWeb
Referenced from: <DDBF5C50-BD0E-34C7-B202-888033A93840> /Users/username/Library/Developer/CoreSimulator/Devices/058F6615-9288-4164-8736-53CBC962FFD4/data/Containers/Bundle/Application/95B984C9-3197-423C-860C-E714BA34ACCB/MyApp.app/MyApp.debug.dylib
Expected in: <443671DB-41AE-3963-8403-E4A484837405> /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreServices.framework/CoreServices
Symbol not found: _NSUserActivityTypeBrowsingWeb
Referenced from: <DDBF5C50-BD0E-34C7-B202-888033A93840> /Users/username/Library/Developer/CoreSimulator/Devices/058F6615-9288-4164-8736-53CBC962FFD4/data/Containers/Bundle/Application/95B984C9-3197-423C-860C-E714BA34ACCB/MyApp.app/MyApp.debug.dylib
Expected in: <443671DB-41AE-3963-8403-E4A484837405> /Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreServices.framework/CoreServices
dyld config: DYLD_SHARED_CACHE_DIR=/Library/Developer/CoreSimulator/Caches/dyld/24F74/com.apple.CoreSimulator.SimRuntime.iOS-18-0.22A3351/ DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/username/Library/Developer/Xcode/DerivedData/MyApp-dqwvveywparbascmmycuqktsiopv/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libLogRedirect.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libViewDebuggerSupport.dylib:/System/Library/PrivateFrameworks/GPUToolsCapture.framework/GPUToolsCapture DYLD_FRAMEWORK_PATH=/Users/username/Library/Developer/Xcode/DerivedData/MyApp-dqwvveywparbascmmycuqktsiopv/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/
Notes:
I have only tested on the iOS 18 simulator so far.
I have not yet tested on earlier iOS versions or physical devices.
The app runs fine on iOS 26 simulator using Xcode 26, so the crash seems specific to the iOS 18 simulator.
This looks like a system symbol that may not be linked properly in the iOS 18 simruntime.
Is this a known issue with the iOS 18 SDK or simulator runtime in Xcode 26 beta?
Thanks!
Xcode 16.3 build on ios18.4 ,app can't launch. Then lost connection to the debugger .
but Xcode16.3 with ios18.3 can launch
with iOS 18.4. I and my colleagues are unable to launch the app.
and with the xcode error
error.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
When archiving a binary with Xcode, I've always kept my archives in the Organizer so I can symbolicate crash logs using the dSYM files.
I've been thinking about moving to Xcode Cloud for archiving.
Will crash logs still be symbolicated and readable in the Xcode Organizer?
Thank you,
Axel
How to download the runtime simulators for the most recent Xcode 26 beta? The current download command I’m using doesn’t seem to work, and I’m encountering the following issues:
The runtime simulator download command (xcodebuild) requires the version number to be specified explicitly. I’ve tried multiple variations of version names/numbers but haven’t been able to identify the correct naming convention used by Apple for the Xcode 26 beta simulator runtimes.
$ xcodebuild -downloadPlatform IOS -exportPath ~/Downloads -buildVersion 26
Finding content...iOS 26 is not available for download.
$ xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.0
Finding content...iOS 26.0 is not available for download.
$ xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.0 beta
Finding content...iOS 26.0 is not available for download.
$ xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion "26.0 beta"
Finding content...iOS 26.0 beta is not available for download.
$ xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion "26.0_beta"
Finding content...iOS 26.0_beta is not available for download.
$ xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.0_beta
Finding content...iOS 26.0_beta is not available for download.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Is this place just for customers of the "developer program" to help each other, or is there any apple employees here able to help, with privileged access?
Seems to me that not, but i prefer to ask anyway, it's not clear to me
Because if there are some employees here, can you please do your job
regards
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
I have a Vulkan project on Xcode which should open one window.
I quit Xcode, open Xcode, open my project and then run my project. This results in one window opening.
Then I close the window. Run the project and two windows open on top of each other.
I again quit Xcode, open Xcode, open my project and then run my project. This results in one window opening.
So in order to get my project to run properly (open only one window), I have to restart Xcode.
I have an older Vulkan project I'm working on in Xcode, which opens properly. I'm setting up this project the same way as this older project.
I am following the Setup Vulkan (MoltenVK) With GLFW On Mac Using Xcode - Vulkan Graphics/Games Programming Youtube video. https://www.youtube.com/watch?v=_j3ugZwT3Vc&t=19s
I have my project up on Github, if someone could take a look and tell me what may be wrong with it. https://github.com/flocela/BlackSpider
Thank you. : )
Topic:
Developer Tools & Services
SubTopic:
Xcode
Apple claims you can share files to the Xcode simulator.
The first step works (share-to-simulator context menu exists). But when you execute this nothing happens.
This contradicts the apple documentation which states:
a Simulator opens the Files app, and lets you select where to save the files.
If I instead try to drag and drop between the Mac and the simulator's file manger I receive the message:
Simulator device failed to open file:///Users/me/Downloads/Exchange/ExampleExport.json.
So what is the trick? Is there a missing authorisation that I need to set in the simulator's settings for example?
MacOS: 15.5
Xcode: 16.4 (16F6)
... the latest stable Apple versions.
I'm seeing an error in my project that doesn't provide enough information for me to investigate further in my "Compute target dependency graph" stage:
error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
Is there anything I can do to get Xcode to print more information to the error navigator that might help me to work out what's causing this?
This error has persisted across Xcode 26 beta 1, and still happens in Xcode 26 beta 2. It did not occur in Xcode 16.x.
FB18045265
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello, it's been about a month since I haven't had access to the application part of my App Store Connect account. When I try to access it, I'm asked to provide my documents, which is what I naturally did, but each time there are errors that come out and when I contacted Apple about these errors, they asked me to clear the cache of my connection browser and try again, which is what I naturally did, but the same error persists. Then they asked me to send them the "har" file from my Safari browser, which is what I did, then a few days later they made me understand that the problem is resolved. I went to check and I saw that the problem is still not resolved. I finished the cache and the problem is still not resolved, so I tried with other browsers, it's the same problem. I tried with other devices too, it's the same problem, so I contacted them again to tell them that the problem is still not resolved and from him since then no answers. If someone can help me please
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Dear Apple Developer Support team,
I would like to request an official confirmation regarding the handling of transaction status in the App Store Server API, specifically for the GET /inApps/v1/transactions/{transactionId} endpoint.
As per our current understanding from the official documentation (Get Transaction Info), the API’s behavior appears to be:
If a transaction is finalized and successfully processed by App Store, querying this API will return HTTP 200 OK along with transaction details.
If a transaction is still in a pending or deferred state (such as awaiting Ask to Buy approval or pending authorization), the API will not return a 200, and instead respond with HTTP 404 Not Found or an appropriate error.
Could you please confirm if this behavior is accurate and officially supported?
Specifically:
Does a 200 OK response guarantee that a transaction is finalized and successfully recorded on App Store servers?
In cases where a transaction is pending approval (e.g. Ask to Buy), is it correct that GET /transactions/{transactionId} would return 404 Not Found until the transaction is finalized?
We would greatly appreciate your confirmation to align our server-side logic for transaction validation accordingly.
Thank you very much for your support!
Kind regards,
cuongnx
Topic:
Developer Tools & Services
SubTopic:
Instruments
Tags:
Wallet
StoreKit Test
StoreKit
Apple Pay
XCode 26 beta 2 is taking more than 20 seconds to start AVCaptureSession when AVCaptureVideoDataOutput and AVCaptureAudioDataOutput are added. The problem occurs only during debugging and is clearly seen with Cinematic Capture sample code by Apple. I am using iPhone 14 Pro running iOS 26 beta 2 for reference.
Xcode 16.2 runs well, but encountered the problem in Xcode 16.3.
Topic:
Developer Tools & Services
SubTopic:
Xcode
How can I get the macOS version from the Mac Catalyst version? We're building Info.plist files ourselves but we need a way to programatically (using shell scripts) derive the LSMinimumSystemVersion key needed from the iOS deployment target.
I'm building and running from Xcode 26 to macOS 15.5. On launch, app crashes on start dynamic runtime linking with failure to find _LocationEssentials framework.
I've tried
deleting and reinstalling the beta
deleting and re-adding the iOS support
deleting and re-adding all the simulators
clearing DerivedData and CoreSimulator/Caches
rebooting
waiting a little while and rebuilding
Nothing works. Anyone else had any success?
It seems as though using any initializer of SubscriptionOfferView or StoreView will create a memory leak.
This can be simply reproduced by adding this to your SwiftUI view:
SubscriptionOfferView(groupID: "yourgroupID", visibleRelationship: .all, useAppIcon: true)
or
StoreView(ids: ["monthly", "yearly"])
Tested on iOS 26 beta 2