Post

Replies

Boosts

Views

Activity

Reply to SecKeychainAddCallback and command-line program
As usual, I probably WAY overthought it, and did:         dispatch_async(dispatch_get_main_queue(), ^{             NSRunLoop *myLoop = NSRunLoop.currentRunLoop;             OSStatus kr = SecKeychainAddCallback(MyKeychainEventCallback, kSecEveryEventMask, NULL);             while (1) {                 // Keep running, restarting every 10 minutes. We could make                 // this a lot longer, though.                 [myLoop runUntilDate:[NSDate dateWithTimeIntervalSinceNow:600]];             }         });
Topic: Privacy & Security SubTopic: General Tags:
May ’22
Reply to Transparent Proxy Provider, signing identifiers, and WebKit
There isn’t a general-purpose responsible process API. If you search DevForums, you’ll find numerous places where I’ve talked about this notion before. Is "responsible process API" a good thing to search for? (I'm not a good searcher.) your product includes an ES client It should, but we still have not gotten it, thus my asking a month or two ago if anyone had gotten it. Nobody responded either way.
Topic: Code Signing SubTopic: General Tags:
May ’22
Reply to CMake, vcpkg, and universal builds
Over, on twitter, Alexander Neumann (@Iluinrandir) gave me the solution. I used env PATH=${HOME}/vcpkg-arm64:${PATH} cmake -G Xcode .. -DVCPKG_HOST_TRIPLET=x64-osx -DVCPKG_TARGET_TRIPLET=arm64-osx -DCMAKE_TOOLCHAIN_FILE=${HOME}/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DMACOS_BUILD_RELEASE=ON to create the xcodeproj, and then time cmake --build . --config Release -- -allowProvisioningUpdates to build. And... I ended up with arm64 executables that work on my M1 MBP. I'm not sure if the -DCMAKE_OSX_ARCHITECTURES=arm64 is necessary or not.
May ’22
Reply to CMake, vcpkg, and universal builds
Now, this still leaves me wondering how to combine them into a single bundle. I mean, I know how to script the part where I lipo the various parts together, but I'm not sure how to get the proper signing done, other than copying the output of xcodebuild. We can have separate distributions for now (until and unless Apple lets me use the Endpoint Security Framework for real, we can't be feature-complete, or at least feature-parity with Windows, anyway).
May ’22