Hi guys, back from holiday! Updating to 1.2.185 causes a number of errors and warnings when building:
/gamekit/src/GameCenterDelegate.mm
Line 9: In file included from upload/gamekit/src/GameCenterDelegate.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/GameKit.mm
Line 9: In file included from upload/gamekit/src/GameKit.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/GetCommands.mm
Line 9: In file included from upload/gamekit/src/GetCommands.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/ImageBitmap.h
Line 4: In file included from upload/gamekit/src/ImageBitmap.mm:4:
In file included from upload/gamekit/src/ImageBitmap.h:4:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/RealTimeCommands.mm
Line 9: In file included from upload/gamekit/src/RealTimeCommands.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/SendCommands.mm
Line 9: In file included from upload/gamekit/src/SendCommands.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/gamekit/src/ShowCommands.mm
Line 9: In file included from upload/gamekit/src/ShowCommands.mm:9:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameKit.framework/Headers/GameKit.h:19:
In file included from /opt/platformsdk/MacOSX11.3.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:48:
property with 'retain (or strong)' attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
/defunityads/src/DefUnityAds.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"
^
/firebase/src/firebase.cpp
Line 3: 'DLIB_LOG_DOMAIN' macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
^
Line 3: previous definition is here
#define DLIB_LOG_DOMAIN "FIREBASE"
^
/gameanalytics/src/gameanalytics.cpp
Line 6: 'DLIB_LOG_DOMAIN' macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN LIB_NAME
^
Line 6: previous definition is here
#define DLIB_LOG_DOMAIN "GAMEANALYTICS"
^
/gameanalytics/src/ios/GameAnalyticsCpp.mm
Line 6: 'DLIB_LOG_DOMAIN' macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN "GameAnalytics"
^
Line 6: previous definition is here
#define DLIB_LOG_DOMAIN "GAMEANALYTICS"
^
/gamekit/src/GameKit.cpp
Line 9: 'DLIB_LOG_DOMAIN' macro redefined [-Wmacro-redefined]
#define DLIB_LOG_DOMAIN "GameKit"
^
Line 9: previous definition is here
#define DLIB_LOG_DOMAIN "GAMEKIT"
^
Dependencies:
dependencies#0 = https://github.com/rgrams/rendercam/archive/1.0.3.zip
dependencies#1 = https://github.com/britzl/monarch/archive/refs/tags/3.4.1.zip
dependencies#2 = https://github.com/britzl/gooey/archive/9.1.0.zip
dependencies#3 = https://github.com/AGulev/set_screen_position/archive/refs/tags/1.1.1.zip
dependencies#4 = https://github.com/indiesoftby/defold-hyper-trails/archive/1.0.0.zip
dependencies#5 = https://github.com/defold/extension-gpgs/archive/2.2.0.zip
dependencies#6 = https://github.com/animonger/extension-gamekit/archive/master.zip
dependencies#7 = https://github.com/defold/extension-firebase-analytics/archive/1.4.2.zip
dependencies#8 = https://github.com/defold/extension-iap/archive/3.0.1.zip
dependencies#9 = https://github.com/GameAnalytics/defold-openssl/archive/1.0.0.zip
dependencies#10 = https://github.com/GameAnalytics/GA-SDK-DEFOLD/archive/3.3.10.zip
dependencies#11 = https://github.com/defold/extension-facebook/archive/refs/tags/6.2.1.zip
dependencies#12 = https://github.com/defold/extension-adinfo/archive/refs/tags/3.0.0.zip
dependencies#13 = https://github.com/subsoap/chrono/archive/master.zip
dependencies#14 = https://github.com/AGulev/DefVideoAds/archive/refs/tags/3.7.1.zip
It builds fine in 1.2.184. I assume the errors have something to do with this:
The errors seem to relate to the Gamekit, UnityAds, Firebase and GameAnalytics extensions. All extensions apart from Gamekit seem to have a later version which might fix the above issues. Is there something I can do to fix the Gamekit extension specifically?