We are getting unreliable results on XCode Cloud tests. I'm not sure if it's related to the current service outage.
I'm running a very simple XCTest UI suite, on some devices it succeds and it others it fails to start. I'm not getting a userful error message.
MyApp-Runner encountered an error (Failed to prepare device 'iPhone 16 Pro Max' for impending launch. (Underlying Error: Unable to boot the Simulator. launchd failed to respond. (Underlying Error: Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding)))
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
Hello,
I have multiple iOS applications using Xcode projects built with Flutter. Originally I created this applications with my Apple ID, however, since then I lost access to my Apple ID's email. I updated my Apple ID email to a new email and now I cannot even build an app locally for the iOS Simulator.
I'm on macOS 15 / iOS 18 simulator.
Here is the output from xcodebuild:
DVTDeveloperAccountManager: Failed to load credentials for [OLD_EMAIL]: Error Domain=DVTDeveloperAccountCredentialsError Code=0 "Invalid credentials in keychain for [OLD_EMAIL], missing Xcode-Token" UserInfo={NSLocalizedDescription=Invalid credentials in keychain for [OLD_EMAIL], missing Xcode-Token}
Where OLD_EMAIL is the old Apple ID email.
When I go into my Keychain Access app, I remove all references to my old email, but they regenerate when trying to build the app. I've tried doing manually signing on the xcode project config, but that gives the same error as well.
This is only on old projects. When I run a new project, I do not have any errors building or uploading to App Store Connect.
Any help would be greatly appreciated. Thank you
Topic:
Developer Tools & Services
SubTopic:
Xcode
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.
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!
I'm not able to download my Private key since Yesterday and I get the following error message when I click on "Download"
Auth Key can only be downloaded once. This auth key has already been downloaded.
I revoked all my existing keys and created new ones and I get the same error message. I tried all the mentioned solutions on this forum and StackOverflow like using Safari,turning off VPNs,removing spaces from Key name, using my iPhone, using a Mac, incognito/private mode on Windows Microsoft Edge, clicking done then pressing download after, right clicking on download Linked File as...nothing seems to work
XCode version: Version 16.0 (16A242d)
macOS: 14.6.1 (23G93)
Hi, I'm getting this error while uploading my app using XCode 16. I just updated XCode from 15 to 16. On XCode 15 it worked fine when I uploaded apps, no error no warnings, but on XCode 16 there are list of warnings for OneSignal framwork.
Here is one of the error, and the others are all the same (OneSignal has multiple packages).
Upload Symbols Failed
The archive did not include a dSYM for the OneSignalUser.framework with the UUIDs [***]. Ensure that the archive's dSYM folder includes a DWARF file for OneSignalUser.framework with the expected UUIDs.
My Podfile looks like this:
target 'my_target' do
# other packages
pod 'OneSignal/OneSignal', '>= 5.0.0', '< 6.0'
pod 'OneSignal/OneSignalInAppMessages', '>= 5.0.0', '< 6.0'
end
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignal/OneSignal', '>= 5.0.0', '< 6.0'
pod 'OneSignal/OneSignalInAppMessages', '>= 5.0.0', '< 6.0'
end
OneSignal uses vendored frameworks, and I don't believe they provided the symbol files.
Will this affect my app in any way? How can I resolve this issue?
Hello,
I'm checking to see if anyone else is experiencing an issue downloading the latest beta simulator.
When I try to download the iOS 26 beta 5 simulator in Xcode, the download fails instantly. There is no progress, just an immediate error with no message other than the code itself: DVTDownloadableErrorDomain Code: 41.
I've already restarted both Xcode and the Mac multiple times. I have also tried downloading on different networks to rule out a firewall issue.
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
Hi
Excited to try out the new Xcode Swift code completion ML tools demo'd yesterday at the SOTU.
I am running macOS 14.5, using a VM Via Virtualization Framework ( UTM.app) to run macOS 15 Beta 1.
Ive installed XCode 16 Beta 1 in my Host OS (macOS 14.5) and was able to successfully install, boot, and set up macOS 15 as a VM client.
Ive installed Xcode 16 in my VM Client, and upon launch, was asked to download the Predictive Text model.
I see this error:
The operation couldn’t be completed. (ModelCatalog.CatalogErrors.AssetErrors error 1.)
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
User Info: {
DVTErrorCreationDateKey = "2024-06-11 20:11:32 +0000";
}
--
Failed to find asset: com.apple.fm.code.generate_small_v1.tokenizer - no asset
Domain: ModelCatalog.CatalogErrors.AssetErrors
Code: 1
--
System Information
macOS Version 15.0 (Build 24A5264n)
Xcode 16.0 (23037.4) (Build 16A5171c)
Timestamp: 2024-06-11T13:11:32-07:00
Topic:
Developer Tools & Services
SubTopic:
Xcode
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.
We have a Xcode project consisting of:
A mix of Swift and Objective-C code app code ~ 1600 source files.
Roughly around 35 {XC}Frameworks. Some of them are binary and some of them are getting built as a dependency to our app, etc.
Binary libraries.
Most of the frameworks built together with app code are Objective-C or Swift-based, which have their own amount of sources files and framework dependencies.
The binary frameworks mostly contain cross-platform C++ code.
Our (the poor developers) frustration is that almost all time when we do a insignificant change (or even just tap Cmd-R without any changes) in Swift-file or Objective-C file (.m) and then build again then big sh*t show starts again...
For example:
Frameworks may get rebuilt even though they are not touched.
Tons of app-level files get built again even though no interface changes, etc. was made.
Module verifier keeps verifying modules not touched at all, which takes really long time.
Xcode 16 didn't seems to improve the situation - on the contrary.
Example of an untouched framework that for unknown reason goes trough this every time we build:
I know it is hard to come with ideas to solve this for an unknown larger project. But do other people with similar-size projects also experience this or is re-building not an issue for you?
Cheers!
When I try to delete an iPhone 16 Pro iOS 18.1 Simulator in XCode 16.1, I get an error message "“data” couldn’t be moved because you don’t have permission to access “Deleting-8366D3CC-37EC-49C0-8674-0599BCE1DA12”.". I had that same issue with iOS 18.0 Simulator but never with previous versions (17.5).
Note that I'm stuck using the iOS 18.1 Simulator because iCloud synchronization is paused (potentially due to low data mode).
And I cannot use iOS 18.0 Simulator as well because unit tests run hangs for some other mysterious reason.
The fallback to iOS 17.5 Simulator is not satisfactory.
When test support code relies on production code, a diamond can occur. If this occurs across packages, it can lead to duplicated symbols and incorrect behavior at runtime despite no warnings at build time. This only occurs in Xcode and top-level application testing. This doesn't occur when the code being tested is in a separate package.
I'm trying to understand how to correctly manage shared test support code which needs to access production code, or if this is the correct way and it is an Xcode bug.
For a minimized example project, see https://github.com/rnapier/SupportCode.
The setup includes three packages: Dependencies, which manages all the dependencies for the app and tests; Core which contains core logic and test support; and Feature, which relies on Core an contains feature-related logic and test support.
Building this system causes Core.framework to show up three times in DerivedData:
./App.app/PlugIns/AppTests.xctest/Frameworks/Core_59974D35D_PackageProduct.framework
./App.app/Frameworks/Core_59974D35D_PackageProduct.framework
./PackageFrameworks/Core_59974D35D_PackageProduct.framework
When unit tests are run, there is a collision on the symbol for Keychain:
objc[48914]: Class _TtC8Keychain8Keychain is implemented in both /Users/ornapier/Library/Developer/Xcode/DerivedData/App-grdjljgevqofhqgflgtrqvhvbtej/Build/Products/Debug-iphonesimulator/PackageFrameworks/Core_59974D35D_PackageProduct.framework/Core_59974D35D_PackageProduct (0x100a98118) and /Users/ornapier/Library/Developer/CoreSimulator/Devices/216C441E-4AE5-45EC-8E52-FA42D8562365/data/Containers/Bundle/Application/7197F2F2-EB26-42FF-B7DB-67116159897D/App.app/PlugIns/AppTests.xctest/AppTests (0x1011002c0). One of the two will be used. Which one is undefined.
This is not a benign warning. There are two distinct copies of _TtC8Keychain8Keychain and test cases will access one and the app will access a different one. This leads to mismatches when accessing static instances such as .shared.
I believe this dependency graph should work, and it does work as long as the top-level testing system is a Swift module. But if it is the application, it builds successfully, but behaves incorrectly in subtle ways.
After upgrading to mac os 15.1 my Xcode has been complaining about iOS 18.1 that is missing. No matter what I do I cannot get it installed, I ended up clearing all caches, re-installing Xcode but that also failed. Downgrading to 16.0 or upgrading to 16.2 beta has the same issue.
Currently I cannot create any simulator or install any version of the iOS platform. Xcode would say it's installing but the runtime would not show up in the list. I have tried adding runtimes using xcrun simctl and also other methods indicated here.
Another colleague of mine that updated to OSX 15.1 also has the same issue so this doesn't seem like a isolated problem.
In the screenshots below you'll see 18.1 is installed but does not show up as an installed runtime.
Just downloaded the latest Swift Playground for Mac (4.6). The Welcome window does not let you scroll horizontally via mouse, trackpad, or other means, so you can only see the first two Learn to Code resources - similar for the App Gallery and Extend Your App sections.
Hi,
I have just updated my MacBook to Tahoe Beta 2, but now I cannot boot the iOS simulator.
Where can I download the next Xcode beta? The Application download page is still showing the Xcode beta 1 build.
Cheers,
Jeff
This is really a disgusting function and I can't turn it off. Because the check box is grey, no way to turn it off. Even I connect my device via cables.
Debug becomes slow. Although I connect my device via cable.
And I'm developing a VPN application, it's rediculous that once I connect VPN from my device, Xcode will disconnect from my device.
I can't stand this function any m
ore. Does anyone know how to turn it off?
I am getting this error message below when I click on "Apps" on my developer account:
{
"errors" : [ {
"id" : "X2Y74EIJ7XZGUEG7WLYX6LNG6M",
"status" : "500",
"code" : "UNEXPECTED_ERROR",
"title" : "Uncaught server exception",
"detail" : null,
"links" : null
} ]
}
Please, can you help as unable to access my apps.
Thanks
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
I am having issues with the Apple review process, the reviewer found some blockers on the iPad with 17.6.1. I don't have the physical device which I could use to reproduce the bags and neither on the Apple Downloads site nor via Xcode I am able to see the 17.6.1 simulators available. Is there any way I could download it? Any suggestions?
Since upgrading to Xcode 16 Swift Package Manager seems to be broken. It can't load recently used packages (just spins the progress indicator). Same thing when trying to search for a new package.
I've looked online and can't find anything useful. I've deleted all the caches. Resetting existing packages completes successfully.
Anyone else seen this before and have any suggestions? Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode