Hello developers, i have a project for SSC that includes metal shader code. The project runs fine when I build and run it in Xcode, but it does not run in the Swift Playground app. The reason is that Swift Playgrounds doesn’t compile/build source files with the .metal extension the same way Xcode does (so the shader never gets built/loaded in Playgrounds). The requirements say: “Your app playground must be built with and run on Swift Playgrounds 4.6 or Xcode 26, or later.” Since it says “or” (not “and”), does that mean it’s acceptable if the project only builds/runs in Xcode?
Search results for
dsym file
77,668 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Thanks for the post and the crash file. Looks like you have received no replies. Looking at the crash file it seems like 135 threads at least. I would recommend to go ahead and create a focused sample project that reproduces this issue as I'm not aware of any open bugs on that API. Why not calling it from the main thread? Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Albert Pascual
Worldwide Developer Relations.
Topic:
Media Technologies
SubTopic:
Audio
Tags:
Thanks for the post and the question: https://developer.apple.com/documentation/alarmkit/alarmmanager/alarmconfiguration#overview What happens when you change the sound file on the alert configuration? let configuration = AlarmManager.AlarmConfiguration(countdownDuration: Alarm.CountdownDuration(preAlert: 10, postAlert: 10), schedule: nil, attributes: attributes, secondaryIntent: repeatIntent, alertConfiguration: AlertConfiguration(title: Eggs are ready!, body: Time to eat!, sound: .default)) Alert Sound: https://developer.apple.com/documentation/ActivityKit/AlertConfiguration/AlertSound https://developer.apple.com/documentation/activitykit/alertconfiguration/sound AlarmKit Resources: AlarmKit FAQ is always important: https://developer.apple.com/forums/thread/797158 AlarmKit volume: https://developer.apple.com/forums/thread/813519?answerId=873409022#873409022 AlarmKit API https://developer.apple.com/documentation/AlarmKit Albert Pascual
Worldwide Developer Relations.
Topic:
Developer Tools & Services
SubTopic:
General
Hello junqhao25, Thanks for the screenshot documenting this issue and the sample code. Can you please file a bug report so we can have a relevant engineering team further investigate this? Feel free to also place your code in a small focused sample app that reproduces the issue. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Thank you for your patience, Richard Yeh Developer Technical Support
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
FB21772424 On any iPhone or iPad running 26.3 beta 3 with UIFileSharingEnabled enabled via Xcode, a file cannot be manually copied to/from macOS or manually deleted from Finder but 26.3 beta 2 works fine running on any iPhone or iPad. The version of macOS is irrelevant as both macOS 26.2.1 and macOS 26.3 beta 3 are unable to affect file changes via macOS Finder on iPhone or iPad running 26.3 beta 3 but can affect file changes via macOS Finder on iPhone or iPad running 26.2.1 Thank you.
I am developing an iOS/iPadOS application and have encountered some behavior regarding Files App and security-scoped bookmarks that I would like to clarify. Additionally, I would like to report some behavior which might include a potential issue. Question1: Accessing deleted files via bookmark (Specification clarification) Our app saves file URLs as bookmarks, which file that user has selected on Files App or app-created so to open a file which user has modified previously in the next launch. When a user deletes a file in Files App (moves a file to Recently Deleted), the app can still resolve the bookmark and access the file for read/write operations. Is this behavior intended? In other words, is it correct that a bookmark can access a file that has been deleted in Files App but not permanently removed? Question2: Overwriting a file in Recently Deleted (Potential bug) We noticed that overwritin
FYI, this is outside my normal area of expertise (and the scope of the original question), so if you have more questions about this, please post them as a new thread. Questions: 1.How Numbers.app achiveing these behaviors? I haven't looked at it in detail, but I suspect it's using a combination of security scoped bookmark (for basic file tracking on device) and the iCloud Document API. In particular, the key NSMetadataQueryUpdateRemovedItemsKey should be included in the NSMetadataQueryDidUpdateNotification you receive for deleted files. 2.Can a 3rd party like our company be able to achieve this kind of behavior? Yes, I think so. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic:
App & System Services
SubTopic:
Core OS
Tags:
@423fts Can you go ahead and file a bug against Universal Links not working well against Unicode only like (求人ボックス.com)? Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Thanks and apologies for the delay, Albert Pascual
Worldwide Developer Relations.
Topic:
App & System Services
SubTopic:
General
Tags:
Hello everyone, I'm working on a screen recording app using ScreenCaptureKit and I've hit a strange issue. My app records the screen to an .mp4 file, and everything works perfectly until the .captureMicrophone is false In this case, I get a valid, playable .mp4 file. However, as soon as I try to enable the microphone by setting streamConfig.captureMicrophone = true, the recording seems to work, but the final .mp4 file is corrupted and cannot be played by QuickTime or any other player. This happens whether capturesAudio (app audio) is on or off. I've already added the Privacy - Microphone Usage Description (NSMicrophoneUsageDescription) to my Info.plist, so I don't think it's a permissions problem. I have my logic split into a ScreenRecorder class that manages state and a CaptureEngine that handles the SCStream. Here is how I'm configuring my SCStream: ScreenRecorder.swift // This is my main SCStreamConfiguration private var streamConfiguration: SCStreamConfiguration { var streamConf
I have the same issue with my M5. Matching Asus monitors on a CalDigit TS4. Both using DP to USB-C adapters from Cable Matters. Have you filed a bug on this and, if so, what's the bug number? Critically, I'm still looking for a sysdiagnose that's been collected with this configuration: If you can, what I think would be most helpful here is a sysdiag captured with both devices attached via USB AND with a USB device attached to both monitors. This helps validate the general bus configuration outside of the display system. Finally, going back over all the data, there is a difference between the maximum display configuration of the Mac Mini M4 Pro (working): Supports two external displays in any one of these configurations: One display up to a native resolution of 8K (7680 x 4320) at 60Hz or 4K (3840 x 2160) at 240Hz over Thunderbolt or HDMI, and one display up to a native resolution of 5K (5120 x 2880) at 60Hz over Thunderbolt One display up to a native resolution of 8K (7680 x 4320) at 60Hz (or 4K at 2
Topic:
App & System Services
SubTopic:
Hardware
Hello @TaesupJang, I would like to investigate this issue, and to get a head start I would like you to file a bug report and attach the sample code attached you mention that demonstrates the issue. When filed, reply with the FB number in this thread. This will help greatly. Thank you, Travis Trotto - DTS Engineer
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
Might the document's size be an issue? They tend to be over 100 Mb. It's certainly not ALL the documents that I open: only a few. Possibly. The data object you're handed was created by passing NSDataReadingMappedIfSafe into the NSData initializer, which means you do have a certain connection to the file system. However, the bigger issue is whether or not you have unsaved changes. It's worth saying that I've deliberately switched off the auto-save functionality (autosavesInPlace = false). Can I ask what you mean by checking the documentEdited property“? NSDocument.documentEdited is the property which notes whether or not the document has been modified, which would generally indicate there are unsaved changes. Among other properties, it's actually what triggers this alert: If I close a document with unsaved changes, it flags an alert saying that there are unsaved changes; do you want to save them? If there aren't, then the document closes gracefully. I'll see if I can trigger it again and investigate a
Topic:
App & System Services
SubTopic:
Core OS
Tags:
@Engineer Is this really the case? I mean, this is MapKit, a system component which is under full control of the operating system and which is supposed to be safe and trustworthy. I would assume that system components like MapKit are able to access the internet to fulfil their main purpose. Just like the macOS does this for URLs and web location files where Quicklook has no problems in loading the web pages and displays a preview of these just fine. If you really think that any internet access for QuickLook would be a danger for the user, then you definitely need to stop supporting Quicklook for URLs and web location files. I guess we can agree, that system components like MapKit and WebKit are not a threat to the user and it won't be a risk for these to access the internet.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
EnableLiveAssetServerV2-com.apple.MobileAsset.MetalToolchain = on; ProductName: macOS ProductVersion: 26.0.1 BuildVersion: 25A362 The MetalToolchain is installed, however I keep getting error that MetalToolchain cannot be found by the Xcode Command CompileMetalFile failed with a nonzero exit code error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain ❯ xcodebuild -downloadComponent MetalToolchain 2025-10-31 11:18:29.004 xcodebuild[6605:45524] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.k9JmEp” couldn’t be opened because you don’t have permission to view it. Beginning asset download... 2025-10-31 11:18:29.212 xcodebuild[6605:45523] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.k9JmEp” couldn’t be opened because you don’t have permission t
I ran the following commands in Terminal: Use the Finder to do the copy, not cp. More to the point, jumping back to what I posted in earlier, this pattern (logical size > physical size) is the easy way to check if you're looking at a compressed file: Get Info: Size: 56,090 bytes (45 KB on disk) Similarly: I tried copying the same System/Library/CoreServices/Finder.app/Contents/Resources/Invitation.aiff file to a FAT volume connected via SMB, and the results are the same. The system is ACTIVELY trying to prevent compressed files from leaking out of its control. Basically, it will only preserve compression when you're doing local copies to file systems that specifically support it. That means APFS-> APFS and MAYBE HFS+. Note that this does NOT include smb. If you start with a compressed file and copy it across smb, the system ends up decompressing it as part of the copy. That's almost certainly what happened here: but the output of each of these commands was em
Topic:
App & System Services
SubTopic:
Core OS
Tags: