Comment by trojanfoe on Cannot run app from /Applications when...
Start Console.app then Start streaming and then double-click your app icon and see what messages are generated.
View ArticleComment by trojanfoe on How to set an icon for a MacOS system network...
I haven't written a packet-filter for macOS, but I have for iOS, and the system uses the icon of the enclosing app. I would assume the same for macOS.
View ArticleComment by trojanfoe on How does CMake's universal binary builds work?
I didn't even know it could build Universal; I have been building the arch's separately and combining the binaries and .dSYM using a script. I might to re-think that...
View ArticleComment by trojanfoe on Java Socket not binding to an Apple Silicon computer
Try binding to INADDR_ANY (0.0.0.0).
View ArticleComment by trojanfoe on rust application stuck on MacOS
I think you want some brackets around ctx.input(|i| i.key_pressed(Key::B) && i.modifiers.command_only()) unless you expect the user to Cmd-click the Confirm button...
View ArticleComment by trojanfoe on Cannot find what files are taking up most of the...
That's disk space, not memory.
View ArticleComment by trojanfoe on npm install on an M1 Mac, you might encounter issues...
Using a non-native CPU arch seems wrong to me...
View ArticleComment by trojanfoe on Why can't I upgrade pip3 version 24.0 to 24.2 if it...
I've never found a way round this; I just use python3 -m pip install --upgrade --break-system-packages pip
View ArticleComment by trojanfoe on macOS Wireguard Apple convert Application Network...
Why can't you notarize the app that contains the app extension? Using a network extension sounds right to me.
View ArticleComment by trojanfoe on Skip struct field when deriving Debug
I suspect the best approach will be to impl Debug manually, rather than using the derive macro.
View ArticleComment by trojanfoe on Why are Git commands not working on my MacOS?
Sounds like you don't have permission to read the current working directory; nothing to do with git.
View ArticleAnswer by trojanfoe for C: Which character should be used for ptrdiff_t in...
It's %td. See here or better still here.
View ArticleComment by trojanfoe on Why is virtual_size on macOS so different from VmSize...
Looks related: stackoverflow.com/a/55946021/299924
View ArticleComment by trojanfoe on How to get XCode to use relative path
If you have multiple Xcode Projects that are related, you should probably be using an Xcode Workspace to bind them together. This way you can define the dependencies between the projects, which will...
View ArticleComment by trojanfoe on create menu bar app macos using html (iframe)
I am no JavaScript dev, but I know enough that you have to install node.js (using Homebrew that would be brew install node) and then yarn is installed with npm install -g yarn. If you are gonna write...
View ArticleComment by trojanfoe on VS Code. How to compile a given list of files?
Easiest thing is to use cmake, which VSCode supports with the right extension installed.
View ArticleComment by trojanfoe on How can I pre-authorize authopen in Rust?
authopen: /dev/rdisk3: No such file or directory Seems like the root cause?
View ArticleComment by trojanfoe on can't compile c++ hello world with clang on mac...
This is a strange issue; this works for me clang -o hello hello.cpp -lstdc++.
View ArticleComment by trojanfoe on How to cut a line in Xcode without selecting the text?
@hvkale well that’s a good point!
View ArticleComment by trojanfoe on Qt webengine process signing issue
I have done this in the past, but don't have the details to hand. Don't use --deep for starters and I know I used different entitlements for the frameworks/dylibs than for the apps. I remember that I...
View Article