Canvas Previews (targeting macOS) in both Xcode 16.4 & Xcode 26 fail to load, when the project imports a Swift package that imports and uses WebKit.
I'm on macOS 15.5.
Tried also to bring minimum targets of both the project and the package to 15.0.
I see that there are some work-arounds for iOS simulator but nothing for the Mac.
Anyone facing the same problem?
How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am here and I AM UNABLE TO PUBLISH AN UPLDATE!
On xcode in the "signing" i see ONLY ME AND NOT THE COMPANY, i am added as administrator in the apple console developer BUT NOTHING CHANGE!!
i tried to add an account but I STILL NOT SEE THE COMPANY, ONLY ME HOW TO FIX THIS??
THIS IS THE WORSE WAY TO SETUP AN ACCOUNT I EVER SEE
Hello,
I've noticed the prices of my products in my Xcode synced StoreKit configuration are not updated when I change the price in App Store Connect. I tried to manually sync the file, to remove and add it again to my project but old initial prices are still used.
In the screenshot below, the price is currently $2.99 but the file still uses the initial price of $1.99. It makes testing a little bit painful because I'm never sure which product is being shown.
Is this a bug?
Is there a way to get the live production App Store prices be used instead of the starting prices?
I filed a feedback for this: FB17798486
Regards,
Axel
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
StoreKit Test
StoreKit
App Store Connect
Xcode
When installing Xcode on macOS Tahoe, Predictive Code Completion Model cannot install.
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
DVTErrorCreationDateKey = "2025-06-16 04:54:14 +0000";
}
Failed to find asset: com.apple.gm.safety_deny.input.code_intelligence.base.generic - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
System Information
macOS Version 16.0 (Build 25A5279m)
Xcode 16.4 (23792) (Build 16F6)
Timestamp: 2025-06-16T00:54:14-04:00
Topic:
Developer Tools & Services
SubTopic:
Xcode
This is from Mac OS 26 or the prior version.
It seems to be trying to include XCTest, but its no where in the build phases or frameworks? Anyone seen this issue?
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
DVTErrorCreationDateKey = "2025-06-11 15:28:16 +0000";
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
NSURL = "file:///Users/ekaplan/Library/Developer/Xcode/DerivedData/dormway-mobile-feckueenojzruoaobakflnuqoglk/Build/Products/Debug-iphoneos/dormway-mobile.app";
}
Unable to Install “DormWay”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to iterate on macho slices for input file: /private/var/containers/Bundle/Application/D920CF2A-E16B-403F-B2DB-8F1732CA3D5F/dormway-mobile.app/Frameworks/XCTest.framework/XCTest
Failed to iterate on macho slices for input file: /private/var/containers/Bundle/Application/D920CF2A-E16B-403F-B2DB-8F1732CA3D5F/dormway-mobile.app/Frameworks/XCTest.framework/XCTest
Domain: MIInstallerErrorDomain
Code: 73
User Info: {
FunctionName = MIMachOFileIterateImageVersions;
SourceFileLine = 129;
}
parse_macho_iterate_slices failed for /private/var/containers/Bundle/Application/D920CF2A-E16B-403F-B2DB-8F1732CA3D5F/dormway-mobile.app/Frameworks/XCTest.framework/XCTest
Domain: NSPOSIXErrorDomain
Code: 62
Failure Reason: Too many levels of symbolic links
User Info: {
FunctionName = MIMachOFileIterateImageVersions;
SourceFileLine = 129;
}
Topic:
Developer Tools & Services
SubTopic:
Xcode
The project builds successfully but unable to archive project on Xcode 26.
error: "Command SwiftCompile failed with a nonzero exit code"
Maybe it's just me but I can't find the attribute inspector anywhere. I have clicked, searched and tried everything I can think of. I love the new Xcode, but this has me dumbfounded.
We've encountered a critical issue with the new linker of CLT16 (version 16.1.0.0.1.1729049160) that prevents proper initialization of BLOCK DATA.
BLOCK DATA are used to initialize global variables in our Fortran code, and its failure to initialize those variables leads to a program crash. This affects our community of more that thousand scientists worldwide.
The current workaround is using the -ld_classic linker option. However, this option is deprecated and will be removed in a future release, as described in the Xcode release note.
I've attached a minimal example that reproduces the problem using GNU gfortran with the following instructions (the attached main.f.txt and bd.f.txt need to be rename to main.f and bd.f, respectively):
gfortran -c bd.f
gfortran -c main.f
ar rv libtest.a bd.o main.o
gfortran -ld_classic -o good.x -L. libtest.a
gfortran -o bad.x -L. libtest.a
Running the two programs, one can see that the BLOCK DATA are not initialised without the option ld_classic,
$ > ./good.x
3.7273802569289098 2.8083922366048202
$ > ./bad.x
0.0000000000000000 0.0000000000000000
We kindly request your attention to this matter and a prompt solution or alternative workaround.
Best regards
main.f.txt
bd.f.txt
part.txt
Do simulators match real device for pixel density for testing image assets?
Hello!!!
I want to do a little project for the original iPhone running iOS 3.1.3 and I don’t find the SDK for iOS 3.1.3.
I’ve tried downloading Xcode 3.1.3 from the Apple Developer site, but during the installation process, the iPhone SDK doesn’t appear to be included. I also tested Xcode 3.2.2, but it doesn’t seem to have the iPhone OS 3.1.3 SDK either.
Does anyone still have the iPhone OS 3.1.3 SDK available or know where I can find it?
Thanks!!
Edgar
Topic:
Developer Tools & Services
SubTopic:
Xcode
Unable to import CoreHaptics
Starting from scratch: Downloaded Xcode 16.4, selected new project (watch-only app), accepted all defaults. Can write code and run simulator, but cannot import CoreHaptics. Searching for an answer for hours without luck. Would appreciate any help. CoreHaptics is in my Frameworks directory.
Can import Foundation, Combine, etc.
Have reinstalled Xcode 16.4. Have restarted the MacBook Pro (2019,Intel i9, Sequoia 15.5).
No luck so far.
Xcode 16.2 runs well, but encountered the problem in Xcode 16.3.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi guys, i have an issue with my app, i am able to view in app purchase products from my deployed hybrid app (Ionic 8 with Capacitor 7) IOS platform.
My inapp products are displaying on real device os 18.5 but on simulators there are no products. Is there a bug or something.
Simulators tested 16 Pro max iPad m4, and iPad 5th gen all 18.5
other versions below the products does show and on real device.
Your assistance will be much appreciated.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Is SFSymbol Customization officially valid as a method for using SVG in embedded widgets (lock-screen & watchOS)?
I use this in UnitedPizzaHelper but wonder whether this is the prime cause why all widgets of this app gets missing on iOS devices? This issue only happened on at least 2 device in the recent 12 months (they are all on iOS 18, and one of them is running iOS 18.5... Rebooting device won't work.), and we currently have no clue how to troubleshoot this.
Update: The guy running iOS 18.5 told me that the widgets are now discoverable after waiting for minutes. Seems that this is a random issue.
Whenever I run anything in xcode it opens an extra terminal that runs the program then exits immediately, but the app still runs through the normal xcode launch. It's not a huge issue but It's getting really annoying to realize I have like 7 windows of terminal open that are just doing nothing.
Has anyone had this issue before?
This year, if I update my Mac to the MacOS 26 Tahoe beta, will I still be able to ship app updates to the App Store using Xcode 16.4 until Xcode 26 is GM?
Thanks!
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have two targets:
Library
and
Generate-Library-Modulemap
I use a modulemap to help bridge the Objective-C++ code to Swift.
Generate-Library-Modulemap is set up to run only when new headers are added (this is done reliably through some trickery). This seems to work, but the problem is that if I add Generate-Library-Modulemap as a dependency of Library, it seems that by the time Library Generate-Library-Modulemap is run, the Library target has already loaded up an outdated modulemap file.
The result is my first attempt to build after adding headers is that the framework fails, as even though the modulemap was generated, it was not attached to the framework. The second attempt succeeds as it reads the updated modulemap.
Is there any way to force Xcode to run the Generate-Library-Modulemap step before starting on Library? Or perhaps attach the modulemap after the fact?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
I'm working on a Unity game which uses Apple Arcade Cloudkit Unity plugin. Cloud save works on all platforms except visionOS. I tried to debug using visionOS 2.4 Simulator. When the game starts XCode display the following error:
DllNotFoundException: Unable to load DLL 'CloudKitWrapper'. Tried the load the following dynamic libraries: Unable to load dynamic library '/CloudKitWrapper' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen(/CloudKitWrapper, 0x0005): tried: '/Users/seb/Library/Developer/Xcode/DerivedData/Unity-VisionOS-akwybgjotadlwrghmmfkhbhpuduf/Build/Products/Debug-xrsimulator/CloudKitWrapper' (no such file), '/Library/Developer/CoreSimulator/Volumes/xrOS_22O237/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 2.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/CloudKitWrapper' (no such file), '/Library/Developer/CoreSimulator/Volumes/xrOS_22O237/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 2.4.simruntime/Contents/Resources/RuntimeRoot/CloudKitWrapper' (no such file), '/CloudKitWrapper' (no such file)
at Apple.CloudKit.CKContainer.CKContainer_Default () [0x00000] in <00000000000000000000000000000000>:0
at Apple.CloudKit.CKContainer.Default () [0x00000] in <00000000000000000000000000000000>:0
I opened up the "Debug-xrsimulator" and indeed there is no CloudKitWrapper. However, if I "show content" on the app and navigate to the "Frameworks" folder, all Apple Arcade plugins are here, including CloudKit. I guess the plugin is in the right location, but the code tries to load it from the wrong path.
I have an Apple Watch 4. (GPS). It's on version 10.6.
I'm trying to deploy a basic app onto it (IOS 18) (WatchOS 9.6).
I've set the targets in General for Watch App, Watch AppTest, Watch AppUITest.
I still get an Apple Watches watchOS doesn't match App Watch app.app watch02 9.6 deployment target. Upgrade users Apple Watch watchOS version or lower app app.apps deployment target.
What can I do to fix this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Watch Connectivity
Developer Tools
WatchKit
watchOS
I realized you needed to install OS Tahoe to get the models in Xcode and its working now, but the chat doesn't edit the code directly like Cursor. Is Xcode going to update to edit code directly? Would love to know. Thanks to anyone that answers.
Topic:
Developer Tools & Services
SubTopic:
Xcode