I’ve gone back to the same project to make a new build and wanted to test the game locally in the editor first. I now get this error on CMD + B with Defold 1.2.184:
/defunityads/src/unityads.cpp
Line 5: 'DLIB_LOG_DOMAIN' macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
^
Line 5: previous definition is here
#define DLIB_LOG_DOMAIN "DEFUNITYADS"
^
Line 6: In file included from upload/defunityads/src/unityads.cpp:6:
In file included from /usr/local/extender-production/sdk/1f5712609c345f870b691a85d611d4825d22a718/defoldsdk//sdk/include/dmsdk/sdk.h:16:
In file included from /usr/local/extender-production/sdk/1f5712609c345f870b691a85d611d4825d22a718/defoldsdk//sdk/include/dmsdk/extension/extension.h:16:
'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
/defunityads/src/utils/LuaUtils.h
Line 3: In file included from upload/defunityads/src/utils/LuaUtils.cpp:1:
In file included from upload/defunityads/src/utils/LuaUtils.h:3:
In file included from /usr/local/extender-production/sdk/1f5712609c345f870b691a85d611d4825d22a718/defoldsdk//sdk/include/dmsdk/sdk.h:16:
In file included from /usr/local/extender-production/sdk/1f5712609c345f870b691a85d611d4825d22a718/defoldsdk//sdk/include/dmsdk/extension/extension.h:16:
'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
clang: warning: no such sysroot directory: '/usr/local/extender-production/platformsdk/MacOSX10.15.sdk/' [-Wmissing-sysroot]
/usr/local/extender-production/platformsdk/XcodeDefault12.5.xctoolchain/usr/bin/ranlib: file: /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/job6433648876335939024/build/libAdInfoExt_1.a(adinfo.cpp_0.o) has no symbols
/usr/local/extender-production/platformsdk/XcodeDefault12.5.xctoolchain/usr/bin/ranlib: file: /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/job6433648876335939024/build/libAdInfoExt_1.a(adinfo_android.cpp_1.o) has no symbols
/usr/local/extender-production/platformsdk/XcodeDefault12.5.xctoolchain/usr/bin/ranlib: file: /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/job6433648876335939024/build/libAdInfoExt_1.a(adinfo_ios.mm_2.o) has no symbols
Update: Bundling to Android works, just not building with CMD+B.