Search results for

eskimo

35,930 results found

Post

Replies

Boosts

Views

Activity

Reply to NetworkExtension framework problems
Thanks for those answers. I have system logs from several machines that encountered this issue. Cool. Those might come in handy at some point, but I have some follow-up questions first. [quote='873693022, Retouch, /thread/813562?answerId=873693022#873693022, /profile/Retouch'] Restarting the network extension restores it immediately. [/quote] Restarting it how? By calling exit from within the NE provider? Or restarting it from the outside, like from System Settings or the provider’s container app? Beyond that, I have a question about how this problem arises. Normally one of these proxy providers works as follows: The system passes the provider’s handle-new-flow method a flow object, that is, an instance of one of the NEAppProxyFlow subclasses. The provider returns true from handle-new-flow. And kicks off any work necessary for it to proxy that flow. For example, it might open a connection to a proxy server via some networking API. Once that’s done, the provider calls one of the -openWithXyz methods on the flo
2d
Reply to Announcing the Swift Student Challenge 2026
[quote='873708022, mr_sharky, /thread/806582?answerId=873708022#873708022, /profile/mr_sharky'] 1- … Just the .swiftpm? [/quote] Yes. Swift Playground stores all your Swift source code and assets within that single packaged document. If you copy it to a Mac, you can secondary click on it in the Finder and choose Show Package Contents to confirm that it contains everything you expect. [quote='873708022, mr_sharky, /thread/806582?answerId=873708022#873708022, /profile/mr_sharky'] 2- What kind of questions are there for the written responses? [/quote] Are you referring to this point from Swift Student Challenge > Eligibility > Terms and Conditions? Content of written responses to the questions in the submission form. If so, we ask those questions of you when you submit. Right now submissions are not open, so the specific questions for this year aren’t available. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Reply to "Application damaged and can't be opened' error prompt on 15.6.1 Sequoia
Interesting. In general it’s a bad idea to run code-signing operations as root. And I don’t think this is an exception to that rule. The system should be able to verify your app’s code signature without escalating privileges, and the fact that it can’t could be a source of weird errors. Is your app is a world-readable directory? Like /Applications? And is the app bundle, and anything nested within it, world readable? If my Unix-Fu is up to speed, I think this will find any items that are not world readable: % find /path/to/your.app -not -perm -004 -print Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General Tags:
2d
Reply to Get identities from a smart card in an authorization plugin
[quote='873521022, oleksandr91, /thread/810880?answerId=873521022#873521022, /profile/oleksandr91'] I was able to read the certificate from my Yubikey in both system.login.console and authenticate rights with this code: [/quote] Yay! [quote='873521022, oleksandr91, /thread/810880?answerId=873521022#873521022, /profile/oleksandr91'] I assume it is still preferable to use GetTKTokenWatcher. [/quote] Yes. I originally though that GetTKTokenWatcher might be a simple wrapper around TKTokenWatcher, but I did some digging and it’s more complex than that. Thus, my advice is that you use GetTKTokenWatcher rather than instantiating your own TKTokenWatcher. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
2d
Reply to How to know when `NEPacketTunnelProvider` has been cleaned up?
I want to get a better understanding of what you’re actually doing. Lemme summarise my understanding so far: You have a VPN app for macOS. It contains an Network Extension packet tunnel provider. From the app, you want to change the app’s VPN configuration. Is that right? If so, some questions: Is the provider packaged as an appex? Or a sysex? Or have you tried both and seen no difference? I presume you’re doing this configuration using NETunnelProviderManager from the container app. If so, what sequence of APIs are you calling? I’m asking because the usual way to change a tunnel’s settings from the container app is: Load the preferences. Make the changes. Save the preferences. That last operation doesn’t necessarily tear down the packet tunnel provider. Rather, the provider is expected to observe its configuration — via KVO on the protocolConfiguration property — and adjust accordingly, meaning that no tear down is necessary. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Appl
2d
Reply to App notarization is taking long
You can expect that most uploads will be notarised quickly. Occasionally, some uploads are held for in-depth analysis and may take longer to complete. As you notarise your apps, the system will learn how to recognise them, and you should see fewer delays. For lots of additional info about notarisation, see Notarisation Resources. Specifically, it links to a Q&A with the notary service team that’s quite instructive. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
2d
Reply to NSURL - Are Cached Resource Values Really Automatically Removed After Each Pass Through the Run Loop?
[quote='873641022, Macho Man Randy Savage, /thread/813641?answerId=873641022#873641022, /profile/Macho+Man+Randy+Savage'] But whose run loop 'owns' the URL resources? [/quote] This question doesn’t make sense. Well, it makes sense given how this feature is documented, but that documentation is aiming to offer a high-level overview of the effect of the feature, not a detailed description of its implementation. This isn’t implemented using active cache flushing. Rather, it’s based on passively detecting invalidation. When you access a property on the main thread, the system checks to see if the cached value is still valid, that is, has the main thread ‘turned’ between when you last got the property and now. The exact mechanics of this aren’t documented, and for good reason. It’s easy to imagine how this implementation might change over time. Rather, the take-home message is: You have to worry caching. If you’re working on the main thread, that worry is bounded by the turning of the run loop. [quote='873641022,
Topic: App & System Services SubTopic: General Tags:
2d
Reply to Can we decode twice in the same session with unarchiver?
When decoding objects from an archive directly — as opposed to implementing secure coding in init(coder:) — you want to use the ‘top-level object’ APIs. In this case that means the decodeTopLevelObject(of:forKey:) method. Do you have the same problem if you use that? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
2d
Reply to Apple Notes API
[quote='813810021, iRIG, /thread/813810, /profile/iRIG'] I’m wondering if there is [an] API for Apple Notes? [/quote] No. [quote='813810021, iRIG, /thread/813810, /profile/iRIG'] I just saw once that it’s possible through a Apple Script on Mac. [/quote] Correct. [quote='813810021, iRIG, /thread/813810, /profile/iRIG'] But the problem for me is that the app should also run on iOS. [/quote] My advice is that you file an enhancement request for a Notes API, similar to the APIs we have for Calendar (EventKit), Contacts (Contacts framework), and so on. Please post your bug number, just for the record. Using an AppleScript interface as an API is less than ideal for many reasons. One big one, as you’ve discovered, is that it’s limited to macOS. And your can’t use the equivalent technology on iOS, Shortcuts, to make progress on this. With AppleScript it’s possible to both be an AppleScript target and target other apps. With Shortcuts, you can only do the former. So, if you want to allow the user to integrate your app
Topic: App & System Services SubTopic: General Tags:
2d
Reply to Title: Accessing Wi-Fi SSID for custom On-Demand logic in PacketTunnelProvider on macOS
[quote='813746021, pawanquantum, /thread/813746, /profile/pawanquantum'] Is location access mandatory to access wifi SSID on macOS even if we have a NEPacketTunnelProvider? [/quote] I’m not sure what the specific rules are for that on macOS. Before I invest time in investigating that, I’d like to clarify your goals. [quote='813746021, pawanquantum, /thread/813746, /profile/pawanquantum'] we want to add some additional feature to the native behaviour. [/quote] Are you porting this feature from iOS? Or is this something new in your Mac product? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Reply to Notarization taking 3.5–4.5 hours for large macOS apps — is this expected?
Notarising very large products can take a while. I usually advise folks to approach this in two steps. The first step is to separate upload time from notarisation time. This is relatively straightforward: Use notarytool, without the --wait option, to upload your product. Make a note of when that finishes. Wait for the notarisation to complete. Compare the upload time to the overall notarisation time. I regularly see situations where the upload time dominates the notarisation time. If that’s the case then there’s a different path to follow. However, in this case it sounds like you’ve already done this test and determined that the bulk of the delay is after the upload. Given that, there’s a couple of things to do. The first is to file a bug against the notary service. I’ve seen cases where there’s something specific about the product that’s causing the notary service to enter a pathological state. In your bug report, make sure to include: A request UUID showing the problem. The evidence you have confirming that
Topic: Code Signing SubTopic: Notarization Tags:
2d
Reply to URL(fileURLWithPath:) behavior change in iOS 26 - Tilde (~) in filename causes unexpected path resolution
I’m gonna second Ziqiao’s advice here: You should file a bug about this. When you’re done, please post your bug number. [quote='873717022, dileepachandrasekara, /thread/813571?answerId=873717022#873717022, /profile/dileepachandrasekara'] Solution - Adding leading slash with new URL API: [/quote] That’s not really a solution, in that it produces a different URL. ~TestFile.irfd should produce a relative URL, relative to the current working directory [1]. OTOH, /~TestFile.irfd produces an absolute URL. You can’t reasonably substitute one for the other. And if you’re doing that, it suggests that you’re not properly tracking the difference between a URL and a URL path component. Honestly, creating a file URL from ~TestFile.irfd is weird on iOS, because you generally can’t assume anything useful about the current working directory [2]. So, how did you bump into this problem? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1l Whi
Topic: App & System Services SubTopic: General Tags:
2d
Reply to Urgent: Team is not yet configured for notarization, please help
First up, you can find my standard answer about this in this thread. [quote='813624021, camouflagenetworks, /thread/813624, /profile/camouflagenetworks'] We have a ticket open for 3 months now. [/quote] Hmmm, that’s not good. Can you post the case number? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d