I am missing device support for IOS 18.5 in xcode. I tried installing xcode 16.4, xcode 16.4 beta and xcode 26 beta 2 but none of them generated folder for 18.5. Is this happening only for me or everyone. Please provide me 18.5 folder if anyone has it. I would appreciate a lot.
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
Can anyone explain why I would be getting this warning ?
[Internal] Thread running at User-interactive quality-of-service class waiting on a lower QoS thread running at Default quality-of-service class. Investigate ways to avoid priority inversions.
The code (NB: This method is called on the main thread)
- (void)parseAudioTracks:(NSArray<AVAssetTrack *> *)audioTracks
{
NSMutableArray<AVAudioMixInputParameters *> *inputParameters = [NSMutableArray arrayWithCapacity:audioTracks.count];
NSMutableArray *tracksNames = [NSMutableArray array];
NSMutableArray *tracksChannels = [NSMutableArray array];
NSUInteger lastChannel = 0;
for ( NSUInteger i = 0 ; i < audioTracks.count; i++ )
{
AVAssetTrack *track = audioTracks[i];
for ( AVMetadataItem *item in track.metadata ) <-- WARNING HERE
...```
hi ,
There is a crash when we run on an **iOS 16 real device **
if we set a .toggleButton trait for accessibilty .
it has version check as apple doc refers (IOS 17 +)
but it crashes
so there is someinconsistency between availbility in ios 18 + , somehow other xcodes made it available from 17
for now we commented our code , but would like dto report this to be fixed
cheers
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi everyone,
We’re developing a macOS SwiftUI app that uses a local Swift Package (CasSherpaCore) to invoke an external compiled binary (sherpa-onnx-offline-tts) for text-to-speech synthesis using system calls. The package works flawlessly when tested from terminal or via a lightweight test C program.
However, when we invoke it from a SwiftUI app (even when Full Disk Access granted to Xcode and Terminal), we consistently get the error:
sh: /Users/xxxxxxxxxxx/SherpaONNX/sherpa-onnx/build/bin/sherpa-onnx-offline-tts: Operation not permitted
We’ve tried:
Granting Full Disk Access to Xcode and Terminal.
Removing the quarantine flag with xattr -d com.apple.quarantine.
Setting executable permission via chmod +x.
Using both system() and Process in C and Swift contexts.
Testing within a Swift Package that’s integrated into the app as a local dependency.
Running the command manually from terminal (works perfectly).
It appears that macOS (or Xcode’s runtime sandbox) is restricting execution of binaries from certain locations or contexts when launched via system() inside the app.
Questions:
Is there a specific entitlement or configuration that allows execution of local binaries from a SwiftUI macOS app?
Is this related to System Integrity Protection (SIP) or a hardened runtime limitation?
Are there best practices or alternative approaches to safely execute local TTS binaries from within a Swift app?
Any help would be deeply appreciated. This is a core feature in our project and we’re stuck at this point. Thank you so much in advance!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Got emailed three .txt crash files. Cannot for the life of me figure out how to get Xcode to do something with them.
Tried:
renaming .txt to .crash
Dropping onto "devices and simulators" window
Dropping on to "devices and simulators > select device >
View device logs"
"Download debug symbols" for the archive in Xcode (says "dowloaded debug symbols" so did it)
... and many other things
Xcode 13 simply refuses to respond to the drag-and-drop of the file no matter the file extension and no matter where in Xcode's various windows/tools I drop it.
Has anyone done this with a crash .txt file from app review and Xcode 13?
Trying to test applications on AVP as opposed to simulator. AVP can connect to MacBook via Mac virtual display so connection exists, but in X code under Windows devices the AVP does not show up same holds true on the AVP itself under remote devices. The MacBook Pro does not appear. I am signed in under the same account on the same Wi-Fi network. I have tried all basic troubleshooting. It is not clear to me that I am logged in as a developer, which could be the issue, but I am using OS 26, which does not appear to have the developer option under privacy and security where it used to reside in previous versions of the OS.
I have an App that has working audio for most devices except for iOS18 + Air pods pro connected.
Eventually I realized that this is due to the Audio Spatialization which is enabled by default.
I found a information property list key called AVGameBypassSystemSpatialAudio which can be enabled to true AVGameBypassSystemSpatialAudio and now the audio works for 90% of the game.
However my game has a .MP4 which when it is played will be paused when the air pods are connected and after force skipping the video the Spatialization is now enabled and the app no longer has audio.
I checked through the logs and found this part
mediaplaybackd <<<< FigFilePlayer >>>> itemfig_establishedStereoAudioSpatializationPreferenceForAsset: <0x53451c000|I/OWH.01>: Stereo Spatialization allowed by default due to asset containing video
After this line I can see the Spatialization being enabled.
Does anyone know how to disable this auto setting of stereo Spatialization by default?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have been working for a while now. Never encountered this issue. After accepting the invite from the organization. The organizations does not appear at developer apple account. But can see the organization at app store connect. Yes i have checked the account permissions. I have the admin role and developer role etc is checked everything is correct. This is not just me happening with my colleague as well.
Developing a standalone app for the Apple Watch.
Unless I turn off Bluetooth on the paired iPhone, the Apple Watch’s Wi-Fi deactivates every ~30 seconds, which causes the connection to Xcode to drop. How is this supposed to work?
I can see my app’s logs in Xcode, but I can’t view any other system logs from the Apple Watch. I tried using the Console app, with the iPhone connected via USB, trusted, etc, but I don't see any system logs. How can I access full system logs?
Thanks!
Ok, I have a bit of special problem. I want to use the "Swift Upcoming Feature Flags" in my packages.
The problem is that we have quite a lot of Packages in a quite deep tree:
at the root of the Package directory there are four dirs:
AppA/
AppB/
Shared/
Temporary/
also the packages ExternalLibs and BuildPlugins. Temporary contains Packages that need rework and the other three subdirs each contain the subdirs:
Features/
Utilities/
Services/
All in all there are over 100 packages.
Now I would like to use definitions like https://github.com/treastrain/swift-upcomingfeatureflags-cheatsheet to use in the Package.swift files. And as you might guess, I do not want to copy those into each and every Package.swift file.
It seems like SPM is only finding includes by itself if they are in the exact same directory as the Package.swift file 🙄 That's not at all helpful…
Has anyone found a way to do useful includes into Package.swift files? Any help appreciated.
Thank You
Roddi
Topic:
Developer Tools & Services
SubTopic:
Xcode
We use several UIKit and AVFoundation APIs in our project, including:
setAlternateIconName(_:completionHandler:)
getAllTasks(completionHandler:)
loadMediaSelectionGroup(for:completionHandler:)
Moreover, we use the Swift Concurrency versions for these APIs:
@MainActor
func setAlternateIconName(_ alternateIconName: String?) async throws
var allTasks: [URLSessionTask] { get async }
func loadMediaSelectionGroup(for mediaCharacteristic: AVMediaCharacteristic) async throws -> AVMediaSelectionGroup?
Everything worked well with these APIs in Xcode 16.2 and earlier, but starting from Xcode 16.3 (and in 16.4), they cause crashes. We've rewritten the APIs to use completion blocks instead of async/await, and this approach works.
Stack traces:
setAlternateIconName(_:completionHandler:)
var allTasks: [URLSessionTask] { get async }
loadMediaSelectionGroup(for:completionHandler:)
Also, I attached some screenshots from Xcode 16.4.
I create a help book for my macOS app and it works locally.
However, when I try to upload the app to App Store Connect I get a strange error:
Image:
Text:
Bad CFBundleExecutable. Cannot find executable file that matches the value of CFBundleExecutable in the nested bundle DottieHelp [com.gingerbeardman.Dottie.pkg/Payload/Dottie.app/Contents/Resources/DottieHelp.help] property list file. (ID: 48052567-91cc-43ca-8d7c-0f14bd60e6da)
This is curious, because there is no executable in the help file.
If I delete CFBundleExecutable from the help target in Xcode, it keeps coming back. Why?
But if I do an Archive build, then go deep into the bundle and manually remove entry for CFBundleExecutable then the build uploads fine.
Any ideas how I can prevent Xcode from adding CFBundleExecutable key to the info.plist of a help file?
macOS 14.7.6 (23H626)
Xcode 16.2 (16C5032a)
Cannot select individual view in selectable mode in Xcode preview, it only show the whole blue device border.
Filed FB17873536 for this, posting here for reach.
I cannot create a provisioning profile to run my Mac Catalyst app on a macOS 26 VM for my project with automatically manage signing (Xcode Managed Profile) enabled. I keep getting an error that “There is a problem with the request entity A device with number '' already exists on this team.” Disabling the device in Certificates, Identifiers, & Profiles does not work; I get the prompt to register the device on the next build but it results in the same error. “Download Manual Profiles” does not work, either.
Additionally, in developer beta 2 (macOS build 25A5295e, Xcode build 17A5241o), I now get a second error message that Provisioning profile "Mac Catalyst Team Provisioning Profile: doesn't include the currently selected device "Virtual Machine" (identifier ).
Clearing out the existing files in ~/Library/Developer/Xcode/UserData/Provisioning Profiles/ didn’t work either.
Steps to reproduce:
Create and set up a macOS 26 VM in the latest version of UTM for Mac
Install Xcode 26 in the VM and sign into your Apple ID in Xcode preferences
Open a Mac Catalyst app’s Xcode project and attempt to build it
An alert comes up that the device is not registered in the developer account. Click the Register button to register it
The process fails with the error mentioned above and it’s impossible to build for Mac Catalyst after this point. (Sign to Run Locally is not an option for me because I use entitlements that remove that option)
I would appreciate any advice on how to get this working. Hopefully I will not have to create an entirely new macOS 26 VM. Thank you!
I have downloaded the new Xcode beta, signed in with my ChatGPT account yet there is still no model available for me to select.
I have reinstalled Xcode, logged in and out of the ChatGPT integration a dozen times, pressed every single button, but nothing seems to make a model appear? Am I stupid or am I missing something?
Topic:
Developer Tools & Services
SubTopic:
Xcode
We're seeing a pretty big problem with 15.x hosts and using SSH to execute builds.
Yet this works just fine in the terminal over VNC.
We see similar limitations with SSH and Virtualization too. They look related, but don't know.
Xcode 16.4
15.4.1 Host OS
Mac Mini M1.
Let me know what else is needed.
+ xcodebuild -workspace /Users/veertu/anka-arm/./Anka.xcworkspace . . . build build
/Users/veertu/anka-arm/build/Build/Products/Release/libpolicy.dylib: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** BUILD FAILED **
/Users/veertu/anka-arm/build/Build/Products/Release/libpolicy.dylib: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** BUILD FAILED **
Watching the Console logs I see
. . .
codesign CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION
codesign error while checking integrity, denying access: CSSM CSSMERR_CSP_NO_USER_INTERACTION
error 14:53:57.404848-0500 codesign SecKeyCreateSignature failed: Error Domain=NSOSStatusErrorDomain Code=-25308 "CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION" (errKCInteractionNotAllowed / errSecInteractionNotAllowed: / Interaction is not allowed with the Security Server.) UserInfo={numberOfErrorsDeep=0, NSDescription=CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION}
default 14:53:57.405567-0500 codesign MacOS error: -2070
. . .
Xcode26 Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
I've been added as an "App Manager" to a team of my company to which the app I'm developing belongs. I've received the invite e-mail, done all required step. On the websites (Apple Developer and App Store Connect), everything to be fine: I properly appear as a member of the team, I see the application, I can edit it.
However, when I log in in Xcode with that account, I only see the "Personal team". Therefore, I got the error "Failed Registering Bundle Identifier" (which makes sense since the app belongs to the team of my company, not to my Personal team).
Since the Apple ID I used is my personal Apple ID (which happens to be my personal email address), and I already done some stuff with it, I feared that there was a problem with this particular Apple ID. Therefore, we tried
to add me to the team with my professional email address. This time, we added this address as a Developer in the Team. But still the same problem: When I tried to log in in Xcode with that 2nd address, I still only see the Personal team. Note that professional email address has never been used on any Apple product before.
I also tried to log out / log in multiple times, restarting XCode, and still the same problem.
What are we missing? How can I be able to select the right team in Xcode?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
in our Xcode project we have a Tooling package, which defines build tool plugins for generating compile time safe constants for our localization strings as well as assets using swiftgen.
This is working very well in Xcode 16, but fails in Xcode 26 beta 1 and beta 2 as well.
The failure is specifically:
unsupported configuration: the aggregate target 'Localization' has package dependencies, but targets that build for different platforms depend on it.
I've reduced this to a minimal sample project, which you can find here.. To reproduce: Open the Repro workspace, that is attached in Xcode. Try to build TestyPackage. You'll see the error.
I've filed this bug during WWDC week, but no feedback yet and no solution in Xcode 26 beta 2. Here's the feedback number, in case you have this too and want to file a duplicate: FB17934050.
Does anyone else have this issue and perhaps a solution?
For a large / older iOS app project, we have noticed the the view hierarchy debugger works fine for our UIKit screens, but runs into the following crasher whenever we try to launch the view hierarchy debugger on a UIHostingVC screen with SwiftUI content:
Unable to capture the view hierarchy "AppName" encountered an unexpected error when processing the request for a view hierarchy snapshot.
--
The operation couldn’t be completed. Log Title: Data source expression execution failure.
Log Details: error evaluating expression “(BOOL)[[(Class)objc_getClass("DebugHierarchyTargetHub") sharedHub] performRequestInPlaceWithRequestInBase64:@"..."]”: error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=2, address=0x16b23bff8).
Has anyone successfully resolved the underlying issue in this crasher? Tried all the typical recommendations for a clean build, clear derived data, use the "Debug -> View Debugging" menu - all with no resolution.
Reported using Feedback Assistant: FB18514200
Thanks