Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,648 results found

Post

Replies

Boosts

Views

Activity

mDNSResponder: legacy OpenSSL licence
Hello, I’m reviewing the open-source mDNSResponder repository and have a question regarding licensing/provenance in mDNSCore/DNSDigest.c file. That file contains an embedded notice stating that parts of the MD5/digest implementation were derived from older OpenSSL sources and therefore include the legacy OpenSSL/SSLeay license text, even though OpenSSL itself is now Apache-2.0 starting from version 3.0. The legacy OpenSSL/SSLeay license is widely understood to impose additional attribution and notice requirements compared to Apache-2.0, and some downstream projects prefer to avoid it when a permissively licensed alternative is available. Repository: https://github.com/apple-oss-distributions/mDNSResponder File: https://github.com/apple-oss-distributions/mDNSResponder/blob/main/mDNSCore/DNSDigest.c#L66 I’d like to clarify a few points: Is the MD5/digest code in DNSDigest.c still based on pre–OpenSSL-3.0 sources, such that retaining the legacy OpenSSL/SSLeay license block is intentional and required? I
2
0
130
1w
Reply to Notarization wipes the "Icon?" file
I agree with red_menace that you don’t want to be using a custom icon for this. That’s super brittle. If you using Script Editor to save a new application, it has already set up all the bits you need: % plutil -p Test811273.app/Contents/Info.plist { … CFBundleIconFile => applet CFBundleIconName => applet … } % file Test811273.app/Contents/Resources/applet.icns Test811273.app/Contents/Resources/applet.icns: Mac OS X icon… % file Test811273.app/Contents/Resources/Assets.car Test811273.app/Contents/Resources/Assets.car: Mac OS X bill of materials (BOM) file To get the right icon, replace applet.icns with your own: % cp /Applications/Pages.app/Contents/Resources/AppIcon.icns Test811273.app/Contents/Resources/applet.icns % rm Test811273.app/Contents/Resources/Assets.car After doing this, zip and unzip the app so that the Finder refreshes. Now, in this case I nixed the Assets.car entirely, so that macOS falls back to applet.icns. A better way to do it would be to use Xcode to build a dummy app with the right
Topic: Code Signing SubTopic: Notarization Tags:
1w
macOS 14.8 Keychain Import Fails for PKCS#12 Files Generated with OpenSSL 3.4.0
We recently upgraded OpenSSL from version 1.1.1 to 3.4.0. After this upgrade, we observed that PKCS#12 files generated using OpenSSL 3.4.0 fail to import into the macOS Keychain with the following error: Failed to import PKCS#12 data: -25264 (MAC verification failed during PKCS12 import (wrong password?)) This issue is reproducible on macOS 14.8.2. The same PKCS#12 files import successfully on other macOS versions, including 15.x and 26.x. Additionally, PKCS#12 files that fail to import on macOS 14.8 work correctly when copied and imported on other macOS versions without any errors. PKCS#12 Creation The PKCS#12 data is created using the following OpenSSL API: const char* platformPKCS12SecureKey = _platformSecureKey.has_value() ? _platformSecureKey.value().c_str() : NULL; PKCS12* p12 = PKCS12_create( platformPKCS12SecureKey, NULL, keys, _cert, NULL, 0, 0, 0, 0, 0 ); if (!p12) { throw std::runtime_error(Failed to create PKCS#12 container); } PKCS#12 Import The generated PKCS#12 data is imported into the macOS K
1
0
210
1w
Reply to Notarization Rejection - The binary is not signed with a valid Developer ID certificate
There are two ways you could interpret that error: Focus on the “valid Developer ID certificate” part. Focus on the “The binary is not signed” part. My experience is that the latter interpretation is more helpful. That is, there’s nothing wrong with your Developer ID certificate but rather there’s something wrong with your packaging that’s preventing the notary service from verifying its code signature. Having said that, this is a strange: [quote='811481021, AbsurdFish, /thread/811481, /profile/AbsurdFish'] Re-tested with minimal test package - same error persists [/quote] How are you creating this minimal test? With Xcode? Here’s the diagnostic test I recommend: Create a new test project in Xcode, using the macOS > App template. Choose Product > Archive. In the Xcode organiser, click Distribute App and follow the Custom > Direct Distribution > Export path. That produces a folder containing your app binary. Use ditto to create a zip archive from that, as explained in Packaging Ma
Topic: Code Signing SubTopic: Notarization Tags:
1w
Reply to How to properly register a macOS System Extension in an Electron app?
What ssmith_c said plus… com.apple.developer.system-extension.install is a restricted entitlement, that is, one that must be authorised by a provisioning profile. If you were using Xcode, it would take care of this for you. Given that you’re not, you have to do this by hand. There are a bunch of resources to help you with this: Creating distribution-signed code for macOS has general info about that. TN3125 Inside Code Signing: Provisioning Profiles has background on how provisioning profiles work. Resolving Trusted Execution Problems has a ‘child’ post that explains how to debug issues like this. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
How to properly register a macOS System Extension in an Electron app?
Hi everyone, I’m developing an Electron application on macOS and I’m trying to register and activate a macOS System Extension, but I’m running into startup and entitlement issues. 🔧 What I’m trying to build • An Electron app packaged with electron-builder • Signed with Developer ID Application • Notarized using @electron/notarize • A macOS System Extension is already built and signed • The System Extension provides a virtual camera • I wrote a Swift helper that: • Registers / activates the virtual camera • Calls OSSystemExtensionManager • This Swift code is compiled into a .node native addon • The .node module is loaded and called from Electron (Node.js) to trigger system extension registration ❗ The problem When I add the following entitlement: com.apple.developer.system-extension.install the application fails to launch at all on macOS. Without this entitlement: • The app launches normally • But system extension activation fails with: Error Domain=OSSystemExtensionErrorDomain Code=2
2
0
475
1w
Internal error, NEHotspotConfigurationErrorDomain
Hello eveybody,Currently I'm working on an app which connects to a device. During testing I encounter an internal error of NEHotspotConfigurationErrorDomain. See the log snippet:Domain=NEHotspotConfigurationErrorDomain Code=8 internal error. UserInfo={NSLocalizedDescription=internal error.}This error appears randomly. In one day I encountered it three times. The only solution I can think of is catching this error somehow and then telling the user to restart the device.After this error appears, the wifi functionality of iOS in all third party apps seems to be broken. Only restarting helps as far as I know. Also there seems to be nothing we as app developers can do about it. Therefor I wonder if there is some way to prevent this error somehow? The only solution I can think of is catching this error somehow and then telling the user to restart the device.Also since there is not much information about this error on the web, it would be really nice if someone can clarify whats going on with this error.Reg
16
0
10k
1w
Initial stack construction
I'm having problems constructing the initial stack for the guest executable for Valgrind on macOS 12 Intel. This seemed to work OK for macOS 11 but I'm getting a bad 'apple' pointer on macOS 12. The stack (constructed by Valgrind) looks like this higher address +-----------------+ <- clstack_end | | : string table : | | +-----------------+ | NULL | +-----------------+ | executable_path | (first arg to execve()) +-----------------+ | NULL | - - | envp | +-----------------+ | NULL | - - | argv | +-----------------+ | argc | +-----------------+ | mach_header * | (dynamic only) lower address +-----------------+ <- sp | undefined | : : The problem that I'm having is with the executable path (or the apple pointer). This points to NULL. The actual pointer to the executable=xxx string is 16 bytes lower in memory. The code for main starts with Dump of assembler code for function main: 0x0000000100003a90 <+0>: push %rbp 0x0000000100003a91 <+1>: mov %rsp,%rbp 0x0000000100003a94 <+4
2
0
119
1w
Reply to ipad通过转接口连接上有线网络之后,部分设备无法获取到IP地址
Sadly, I can’t read Chinese, so I’m answering based on a machine translation. The code you posted assumes that a specific interface type will have a specific interface name. That’s not a valid assumption. BSD interface names are not considered API on Apple platforms. I have a lot more information about this in the various posts referenced by Extra-ordinary Networking. Please read them through. If you have follow-up questions, I’d be happy to answer them here. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Reply to Content filtering
[quote='810499021, ArcticSentinel, /thread/810499, /profile/ArcticSentinel'] My goal would be to create a content filtering app for all users [/quote] On what platform? I initially thought you were talking about iOS, but the fact that you mentioned “all users” suggests that you might be targeting macOS. As TN3134 Network Extension provider deployment explains, the rules here are very different between the two. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Reply to Different ID's in Apple Developer Portal and Xcode
[quote='810133021, anilaygun, /thread/810133, /profile/anilaygun'] Is this a problem? [/quote] I suspect that your confused by the various identifies in play here. Specifically, your Team ID, your User ID, your Team Member ID, and your app’s App ID prefix are all identifiers with the 10-character format, but they’re all different things. So, for example, your Team ID is not supposed to match your User ID. For more on this stuff, see Code Signing Identifiers Explained. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
FYI: Network System extension, macOS update issue, loss of networking
This is just an FYI in case someone else runs into this problem. This afternoon (12 Dec 2025), I updated to macOS 26.2 and lost my network. The System Settings' Wi-Fi light was green and said it was connected, but traceroute showed No route to host. I turned Wi-Fi on & off. I rebooted the Mac. I rebooted the eero network. I switched to tethering to my iPhone. I switched to physical ethernet cable. Nothing worked. Then I remembered I had a beta of an app with a network system extension that was distributed through TestFlight. I deleted the app, and networking came right back. I had this same problem ~2 years ago. Same story: app with network system extension + TestFlight + macOS update = lost network. (My TestFlight build might have expired, but I'm not certain) I don't know if anyone else has had this problem, but I thought I'd share this in case it helps.
2
0
118
1w
App Clip Experience Does Not Update Content After Initial Creation (Persistent Caching Issue)
Hi everyone, We’re running into a serious issue with App Clip Experience updates not propagating to devices, and I’m hoping someone here has encountered (or solved) this before. Problem Once an App Clip Experience is created and used on devices, subsequent updates made in App Store Connect do not reflect on any devices, even after a long period of time. We’ve tried: • Updating the App Clip Experience URL (adding utm parameters, for example, utm_source and scanning via QR code) • Modifying Experience metadata/content • Waiting several days (over a week) • Testing on multiple devices (including devices that never opened the App Clip before) Despite this, the App Clip continues to show the initially created content, while App Store Connect clearly shows the updated configuration. Important Details • We currently have ~1,300 App Clip Experiences created • All App Clips use the same App Clip Bundle ID • The content behind the URLs updates correctly on the website • Only the App Clip continues to show stal
7
0
394
1w