This sprint we’ve updated to iOS 14.5, MacOS 11.3 and Xcode 12.5. As always, please let us know if you find any issues with the updgrade.
We’ve also updated our Android build tools to use the d8 tool for creating the .dex files.
As a consequence of updating the Android build tools, we also had to update our LuaJIT implementation. It is still 2.1.0 beta3 but it’s from a month ago. Our previous version was from 2017 (!).
Work in progress
We’ve also continued our work on our new Rive and Spine extensions (actually 2 Spine extensions).
They’re not quite ready just yet, but we’ll let you know when they are ready for testing.
Yes, I know. The files will be uploaded on Monday when I have faster internetz again. @Mathias_Westerdahl is on vacation and I’m at the summer house with a fairly slow internet connection. In the meantime you can download bob from d.defold.com!
More info: Our release script is a bit stupid and downloads the released files from d.defold.com to a local dev machine and uploads them to GitHub.
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"
^
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?
I forked the GameKit repo and opened it in Defold 1.2.185 and built for iOS using build.defold.com as build server and had no problem bundling for iOS.
The errors actually happen when building. I haven’t tried bundling. I wonder what could be the issue then, will have to create a blank project and start troubleshooting.
We’re still stuck using Defold 1.2.184 in our two live projects, and I keep seeing exciting new updates!
It’s not urgent now, but at some point it would be good to be able to upgrade to the latest Defold, especially when the new and very cool Rive implementation is finished.
It’s likely that we are going to need leaderboards on iOS for all games going forward. Would be good to have a game plan for when we upgrade.
Editing extensions is beyond my skillset, so I’m wondering if someone else has any other suggestions?