Search results for

file uri scheme

79,827 results found

Post

Replies

Boosts

Views

Activity

Apple CDN connection error after changing server ip version to v6
The universal links for my apps stopped working. The server where the AASA files where hosted worked on IPV4 exclusively, a few days ago i changed the configuration to IPV6 only. I´ve created new IPV6 entries, renewed all certifactes and deleted all IPV4 entries for the domains. All seemed fine, but at Saturday I realized that my universal links stopped working for new user. What i´ve done to find the issue: Example domain that was used for debugging: https://developffw.burns.fun I´ve verified the AASA file is hosted properly by using different browsers and Postman to retrieve it. The file can be accessed and the certificates look fine. Output of curl -v https://developffw.burns.fun/.well-known/apple-app-site-association * Host developffw.burns.fun:443 was resolved. * IPv6: 2a01:4f8:13b:340a::2 * IPv4: (none) * Trying [2a01:4f8:13b:340a::2]:443... * schannel: disabled automatic use of client certificate * ALPN: curl offers http/1.1 * ALPN: server accepted http/1.1 * Established conn
4
0
88
1w
Reply to Error when updating system extension
I don't think the problem is coming from the macOS instance itself as the problem does not occur when the extension is updated using an installation package. The problem only happens when replacing the system extension and its wrapper .app using basic NSFileManager APIs. I diffed the 2 cases and there are no differences. Same files, same contents. And anyway spctl and codesign are happy. I tried different macOS versions in VMs (14, 15). Same result. What I'm also observing is that after updating the system extension using an installation package, just using the NSFileManager APIs is going to work fine when reverting to any version that has been previous installed via an installation package or updating to version that has been previously updated via an installation package.
Topic: Code Signing SubTopic: Notarization Tags:
1w
Fix text in accessory view
Do you guys know how to fix the render of the text in the accessory view ? If I force the color of text to be .black it work but it will break dark mode, but forcing it .black : .white on color scheme changes makes white to still adapt to what is behind it I have noticed that Apple Music doesn’t have that artifact and it seems to break when images are behind the accessory view // MARK: - Next Routine Accessory @available(iOS 26.0, *) struct NetxRoutinesAccessory: View { @ObservedObject private var viewModel = RoutineProgressViewModel.shared @EnvironmentObject var colorSchemeManager: ColorSchemeManager @EnvironmentObject var routineStore: RoutineStore @EnvironmentObject var freemiumKit: FreemiumKit @ObservedObject var petsStore = PetsStore.shared @Environment(.colorScheme) private var colorScheme // Tab accessory placement environment @Environment(.tabViewBottomAccessoryPlacement) private var accessoryPlacement // Navigation callback var onTap: (() -> Void)? @State private var isButtonPressed = fal
Topic: UI Frameworks SubTopic: SwiftUI
1
0
123
1w
Following up on Feedback Assistant reports
I have filed 27 bug reports against macOS using Feedback Assistant and none have had any sort of follow-up. I'm wondering if anyone at Apple looks at these reports? A few of these involve accessibility features that are not working (for example: speak announcements doesn't work -- and yes, my feedback is much more detailed than doesn't work). I would have thought issues with accessibility would be a high priority for Apple to fix quickly. Another report is that Grapher uses black text on dark gray making it very difficult to see the formula you enter. This should be a one-line code fix. These two, and 25 other bug reports have seemingly been ignored. Several of these reports indicate more than 10 similar reports, yet go unfixed. Leading me back to my opening question -- does anyone at Apple read these reports? I'd like to think I'm helping Apple to deliver a more perfect product but I feel like I'm wasting my time writing detailed bug reports. Is there another way to bring these to Apple's attention?
0
0
224
1w
Reply to Metal not working in Swift Playgrounds (SSC Scene)
I made some progress! Or at least I think so, it is still unclear. I simplified the shader code to not include the external library for now: #include using namespace metal; [[ stitchable ]] half4 checkerboard(float2 position, half4 currentColor, float size, half4 newColor) { uint2 posInChecks = uint2(position.x / size, position.y / size); bool isColor = (posInChecks.x ^ posInChecks.y) & 1; return isColor ? newColor * currentColor.a : half4(0.0, 0.0, 0.0, 0.0); } I am going to deal with the missing library later. Now the expanded shader compilation code looks as follows: let shaderURL = Bundle.main.url(forResource: shaders, withExtension: txt)! let source = try! String(contentsOf: shaderURL, encoding: .utf8) do { let device = MTLCreateSystemDefaultDevice()! let opt = MTLCompileOptions() opt.enableLogging = true // Those two options are important. opt.libraryType = .dynamic opt.installName = shaders.metallib // We need to create MTLLibrary... let library = try device.makeLibrary(source: source, options: op
1w
Reply to Metal not working in Swift Playgrounds (SSC Scene)
@Graphics and Games Engineer Thanks for the suggestion! I am trying to follow it and trying to compile shaders dynamically, so that I can use them as effects in SwiftUI, but it does not work. What I am doing is this (please don’t mind forced unwrapping): let shaderURL = Bundle.main.url(forResource: example-swiftui-shaders, withExtension: txt)! let source = try! String(contentsOf: shaderURL, encoding: .utf8) do { let device = MTLCreateSystemDefaultDevice()! let opt = MTLCompileOptions() opt.enableLogging = true let library = try device.makeLibrary( source: source, options: opt) print(ok, library) } catch { print(error, error) } I am getting a compilation error: Error Domain=MTLLibraryErrorDomain Code=3 program_source:10:10: fatal error: 'SwiftUI/SwiftUI_Metal.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~ program_source:10:10: note: did not find header 'SwiftUI_Metal.h' in framework 'SwiftUI' (loaded from '/System/Library/Frameworks') UserInfo={NSLocalizedDescription=program_source:10:10: fata
1w
Reply to SDK for Swift Student Challenge 2026 submissions
👋Hi @DTS Engineer I remember that the form submitted last year needed to be filled in with Xcode or Playground test, and it seems that it was also mentioned: • If you use Xcode, the judges may use Simulator to run. • If you use Playground, it's a real machine. But my work this time will encounter two limitations: It will use the framework/API only available in iOS 26 (so if it is a Playground environment, it may not run) It will also use some content that must be real to run (such as ARKit), which means that Xcode Simulator is not good. So I would like to ask: Does this year's review allow you to compile and connect the iPad to the real machine? Or did I misremember last year's regulations? If the judge's environment is fixed (for example, only Playground or only Simulator), how should I adjust the submission method or implement the scheme? Looking forward to your reply, thank you. ~ Jiaxu Li
1w
Reply to BGContinuedProcessingTask does not respect fractionCompleted to keep alive
Here is the bug number FB21338185 The test file I am testing with is 7 GB, and on cellular the upload can be a bit slow. I can test again, but I think in case 1, the progress updater updates much more slowly than it does when directly updating the progress task in case 2. Perhaps the UI only looks at completedUnitCount and not fractionCompleted as well? If it's interesting I can see if I can try to repro it more clearly
1w
Error resuming background audio while connected to CarPlay
My app utilizes background audio to play music files. I have the audio background mode enabled and I initialize the AVAudioSession in playback mode with the mixWithOthers option. And it usually works great while the app is backgrounded. I listen for audio interruptions as well as route changes and I am able to handle them appropriately and I can usually resume my background audio no problem. I discovered an issue while connected to CarPlay though. Roughly 50% of the time when I disconnect from a phone call while connected to CarPlay I get the following error after calling the play() method of my AVAudioPlayer instance: ATAudioSessionClientImpl.mm:281 activation failed. status = 561015905 If I instead try to start a new audio session I get a similar error: Error Domain=NSOSStatusErrorDomain Code=561015905 Session activation failed UserInfo={NSLocalizedDescription=Session activation failed} Like I said, this isn't reproducible 100% of the time and is so far only seen while connected to CarPlay. I don't
0
0
172
1w
Reply to Zsh kills Python process with plenty of available VM
Apologies if I misunderstand things completely, I am no developer so memory management is completely foreign to me. Are the steps you describe involving the creation of a file and mmap it, to be used in the shell, and the output then applied to a process already running (say some python code) or are they supposed to be performed before the python code is run? In the first case, how do I assign this points to the process already running? I assume this will be extra virtual memory on top of the one the VMM has already used for the process. In the second case, does the pointer have to be used within the python script (that is, do I need to modify my python script in a certain way to tap into this file for virtual memory)? Or once I have it, I have to launch the process in a certain way that it uses it? Feel free to refer me to some resource that explains how to map a file to a process, all I could find, manages included, was not helpful and does not go into enough detail for my backgro
1w
Reply to Code Coverage Not Generated in Xcode 26.1 Despite Successful Test Runs
I investigated this further and confirmed the issue is due to a toolchain mismatch inside Xcode 26.1. Although test execution successfully generates multiple .profraw files, the coverage merge step fails. Running the merge manually using the Xcode-bundled tool results in the following error: raw profile version mismatch: Profile uses raw profile format version = 8 expected version = 10 error: no profile can be merged. The same project and test configuration generates coverage correctly on earlier Xcode versions, which strongly suggests a issue in Xcode 26.1’s coverage toolchain.
1w
Reply to PDFKit Page Rerender
Hi @muhammadharoon. Thanks for the details. It sounds like you may have a reproducible case. I recommend packaging that up into a bug report so engineering can consider adding further investigation into their work schedule. Capturing this information in a forums post is interesting, but it is not the sort of thing our engineering teams use for scheduling work. Won't you please consider filing a feedback report about this question.
Topic: Graphics & Games SubTopic: General Tags:
1w
Reply to Altitude for MKAnnotation
As you identified, annotations are specified using a 2D geographic coordinate, represented by CLLocationCoordinate2D. There aren't any APIs that add a third dimension to this information for the system to use in positioning the annotation on the map. If you'd like us to consider adding this functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. — Ed Ford,  DTS Engineer
1w