Search results for

file uri scheme

79,850 results found

Post

Replies

Boosts

Views

Activity

Reply to HLS CMAF playlist with multiple DRM changes
You can interleave encrypted and unencrypted segments without DISCONTINUITY tags (assuming there is continuity otherwise) by using EXT-X-KEY to specify the encryption (or not) of the init / media segments. A brief audio dropout across the transition is a known issue. Please file an enhancement request if that creates a problem for your application.
Topic: Media Technologies SubTopic: Streaming Tags:
3w
HLS CMAF playlist with multiple DRM changes
Hi Is it possible to have a playlist where I have a indication of a stream in clear, but then, someone started a DRM encrypted period and then someone turns it off. Can I just do the following (I've removed the video segments part, I'm just interested in the parts where I want notify the new drm region )? #EXT-X-MAP:URI=video_2_10000000_t17586401730000000_init.mp4 #EXT-X-KEY:METHOD=NONE ... #EXT-X-MAP:URI=video_2_10000000_t17587374640000000_init.mp4 #EXT-X-KEY:METHOD=SAMPLE-AES,URI=skd://5df0b36ac4bb4d0ff954a73b502ac332,KEYFORMAT=com.apple.streamingkeydelivery,KEYFORMATVERSIONS=1 ... #EXT-X-MAP:URI=video_2_10000000_t17587376740000000_init.mp4? #EXT-X-KEY:METHOD=NONE Should I insert discontinuity tags or something else? Right now what I can observe is that I got some audio drops when I try to do this.
1
0
270
3w
AVPlayer: escaped characters displayed wrong from WebVTT subtitles (HLS)
quotes are displayed incorrectly in subtitles of AVPlayerViewController when streaming VOD content using HLS. single quote ' (escaped ') is displayed as apos; double quotes (escaped ) is displayed as quot; following the vtt specification. The same stream works fine in VLC player, showing quotes correctly in subtitles. subtitle vtt files use Content-Type: text/vtt WEBVTT X-TIMESTAMP-MAP=LOCAL:490014:06:04.000,MPEGTS:158764568760056 example line: 490014:05:46.000 --> 490014:05:50.440 align:start line:83% position:14% and the playlist has: #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,LANGUAGE=da,NAME=Dansk,AUTOSELECT=YES,CHARACTERISTICS=public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound,URI=subs/dan_5/playlist.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=780000,CODECS=mp4a.40.5,avc1.42c01e,RESOLUTION=256x144,AUDIO=audio-aac,SUBTITLES=subs lære dig endnu bedre at kende. adding 'wvtt' to CODECS list in playlist does not make a difference. Is this a known bug? Is th
2
0
118
3w
Reply to Allow use of deep links without 'Smart' banner appearing
Thank you for the post. The banner enables users to make a decision on how to manage universal links, and the system retains their preference. If you have any alternative suggestions for handling these links, I recommend submitting an enhancement request. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
Topic: Safari & Web SubTopic: General
3w
Reply to Check whether app is built in debug or release mode
I’m not a fan of that code. I have a bunch of niggles (see below) but my main concern is that overall approach is: Try to parse the profile. If that fails, assume it’s the simulator. That seems problematic for a couple of reasons: Apps that are deployed via the App Store don’t have a profile, and so defaulting to the simulator settings in that case is just wrong. The simulator is a separate platform, so none of this code ever needs to run there. Rather, you’d conditionalise the code using: #if targetEnvironment(simulator) … return the simulator defaults … #else … run the real test … #endif The provisioning profile is an allowlist. It’s possible for a profile to allow any value, or a specific subset of values. AFAICT that doesn’t happen for these two entitlements, get-task-allow and aps-environment, but it definitely happens for others. On the plus side, it does work with tvOS (-: [quote='867361022, SoumyaMahunt, /thread/807924?answerId=867361022#867361022, /profile/SoumyaMahunt'] this relies on un-documented
3w
Notarization status always stuck on "In Progress..."
Today, I used xcrun notarytool submit to upload my packaged Electron app for macOS—once as a .zip file and once as a .dmg—for Apple notarization. However, both submissions have been stuck at Current status: In Progress for several hours now. I’ve also checked the status using xcrun notarytool info, and it keeps returning status: In Progress. Could someone please help me understand what might be going wrong? This is quite urgent—if a technical support engineer or anyone from the team could take a look, I’d be glad to provide the UUIDs of my notarization requests.
3
0
540
3w
Reply to NotificationCenter.notifications(named:) appears to buffer internally and can drop notifications, but is this documented anywhere?
[quote='808800021, jamie_q, /thread/808800, /profile/jamie_q'] it appears to be limited to 8 messages. [/quote] Yep. AFAICT this is simply hard coded )-: [quote='808800021, jamie_q, /thread/808800, /profile/jamie_q'] Is this behavior expected and documented somewhere? [/quote] Not that I’ve seen. I recommend that you file a bug about this, either requesting that it be removed, or that it be documented, or both (-: Please post your bug number, or numbers, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
ASWebAuthenticationSession.start() does not display authentication UI on macOS (no error, no callback)
Hello Apple Developer Community, I'm experiencing an issue on macOS where ASWebAuthenticationSession fails to display its authentication window. The session is created successfully and start() returns true, but: no UI is shown, presentationAnchor(for:) is never invoked, the completion handler is never called, and no errors appear in Console.app or Xcode logs. This happens both when using the session via a Flutter plugin and when calling ASWebAuthenticationSession directly from Swift. Environment macOS 14.6 (Sonoma) Xcode latest stable Target: macOS 10.15+ App type: sandboxed macOS app, hardened runtime enabled The project also includes a Login Item (SMAppService) target Redirect URI scheme: myapp-auth://callback Problem Description When I trigger authentication, the logs show: [AuthPlugin] Starting ASWebAuthenticationSession... After that: no authentication sheet appears, presentationAnchor(for:) is never called, the completion handler is not invoked. The main window is visible and active wh
1
0
312
3w
Reply to ASWebAuthenticationSession.start() does not display authentication UI on macOS (no error, no callback)
Hello Apple Developer Community, Following my previous unanswered post, I created a very simple macOS test application to reproduce the issue in the smallest possible setup. I’m having an issue with ASWebAuthenticationSession on macOS when trying to authenticate with Microsoft Azure AD. I wrote a very simple macOS application whose only purpose is to sign in to Microsoft Azure and obtain an authorization code/token. The app is registered in Microsoft Entra as an iOS/macOS public client. Target macOS: 15.7+ App registration in Azure: Bundle Identifier: com.organization.testauthapp Redirect URI: msauth.com.organization.testauthapp://auth MSAL configuration: let kClientID = CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC let kRedirectUri = msauth.com.organization.testauthapp://auth let kAuthority = https://login.microsoftonline.com/TTTTTTTT-TTTT-TTTT-TTTT-TTTTTTTTTTTT let kGraphEndpoint = https://graph.microsoft.com/ (I intentionally anonymized tenantId as TTTT... and clientId as CCCC....) My app contains only one
3w
Reply to Need Inputs on Which Extension to Use
Hi @DTS Engineer , Thank you very much for your responses, really helpful. For the past two weeks, I've been experimenting with a macOS System Extension application that manages three different Network Extension providers (NEFilterDataProvider, NETransparentProxyProvider, and NEDNSProxyProvider) housed within a single systemext bundle (Xcode target2), all managed and activated by a single main application(Xcode target1). My goal is to reliably capture comprehensive network activity logs from all three extensions simultaneously, particularly under high-traffic conditions. I've run into a few architectural questions regarding prioritization, concurrency, and logging reliability. Part 1: Extension Activation Order and Execution Predictability When multiple Network Extensions are active, how does the system process traffic, and is there a guaranteed order of execution? Q1: Given that all three extensions are active, is there a predictable order in which the network traffic will hit the providers? For example, sho
3w
Unable to Generate .ipa for .NET MAUI iOS App – Codesign Fails With “unable to build chain to self-signed root”
Hi everyone, I am trying to generate an .ipa file for my .NET MAUI (net9.0-ios) application, but every attempt fails with the same codesigning error. I have tried multiple approaches, including building from Windows paired to macOS, and directly building through the macOS terminal, but nothing is working. Below are the exact steps I followed: Steps I Performed 1.>Generated the Apple Development certificate using Keychain Access on macOS. 2.>Added that certificate into my developer account and created the corresponding provisioning profile. 3.>Created an App ID, attached the App ID to the provisioning profile, and downloaded it. 4.>Added the provisioning profile into Xcode. Verified that the certificate is correctly visible in Keychain Access (private key available). Attempted to build/publish the MAUI app to generate the .ipa file. Issue Whenever I run the publish command or build via Windows/macOS, codesigning fails with the following error: /usr/bin/codesign exited with code 1:
1
0
148
3w
How to create a dylib for iOS project?
I want to create a dynamic library for my iOS project, which would be loaded at runtime. In Xcode, there are templates available for creating a static/dynamic lib for MacOS. But under the iOS tab, there is only a static library template. So, I used the static library template and in its build settings I changed the Mach-O type to dynamic library. Now after building it, I use the file command on the generated file and it tells me it is a dynamic lib. But the generated file still has .a extension, which is usually for static libs. I'm aware we can tell Xcode in build settings to change the .a extension to something else, say .dylib but this seems like a hacky way to create a dynamic library. What is the correct way? I am aware that standalone dylibs are not supported on iOS, and we need to wrap them in a framework. For my use case, the framework will literally be a wrapper, it won't have any source files of its own. It should only contain the dynamic lib generated from some i
1
0
73
3w
Reply to Alternatives to exports file for using Xcode frameworks in iOS
[quote='808455021, raunits, /thread/808455, /profile/raunits'] thus using a exports file just for that seems to bug me. [/quote] What part of this do you think is a bug? In my experience, a .exp file is a great way to manage the symbols exported by your framework because it gives you explicit control. Other mechanisms tend to rely on implicit behaviour, which is a lot harder to understand. So, are you concerned about the use of a .exp file at all? Or the mechanism you use to generate that file? Or that exporting all that extraneous stuff will costly? Depending on what your actual concern is, there are a variety of less explicit options available to you. To learn more, search the ld man page for export and hidden. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
Reply to Enable FSKit module globally pre-login
Thanks for the reply. I can't post too much about the use case, other than to say it is something very bespoke and wouldn't be distributed publicly. However, I'd expect that mounting a user's entire home directory via an FSKit module is something that many people might want to do (e.g. home directory on a network file share). I can raise an enhancement request. In the meantime, any chance you could give some details on how FSKit knows that a particular FSKit module is enabled for a given user? I have noticed that, when I enable the module in Login Items & Extensions, a file at /Users//Library/Group Containers/group.com.apple.fskit.settings/enabledModules.plist is getting updated. If I were to somehow create that file programmatically and add my module's ID to it, would that do the trick and enable my FSKit module to run before the user has logged in?
Topic: App & System Services SubTopic: Core OS Tags:
3w