We are preparing builds using Xcode 16.0 given we have a large set of users on iOS 12.
Now we have doubts wether we will run into issues if we ship using it (even if it compiles, archives and uploads successfully) given the table columns and content has changed since the last time we checked this table: https://developer.apple.com/support/xcode/.
1- Is the Deployment Targets range for Xcode 16 value correct for iOS? (On the 24th of February it had iOS 12-18, now it has iOS 15-18)
2- Are we OK to ship for iOS 12 using xcode 16.3?
Thanks,
Joao Garcia
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
The Files app in the iOS 18 beta simulator appears to be read-only. I am unable to:
create folders
copy files into it by dragging them from macOS
safe files from safari
I have been unsuccessful at finding a way to popular any file or folder in the Files app which is preventing me from testing some scenarios in my app where I import files using the files sheet.
The earliest I tried was beta 3 and it still persists in beta 7. The iOS 17 simulator works fine in comparison.
My mac is a 2019 macbook pro running Sonoma 14.5.
To reproduce:
New folder
Launch Files app in iOS simulator
Tap into "On my phone"
From the top menu tap "New Folder"
(nothing happens)
Download a file
Launch safari
Find a file like a PDF to download
Tap on the down arrow in the toolbar
Files opens up with the filename in the textfield at the bottom
The "Save" button is grayed out.
Copy from macOS
Open the Files app in iOS and browse to a local folder
drag a file from the macbook onto the simulator
the sheet appears with the filename in the text field
The "Save" button is grayed out
After not happening to me for a few months, this issue has started hitting me again with currently %100 reproducability.
If turn on VPN on my Mac then instantly the developer certificates within the keychain become untrusted.
But that's not all, if VPN is then turned off the certificates do not revert to their trusted status but remain untrusted.
The consequence of this is that if VPN is turned on and then a build is perform, it fails, and the only way to fix things is to delete the cert(s) from they keychain and re-install them.
As a remote worker, having this happen several or even dozens of times a day is incredibly annoying and frustrating.
This issue has been occurring for literally years, sometimes it occurs very often, others while its quiet for a while, and has spanned multiple versions of Xcode and Mac OS. So whatever the cause is its endemic. It doesn't just affect myself, but all the members in my development team.
I'm currently using Xcode 14.1 RC 2 and Monterey but I've seen this issue occur with many versions of Xcode and Mac. (I'm using Cisco AnyConnect Secure Mobility Client).
If the VPN is somehow interfering/affecting the connectivity aspect when an attempt is made by Xcode to validate the certificate, then why does it not rectify itself after turning off VPN?
This is so so so so annoying.
Can somebody please comment on why this happens and if there's a way to prevent it.
Hi,
I work on a iOS application which includes several local swift packages containing modularised code. Each of those local swift packages has a test target defined in their respective Package.swift, and when opening a local package folder standalone in Xcode, then the tests run without issues.
However I would like in the main app's test plan to add the local package test targets and have them all run together when the main app's default test plan is run. Xcode allows me to select local package test targets within the main app's test plan (also within Test portion of the main app's scheme), however attempting to build for testing throws a "Module '…' was not compiled for testing".
Any ideas on how to achieve this goal (run local package tests in conjunction with main app's tests) and avoid that error?
Thanks
Peter
Hi, I'm setting up Xcode and after updating MacOS to 15.2 and Xcode to 16.2, I cannot download the Predictive Code Completion Model. I've done some research and I haven't found any solution, specially since most people suggest that it randomly fixed itself, which for me hasn't been the case. I've tried restarting my Mac, uninstalling and reinstalling Xcode multiple times, I've also reinstalled MacOS from Recovery and haven't found any success (I'm also not running Xcode inside a VM, as I've seen this can cause some problems in this case).
This is the error that I receive when I attempt to download the model:
And here are the details:
The operation couldn’t be completed. (IDELanguageModelKit.IDEModelDownloadAdapter.(unknown context at $11eba9a90).DownloadError error 3.)
Domain: IDELanguageModelKit.IDEModelDownloadAdapter.(unknown context at $11eba9a90).DownloadError
Code: 3
User Info: {
DVTErrorCreationDateKey = "2024-12-26 23:09:25 +0000";
}
--
There was an error processing the asset.
Domain: IDELanguageModelKit.IDEModelDownloadAdapter.(unknown context at $11eba9a90).DownloadError
Code: 3
--
System Information
macOS Version 15.2 (Build 24C101)
Xcode 16.2 (23507) (Build 16C5032a)
Timestamp: 2024-12-26T17:09:25-06:00
For the record, I'm a new developer and I'm still learning, so thank you very much!
Hi
I've downloaded the latest version of Xcode 14.2 but when I run the app in Simulator I can only test it on iOS16.2 Is there a way to run it in 16.3?
xcode 15.2, mac m2 mini, 14.2.1 sonoma
i need a pdf file to stage my app for screen shots for the market. icloud wont sync, cant drag files to the home screen or any screen, it just does not work.
i am at the end of my rope here, i just need some screen shots, my app is approved and ready
am i wrong>? is there a way to do this or is it just broken now in the name of (lazy) security?
edit--the more i read the more i angry and frustrated i get. this is broken and will not be fixed. i need to just workaround via email. so happy my second 100 dollar developer subscription bill is coming up!
Hi,
After updating to Sequoia and the newest Xcode, I ran some Mac apps from Xcode. No code was changed, but suddenly, I'm getting:
Can't find or decode reasons
Failed to get or decode unavailable reasons
Can't find or decode disabled use cases
NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed
One problem (I think) is that - Mac/System/Library/PrivateFrameworks/MetalTools.framework/MetalTools is an alias with no original that can be found.
However, the MetalTools does exist in, for example, /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/System/Library/PrivateFrameworks (and Mac ones).
The app is very simple/
Any suggestions? I have an Intel Mac.
Thank you!
-Ashley
Hi everyone,
I recently updated to Xcode 26.0 and noticed that the “Extract Subview” refactoring option seems to be missing.
Now, in Xcode 26, the only options I see under Editor -> Refactor -> are:
Extract to Selection File
Extract to Method
Extract to Variable
Extract All Occurrences
But there’s no Extract Subview as there was before.
Was Extract Subview intentionally removed in Xcode 26? Or is it hidden behind a new menu location or renamed?
Since a few days, I'm trying to fetch our private SPM repo hosted on Azure via Xcode but without success. Actually they now accept only ssh key RSA-SHA2-256 or RSA-SHA2-512.
So I created a new SSH key, but it seems the problem persists when I try to fetch spm repo or git clone via xcode:
"You’re using ssh-rsa that is about to be deprecated and your request has been blocked intentionally. Any SSH session using SSH-RSA is subject to brown out (failure during random time periods). Please use rsa-sha2-256 or rsa-sha2-512 instead. For more details see aka.ms/ado-ssh-rsa-deprecation. remote: ERROR_SSH_UNSUPPORTED_CIPHER (7) (-20)"
Even so I'm choosing the good new ssh key, it seems Xcode is sending wrong information about the new generated ssh key.
Anyone is experiencing the same here?
Hello,
I am currently working on personal project based on Matter.
I need to create a Basic Video Player as specified in Matter's standard embedding the Media Playback Cluster.
I went through the reading of how Apple now supports Matter as a standard :
linkText
My understanding of the following schematic, is alongside :
HomeKit Accessory Protocol (HAP) Framework API
Related HAP accessories underneath the homeKit framework.
Developpers also find under the Homekit framework :
CHIP (Connected Home IP) Framework API
Related Matter accessories this time
Both types of accessories/devices can be commissioned in the HomeKit ecosystem seemlessly.
Each framework has it's documentation :
HAP : https://developer.apple.com/documentation/homekit/hmhomemanager
CHIP : https://developer.apple.com/documentation/matter
I want through the process of installing XCode and the HomeKit Accessory Simulator. In the list of HomeKit Accessories I did not see any Media related devices :
The list of currently supported devices is limited as I read here and will be enriched with time :
https://support.apple.com/en-us/102135#:~:text=The%20Home%20app%20currently%20supports,%2C%20temperature%2C%20and%20humidity).
In the meantime, as I read the matter documentation, I read several references made to the Media Playback :
https://developer.apple.com/documentation/matter/mtrclustermediaplayback
https://developer.apple.com/documentation/matter/mtrbaseclustermediaplayback
https://developer.apple.com/documentation/matter/clusters#Interacting-with-the-Media-Playback-cluster
My questions are :
Are Matter Basic Video Players, (Media Playback) supported in HomeKit ?
Why aren't they listed in HomeKit Accessory Simulator ?
How can I add a Basic Video Player in HomeKit and display it's Media Playback controls once I have added the device to HomeKit ?
Thank you for your Answer.
Regards
David
We have an existing app in which we have implemented AppShortcuts. The snippet view works fine in iOS 17 while in iOS18 beta, it doesn't able to fetch color from xcassets. If we use system colours or UIColor it's working fine.
Not working
Color("progressColor")
Working
Color(uiColor: UIColor(named: "progressColor")!)
Color.red
Color(hex: "3881d3") // Note: We created Color extension to generate color from hex string.
Is there any way to stop previews from live updating? It's constantly running and that's nice when I'm developing, but I'd like it to pause updating when I'm not using the Xcode. It heats up my m1 air and drains unnecessary power reducing the battery levels significantly.
I've recently installed Xcode Version 15.0 (15A240d) and when I set a breakpoint it doesn't stop on the line of code where the breakpoint is set. Rather, it opens another window with the hex code. If I press F6 it doesn't highlight the next line of code, but I can see that it moved because the variables are changing.
Is this a known bug? I have tried all the usual stuff like deleting derived data and restarting everything. I have even deleted com.apple.dt.Xcode directory in ~/Library/Caches. to set things back to the defaults. The only thing I haven't done yet is reinstall Xcode.
Unfortunately, this is very bad timing as I need to get my app finished for the iOS17 and WatchOS 10 release.
I'm getting following message when launching #Playgrounds canvas with Xcode 26 beta 4.
Here are things I've tried:
Reinstall Xcode
Reinstall components
Removed derived data
Run Disk Utility to fix permissions
Tried to change Default Actor Isolation, Approachable Concurrency
Changed around settings on Schemes: Run: Options and Diagnostics
Created brand new project with default settings.
Filed FB19003005 in Feedback Assistant.
I'm surprised to see that I didn't see any posts on this during my search. So this could be isolated matter just to me.
Happy to have a new MacBook Pro M4 now - the new machine was setup from time machine backup of my old MacBook Pro M1.
Sadly Predictive Code Completion does not work on the new M4 (it was working great on the M1).
Xcode shows as downloaded component:
Predictive Code Completion Model [com.apple.fm.code.generate_small_v1.base: 500.1.81600.13.200772,0] [com.apple.fm.code.generate_safety_guardrail.base: 1.6.81619.13.200716,0] [com.apple.gm.safety_deny.input.code_intelligence.base: 32024010.20241007.171244.100.377,0] [com.apple.gm.safety_deny.output.code_intelligence.base: 32024010.20241007.171244.100.377,0] (Installed)
Things I already tried:
Removed and reinstalled Xcode 16 (also latest beta).
Disabled/enabled Xcode Editor Settings for predictive code completion
Many many reboots
Removed Xcode cache
Maybe the downloaded Model is somehow locked to the old machine?
How can I remove, redownload or reinstall it again?
Thank you very much.
Tobias
Attempting to launch a widget in Debug mode on Sonoma from Xcode 15 is failing with the following message:
attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)
Looking in console I see this message:
macOSTaskPolicy: (com.apple.debugserver) may not get the task control port of (MacGalleryWidget) (pid: 1851): (MacGalleryWidget) is hardened, (MacGalleryWidget) doesn't have get-task-allow, (com.apple.debugserver) is a declared debugger(com.apple.debugserver) is not a declared read-only debugger
What Xcode settings should I be looking at to rectify this? I suspect I may have something that's out of whack.
I can't find Rosetta Simulators in Xcode 26 Beta, even when I select "Show all destinations."
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
The launchscreen section in Xcode 16 RC keeps disappearing no matter what. Is anyone else seeing this issue?
I submitted a bug report over a week ago about this problem.
Dan Uff
Really stumped on this issue my team is seeing with the Xcode 16 Beta (both Xcode 16 version 6 and Xcode 16.1). Wondering if anyone was having a similar issue and if this is a bug or something configured incorrectly.
Basically, when I go to build settings and search for anything related to "Swift Compiler" nothing shows up. The only thing that appears with "Swift" in the title is under the User Defined keys (see attached)
As such, I'm unable to change the Swift version for the project and I'm stuck in Swift 6 language mode which we're not quite ready for yet.
This is only occurring on one of our targets. Our other app projects are behaving as expected. The project in question has the main target we build the project with and 2 support frameworks. The supporting frameworks are also working correctly. Its just the primary build target giving us fits.
Curious if anyone is seeing something similar or has suggestions. Thanks!