Search results for

“eskimo”

36,619 results found

Post

Replies

Boosts

Views

Activity

Reply to User crash report contains ??? instead of my app's symbols and no binary image base address
Consider this: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Subtype: KERN_MEMORY_ERROR at 0x000000010844eb40 and this: Thread 0 crashed with X86 Thread State (64-bit): … rip: 0x000000010844eb40 … (In Intel, RIP is the PC register.) Your program has crashed to an unmapped memory exception and the crashing address is the PC. That is, the program has jumped to a bad address. That’s why you get this: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? because there is no code mapped at that location. Notably, let’s look at more of that backtrace: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? 1 CoreFoundation 0x7ff80f155518 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137 2 CoreFoundation 0x7ff80f1b864e ___CFXRegistrationPost_block_invoke + 88 3 CoreFoundation 0x7ff80f1b85a2 _CFXRegistrationPost + 515 4 CoreFoundation 0x7ff80f134dd6 _CFXNotificationPost + 763 5 Foundation 0x7ff810e22752 -[NSNotificationCenter postNotificationName:object:u
4w
Reply to Pkg Installer Expired Certificate
That page seems pretty clear to me: If your certificate expires, users can still install packages that were signed with this certificate as long as the package includes a trusted timestamp. However, I encourage you to test this for yourself: Make sure your package has a notarisation ticket stapled to it. Set up a VM. Download your package to it in a way that sets quarantine. Disable networking on the VM. (This is why stapling the ticket is important.) Use System Settings to change the time to well after your package’s expiry date. Try installing it. I expect to work, but I’d love to hear your experience either way. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to Network Framework: Choosing Interface Types for Browsing/ Advertising
[quote='817831021, nikhil2701, /thread/817831, /profile/nikhil2701'] does the browser and advertiser browse and listen on all available interface types? [/quote] Yes. At least by default. If you don’t want that behaviour, you can limit it to a specific interface type or a specific interface. The exact mechanism you use depends on which Network framework API you’re using. You mentioned the run(_:) method which suggests you’re using the shiny new one. In that case, the droids you’re looking for are listed here (search that page for interface). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to Clarification on concurrency guarantees for shared data between App and Widget extensions
Your questions are quite hard to read. See Quinn’s Top Ten DevForums Tips for advice on how to improve this going forward. Also, you asked questions about four very different technologies: User defaults, Core Data, the file system, and widgets. I have a good handle on the first and the third. I can offer some general advice about the second but, if you want more then you should start a follow-up thread in App & System Services > iCloud & Data with the Core Data tag. Similarly for the fourth, but with the App & System Services > Widgets & Live Activities subtopic. With that out of the way, let’s look at your questions. User defaults has a last-write-wins synchronisation policy, with the caveat that the definition of “last” is last change to hit the daemon that manages this stuff. The answers to your question fall out of that policy: [quote='817725021, gabrielsoria, /thread/817725, /profile/gabrielsoria'] If multiple processes (app + multiple widget instances) read and write the same share
4w
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
[quote='878114022, Pushpak-Ambadkar123, /thread/816877?answerId=878114022#878114022, /profile/Pushpak-Ambadkar123'] But as I uploaded the app to test flight then I do not see any setting related to content filtering in the Settings App [/quote] Right. You’re bumping into distribution restrictions that are not related to entitlements. NE lets you save a content filter configuration directly when your app is development signed. This is great for testing. However, when you go to distribute your app, that no longer works. Rather, the filter must be configured via a configuration profile. Except it’s not quite as simple as that. TN3134 Network Extension provider deployment has all the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to Get UDP/TCP Payload for NWConnections?
[quote='878127022, Pelea, /thread/817433?answerId=878127022#878127022, /profile/Pelea'] Yes, I already tested that method. [/quote] Cool. [quote='878127022, Pelea, /thread/817433?answerId=878127022#878127022, /profile/Pelea'] But unfortunately, [they] don’t include the Handshake payload [/quote] Bummer. I actually chatted with the Network framework team about this overnight and they think that it should work the way you want it to work. Given that, my advice is that you file a bug against the data transfer report feature. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to NEPacketTunnelFlow: large UDP DNS responses (~893 bytes) silently dropped despite writePacketObjects() returning success
[quote='878132022, miekari, /thread/817442?answerId=878132022#878132022, /profile/miekari'] making it unavailable for consumer App Store distribution [/quote] Indeed. These restriction are not accidental, and if you try to use a packet tunnel provider to get around them then you are going to run into problems. [quote='878132022, miekari, /thread/817442?answerId=878132022#878132022, /profile/miekari'] Is there a supported way to deliver DNS responses larger than 512 bytes through NEPacketTunnelFlow? [/quote] Packet tunnel providers work at the IP layer, which means you can’t just deliver a large UDP datagram to the system and expect it to work. You will have to fragment the datagram, just like the TCP/IP stack would. There’s no API for this; you’ll have to write your own code. If you continue down this path, I recommend that you prototype it using a client that you control. That is, create a small test app that issues a UDP DNS request that triggers a large response and then tries to read that response. That w
4w
Reply to Problems with iPad Pro M4 13 inch
[quote='878252022, someonelikeme, /thread/817520?answerId=878252022#878252022, /profile/someonelikeme'] I'm not sure I could make something out of those sysdiagnose logs [/quote] Ah, you’ve not met spindumps before! A spindump includes a backtrace of every thread in every process on the device, making it perfect to debug problems like this. If you unpack a sysdiagnose log, you’ll see the spindump in a file called spindump-nosymbols.txt. When dealing with issue like this, I find it useful to force the problem to happen — like add a sleep call to your main thread — and then do the diagnostic that you’re asking the user to do. You can then take the resulting sysdiagnose and confirm that you’re able to get from the spindump to your sleep call. That way you can be sure that the diagnostic you’re asking the user to create is actionable. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
4w
Reply to Screentime API Main App + Shield Questions
[quote='817620021, dukebuilder, /thread/817620, /profile/dukebuilder'] does the form need to be submitted once per Bundle ID [/quote] Yes. Well, once for the app and again for all the app extensions that use the Family Controls capability. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
4w
Reply to Unix Domain Socket path for IPC between LaunchDaemon and LaunchAgent
[quote='817602021, Pavel, /thread/817602, /profile/Pavel'] On macOS, the socket path length is restricted to 104 characters [/quote] That’s not quite right. While sockaddr_un has a fairly short limit, a Unix domain socket address actually supports a path length up to 253 bytes, which is SOCK_MAXADDRLEN minus the two byte header containing sun_family and sun_len. However, sockaddr_un is defined such that sun_path is 104. So, if you’re happy to do some gnarly pointer play, you can use longer paths, long enough to allow them to live within an app group container. Oh, wait, you said not sandboxed. Well, in that case, you don’t need to put them in an app group container, but you can still take advantage of the long path support. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4w
Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
[quote='878228022, DTS Engineer, /thread/815285?answerId=878228022#878228022'] So, my own, entirely personal and slightly radical, perspective [/quote] I so agree with this! I can’t remember if Kevin radicalised me, or I radicalised Kevin, or perhaps we were both radicalised by the File Manager APIs that Apple introduced in Mac OS 9 (-: Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
4w
Reply to User crash report contains ??? instead of my app's symbols and no binary image base address
Consider this: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Subtype: KERN_MEMORY_ERROR at 0x000000010844eb40 and this: Thread 0 crashed with X86 Thread State (64-bit): … rip: 0x000000010844eb40 … (In Intel, RIP is the PC register.) Your program has crashed to an unmapped memory exception and the crashing address is the PC. That is, the program has jumped to a bad address. That’s why you get this: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? because there is no code mapped at that location. Notably, let’s look at more of that backtrace: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0x10844eb40 ??? 1 CoreFoundation 0x7ff80f155518 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137 2 CoreFoundation 0x7ff80f1b864e ___CFXRegistrationPost_block_invoke + 88 3 CoreFoundation 0x7ff80f1b85a2 _CFXRegistrationPost + 515 4 CoreFoundation 0x7ff80f134dd6 _CFXNotificationPost + 763 5 Foundation 0x7ff810e22752 -[NSNotificationCenter postNotificationName:object:u
Replies
Boosts
Views
Activity
4w
Reply to Pkg Installer Expired Certificate
That page seems pretty clear to me: If your certificate expires, users can still install packages that were signed with this certificate as long as the package includes a trusted timestamp. However, I encourage you to test this for yourself: Make sure your package has a notarisation ticket stapled to it. Set up a VM. Download your package to it in a way that sets quarantine. Disable networking on the VM. (This is why stapling the ticket is important.) Use System Settings to change the time to well after your package’s expiry date. Try installing it. I expect to work, but I’d love to hear your experience either way. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to Network Framework: Choosing Interface Types for Browsing/ Advertising
[quote='817831021, nikhil2701, /thread/817831, /profile/nikhil2701'] does the browser and advertiser browse and listen on all available interface types? [/quote] Yes. At least by default. If you don’t want that behaviour, you can limit it to a specific interface type or a specific interface. The exact mechanism you use depends on which Network framework API you’re using. You mentioned the run(_:) method which suggests you’re using the shiny new one. In that case, the droids you’re looking for are listed here (search that page for interface). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to Clarification on concurrency guarantees for shared data between App and Widget extensions
Your questions are quite hard to read. See Quinn’s Top Ten DevForums Tips for advice on how to improve this going forward. Also, you asked questions about four very different technologies: User defaults, Core Data, the file system, and widgets. I have a good handle on the first and the third. I can offer some general advice about the second but, if you want more then you should start a follow-up thread in App & System Services > iCloud & Data with the Core Data tag. Similarly for the fourth, but with the App & System Services > Widgets & Live Activities subtopic. With that out of the way, let’s look at your questions. User defaults has a last-write-wins synchronisation policy, with the caveat that the definition of “last” is last change to hit the daemon that manages this stuff. The answers to your question fall out of that policy: [quote='817725021, gabrielsoria, /thread/817725, /profile/gabrielsoria'] If multiple processes (app + multiple widget instances) read and write the same share
Replies
Boosts
Views
Activity
4w
Reply to Validation error with Network Extension due to square brackets in Product Name
Let’s focus this discussion on your other thread. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to Family Controls Works in Xcode Physical Device, But does not work in Testflight
Let’s focus this discussion on your other thread. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
4w
Reply to Request for Guidance on Approval Process for Network Extension Entitlement
[quote='878114022, Pushpak-Ambadkar123, /thread/816877?answerId=878114022#878114022, /profile/Pushpak-Ambadkar123'] But as I uploaded the app to test flight then I do not see any setting related to content filtering in the Settings App [/quote] Right. You’re bumping into distribution restrictions that are not related to entitlements. NE lets you save a content filter configuration directly when your app is development signed. This is great for testing. However, when you go to distribute your app, that no longer works. Rather, the filter must be configured via a configuration profile. Except it’s not quite as simple as that. TN3134 Network Extension provider deployment has all the details. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to Get UDP/TCP Payload for NWConnections?
[quote='878127022, Pelea, /thread/817433?answerId=878127022#878127022, /profile/Pelea'] Yes, I already tested that method. [/quote] Cool. [quote='878127022, Pelea, /thread/817433?answerId=878127022#878127022, /profile/Pelea'] But unfortunately, [they] don’t include the Handshake payload [/quote] Bummer. I actually chatted with the Network framework team about this overnight and they think that it should work the way you want it to work. Given that, my advice is that you file a bug against the data transfer report feature. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to NEPacketTunnelFlow: large UDP DNS responses (~893 bytes) silently dropped despite writePacketObjects() returning success
[quote='878132022, miekari, /thread/817442?answerId=878132022#878132022, /profile/miekari'] making it unavailable for consumer App Store distribution [/quote] Indeed. These restriction are not accidental, and if you try to use a packet tunnel provider to get around them then you are going to run into problems. [quote='878132022, miekari, /thread/817442?answerId=878132022#878132022, /profile/miekari'] Is there a supported way to deliver DNS responses larger than 512 bytes through NEPacketTunnelFlow? [/quote] Packet tunnel providers work at the IP layer, which means you can’t just deliver a large UDP datagram to the system and expect it to work. You will have to fragment the datagram, just like the TCP/IP stack would. There’s no API for this; you’ll have to write your own code. If you continue down this path, I recommend that you prototype it using a client that you control. That is, create a small test app that issues a UDP DNS request that triggers a large response and then tries to read that response. That w
Replies
Boosts
Views
Activity
4w
Reply to Swift Student Challenge environment selection question (iOS 26)
[quote='878157022, JonathanBley, /thread/817353?answerId=878157022#878157022, /profile/JonathanBley'] does this mean there is no possibility … ? [/quote] It’s hard to prove a negative |-: I’m working from published process, just like you. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to Problems with iPad Pro M4 13 inch
[quote='878252022, someonelikeme, /thread/817520?answerId=878252022#878252022, /profile/someonelikeme'] I'm not sure I could make something out of those sysdiagnose logs [/quote] Ah, you’ve not met spindumps before! A spindump includes a backtrace of every thread in every process on the device, making it perfect to debug problems like this. If you unpack a sysdiagnose log, you’ll see the spindump in a file called spindump-nosymbols.txt. When dealing with issue like this, I find it useful to force the problem to happen — like add a sleep call to your main thread — and then do the diagnostic that you’re asking the user to do. You can then take the resulting sysdiagnose and confirm that you’re able to get from the spindump to your sleep call. That way you can be sure that the diagnostic you’re asking the user to create is actionable. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
4w
Reply to Screentime API Main App + Shield Questions
[quote='817620021, dukebuilder, /thread/817620, /profile/dukebuilder'] does the form need to be submitted once per Bundle ID [/quote] Yes. Well, once for the app and again for all the app extensions that use the Family Controls capability. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
4w
Reply to Sandboxed applications fail to mount NFS using NetFSMountURLSync
I’m having trouble reading that log. Can you post another copy, this time formatting it as a code block? If you’re not familiar with the code block format, there’s advice on that in tip 5 of Quinn’s Top Ten DevForums Tips. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
4w
Reply to Unix Domain Socket path for IPC between LaunchDaemon and LaunchAgent
[quote='817602021, Pavel, /thread/817602, /profile/Pavel'] On macOS, the socket path length is restricted to 104 characters [/quote] That’s not quite right. While sockaddr_un has a fairly short limit, a Unix domain socket address actually supports a path length up to 253 bytes, which is SOCK_MAXADDRLEN minus the two byte header containing sun_family and sun_len. However, sockaddr_un is defined such that sun_path is 104. So, if you’re happy to do some gnarly pointer play, you can use longer paths, long enough to allow them to live within an app group container. Oh, wait, you said not sandboxed. Well, in that case, you don’t need to put them in an app group container, but you can still take advantage of the long path support. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4w
Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
[quote='878228022, DTS Engineer, /thread/815285?answerId=878228022#878228022'] So, my own, entirely personal and slightly radical, perspective [/quote] I so agree with this! I can’t remember if Kevin radicalised me, or I radicalised Kevin, or perhaps we were both radicalised by the File Manager APIs that Apple introduced in Mac OS 9 (-: Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
4w