Answer by trojanfoe for Xcode - How to run script just before build starts
The best approach is to create pseudo target in your project.For example, say you have a shell script that sets the app version by updating an .xcconfig file:Create a target called SetAppVersion of...
View ArticleComment by trojanfoe on How to remove Other Linker Flags Objc params
So is that a picture of the target build settings or the project build settings? If it's the target build settings, then change it in the project build settings.
View ArticleComment by trojanfoe on I get an error when I archive project react native...
So how is the CocoaAsyncSocket added to the build?
View ArticleComment by trojanfoe on Minilibx - multi-thread synchronization problem
What do you hope to learn from such an old framework?
View ArticleComment by trojanfoe on Raylib render is hidden when using a vibrant window
I've never looked at raylib before, but it seems to use OpenGL? And I'd imagine that NSVisualEffectView uses Metal? So that's problem #1 to solve.
View ArticleComment by trojanfoe on warning: Run script build phase '[CP-User] [Hermes]...
Uncheck Based on dependency analysis on the Build Phase.
View ArticleComment by trojanfoe on How to link VCPKG libraries with G++
From here: For Windows users, Visual Studio's MSVC (Microsoft Visual C++ Compiler) is the required compiler for C++ development..
View ArticleComment by trojanfoe on Crash issue in iOS related to fopen_s(__sFILE**, char...
You are not reading that stacktrace correctly; it actually crashed in pb_check_proto3_default_value + 342. Expand the arrow between frames 0 and 23 to get more context that will help you track it down.
View ArticleComment by trojanfoe on C substring of variable length in a consistent file...
OK firstly you are reading the line data into line which is on the stack and you are returning a pointer to it. When the function goes out-of-scope the stack is reclaimed. Instead, you will need to...
View ArticleComment by trojanfoe on Widgets not showing up on macOS
You're going to need to debug the application extension; which you can do in Xcode with attach to process and the debugger will attach when the appex loads.
View ArticleComment by trojanfoe on LLDB can't list function nor set a breakpoint
I think the "22 locations" thing is because "start" exists in multiple modules (the exe and dylibs). If you use yourexe`start you will get different results; however I played around with this myself...
View ArticleAnswer by trojanfoe for Redeclaring a variable causes calculation errors
Assuming there is a return dMetalFrameR; at the end of that function, then the result is always 0.0 because that variable is never changed from its initial value.This, incorrect, code:double...
View ArticleComment by trojanfoe on CLion fills editor with spaces
You'll probably get more help in the CLion Forum.
View ArticleComment by trojanfoe on Why does Xcode keep compiling old / cached code?
What's the Designed for iPad method? Can you elaborate?
View ArticleComment by trojanfoe on Get a Task Bar rectangle on OSX
Show the code you use to create the window.
View ArticleComment by trojanfoe on Wavefron alert for metric = 0 for 24ht
The wavefront tag you've used does not appear to relate to the question.
View ArticleComment by trojanfoe on A lot of warnings and failed iOS Build after upgrade...
line 5: flutterfire: command not found indicates more than a problem with the minimum iOS target.
View ArticleComment by trojanfoe on How to ship a Flutter MacOS App Notarize using the...
This should get you most of the way there.
View ArticleComment by trojanfoe on Make c++ macro more shorter more efficient
@JesperJuhl How would you implement this then?
View ArticleComment by trojanfoe on Is there a clang-tidy or fixit to use uniform...
I would have assumed -Wall (GNU/clang) or /W4 (MSVC) would generate a warning for the bool b = 5; case...
View Article