Search results for

file uri scheme

79,847 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
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
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
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
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
Reply to Enable FSKit module globally pre-login
[quote='808594021, AckwelFoley, /thread/808594, /profile/AckwelFoley'] the end goal is to mount a user's entire home directory via my FSKit [/quote] That’s gonna be really challenging. FSKit is based on app extensions, and app extensions are fundamentally scoped to a given user. [quote='808594021, AckwelFoley, /thread/808594, /profile/AckwelFoley'] Is there a way to enable my FSKit module globally [/quote] No. Honestly, I think that’d make a reasonable enhancement request. On the networking side of things, macOS allows developers to package a Network Extension provider as a system extension, which runs globally. If you do file an ER, please post your bug number, just for the record. What’s your distribution plan here? Is this something you’re building for yourself? Or something you plan to ship to a wide range of users? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to "Signing certificate" and post-installation assignment fail due to IOPCIPrimaryMatch
Thank you for your reply. I'm sorry for the late response, as I was working on another issue. I understand that I need to resubmit. I would like some advice on how to submit the application before resubmitting. Based on my current understanding, since it's XML, I believe the following value is correct: 0x00001916&0x0000FFFF However, currently, if I enter &, the Signing Certificate status displays Failed. Based on the current situation, does this mean that when resubmitting, I'm required to enter the following value, including &? 0x00001916&0x0000FFFF There's one thing that concerns me. I checked the contents of the provisioning file I downloaded from the URL you provided. I thought the current issue was occurring because it didn't contain &. However, when I actually looked at the file, I found that it did contain &. $ security cms -D -i mep_DeveloperID_2030_DextPCIe2.provisionprofile -o test.plist $ cat test.plist IOPCIPrimaryMatch 0x00001916&0x0000FFFF The prov
Topic: Code Signing SubTopic: Entitlements Tags:
3w
Reply to BGContinuedProcessingTask expiring unpredictably
Hi there, I posted about my task about uploading files here https://developer.apple.com/forums/thread/808756 and am also getting unpredictable expirations, especially on cellular connections. One thing I noticed is that when I tried to use the child progress, the fractionCompleted updates, but the completedUnitCount does not until the chunk is done. I wonder if expiration happens by looking at completedUnitCount and not fractionCompleted? If not, any other ideas as to why my UploadTask on cellular is getting killed much more frequently than on wifi? I fixed some issues on wifi where I noticed if the CPU usage is too high it gets killed, but I've since fixed those, and wifi is pretty stable, but cellular is very unstable.
3w
Reply to Title: Push notifications not working on iOS – aps-environment missing in signed app with manual Codemagic signing
If all your assertions about the portal settings, provisioning profile, the entitlement file and it's contents are correct, the remaining cause I can think of for the signed app not having the entitlement is either the entitlement file is not being built into the bundle, or there is a different entitlement file being build into the bundle that is missing the aps-environment key. I would suggest to check the building/signing process you are using that it is not missing the correct entitlement file. Of course it wouldn't hurt to double check that your previous assertions about the various relevant points are still correct.
3w
How to connect to a IOUSBHostInterface
I have poked around the web looking for a good example to do this and I haven't found a working example. I need to connect to a USB Device, its multiple ports and supports what looks to be a root port and 4 other ports I am no expert in USB but I do know how to write a kext and client drivers, but thats really not the way to solve this. I need to display the serialized output from these USB ports for a development board. I would rather do this on my Mac than have to cobble up a Linux machine and mess around with Linux. Here is the output from ioreg MCHP-Debug@03100000 MCHP-Debug@0 +-o MCHP-Debug@0 +-o MCHP-Debug@1 +-o MCHP-Debug@2 | | | | | +-o MCHP-Debug@3 I have been able to open a inservice to the device at the top level, but I get an error when I use. usbHostInterface = [[IOUSBHostInterface alloc] initWithIOService:usbDevice options: IOUSBHostObjectInitOptionsNone queue: queue error: &error interestHandler: handler]; Error:Failed to create IOUSBHostInterface. with reason: Unable to obtain config
1
0
118
3w