Post

Replies

Boosts

Views

Activity

Reply to On building an universal binary on Xcode 12.3, why are the dynamic libraries under Example.app/Contents/Frameworks directory buillt for x86_64 archirecture only and not for arm64?
Swift ABI got stable in 10.14.4, this means that those libraries are now bundled with macOS. Probably you set the deployment target to a version older than 10.14.4, so Xcode bundles the Swift libraries, but only for Intel because the first macOS version for arm was 11, and it already includes those libraries.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Reply to App modification after installation and MacOS security, code signing, app notarization
It would be easier to just bundle a copy of those libs inside each app. Then you won't need a .pkg to install them, or a deinstaller to remove them. Anyway, if the libraries you replace in your /Libraries/MyAppLibs/ folder are properly signed, there shouldn't be any issue. Each .app bundle or library outside an .app bundle is a separate entity. Changing one entity won't affect the others, just make sure you keep using the same signing identity. Changing something inside a .app bundle will break its signature, macOS doesn't check it every time, but the next time it will (and it will surely will) the app won't run anymore.
Topic: Code Signing SubTopic: General Tags:
Mar ’22
Reply to AVAudioEngine and c++?
C++ doesn't understand Objective-C classes, you have to use Objective-C++ (and rename the files to .mm)
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to On building an universal binary on Xcode 12.3, why are the dynamic libraries under Example.app/Contents/Frameworks directory buillt for x86_64 archirecture only and not for arm64?
Swift ABI got stable in 10.14.4, this means that those libraries are now bundled with macOS. Probably you set the deployment target to a version older than 10.14.4, so Xcode bundles the Swift libraries, but only for Intel because the first macOS version for arm was 11, and it already includes those libraries.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Will Apple remove the use of OpenGL entirely in iOS16?
As far as I know OpenGL is still deprecated, same as before. It hasn't been removed.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Where is the documentation for NSConcreteAttributedString?
Because it's an private class of the NSAttributeString class cluster, and there shouldn't be any difference in the public interface.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Getting past the unidentified developer problem
Yes, code sign first then notarise. There are some useful topics here on this forum too: https://developer.apple.com/forums/thread/707080 https://developer.apple.com/forums/thread/707377
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Is there any way to draw to a NSView asynchronously on macOS?
The way setCanDrawConcurrently works is that AppKit calls your drawRect method in another thread. And that's it, it doesn't mean you can safely draw things on yet another thread different from the calling thread.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to NSSpellChecker returning an out of bounds range
That's the NSNotFound constant..
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Is there any way to draw to a NSView asynchronously on macOS?
That seems unrelated to NSView setCanDrawConcurrently property. Either try to use setCanDrawConcurrently directly, it finally works on 10.14 and later, or do what was recommended in that stackoverflow answer.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to MacOs python app does not work properly when downloaded
The app will be run from a randomised path until the user manually move it: https://krypted.com/mac-security/app-translocation-services-os-x-10-12/ (I don't know the URL of the current documentation).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Is there any way to draw to a NSView asynchronously on macOS?
Where did you read it? Actually before 10.14 NSView setCanDrawConcurrently was broken and it run everything on the main-thread.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to ApplicationSupportDirectory does not return correct value
The path is correct, only sandboxed apps use the Containers folder.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to App modification after installation and MacOS security, code signing, app notarization
It would be easier to just bundle a copy of those libs inside each app. Then you won't need a .pkg to install them, or a deinstaller to remove them. Anyway, if the libraries you replace in your /Libraries/MyAppLibs/ folder are properly signed, there shouldn't be any issue. Each .app bundle or library outside an .app bundle is a separate entity. Changing one entity won't affect the others, just make sure you keep using the same signing identity. Changing something inside a .app bundle will break its signature, macOS doesn't check it every time, but the next time it will (and it will surely will) the app won't run anymore.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to kext load failed on macOS Big Sur 11.6 M1
I remember reading somewhere that kext are not supported on macOS VM on M1. But I can't find the source of this information or where I read it.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Distribution of mac software packge
Sign and notarise it using your Developer ID certificate and then distribute it in the way you want: https://developer.apple.com/developer-id/
Replies
Boosts
Views
Activity
Feb ’22
Reply to ffmpeg leveraging iphone's hardware codec capability
Yes, FFmpeg hwaccel can use a VideoToolbox hardware decoder, and hardware encoders are supported too. Check the FFmpeg documentation.
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
Feb ’22