Is it possible to write or print preprocessor macros in Xcode for build results?
I want to see current specific macros during build.
For example, if I defined DEBUG and TESTSERVER as a preprocessor macro, there should be some lines in the assembly results, for example:
Maybe there is a custom shell script that can be executed after the build.
OK I found the solution in the Apple documentation
Just enter the echo $GCC_PREPROCESSOR_DEFINITIONSscript into the build phase.
echo $GCC_PREPROCESSOR_DEFINITIONS
Run Script , " ", . Script , , . , , - , .
, " Script", .
, ,
setenv GCC_PREPROCESSOR_DEFINITIONS "DEBUG=1 Debug=1"
Source: https://habr.com/ru/post/1785203/More articles:video call in C # - c #Match last group inside _ () _ with regex in Ruby - ruby | fooobar.comiPhone - UIWebView - clicking on the URL before loading the page makes makeFailLoadWithError gives an error - iphoneRun SQL Script Against MySQL Using Powershell - mysqlWhat is the correct way to connect to a database from an eclipse plugin? - datasourceИзмените файлы конфигурации системы и используйте системные команды через веб-интерфейс - pythonController actions seem synchronous, albeit on different requests? - jqueryDoes MapKit support Google StreetView - iphoneUnit testing gwt-dispatch - javaAdding a text view to surface view - androidAll Articles