Skip to content

Exporting the project

Alessandro Famà edited this page Jul 11, 2022 · 23 revisions

Switching to the release version of the integration (Only for < 1.5.0 versions of the integration)

The integration ships with both debug and release versions of the Wwise GDNative plugin. By default, the debug version is activated for both editor and exported projects so that the Wwise authoring profiler can be used. To switch to the release version of the GDNative plugin, open up the project.godot file and then change the auto-loaded wwise-gdnative-debug.gdnsto wwise-gdnative-release.gdns:

This is especially important if you plan to release and publish your game.

Platform specific settings

Windows, macOS, Linux and Android

Make sure to add *.bnk, *.xml and *.wem to the non-resource export filter in the Resources tab in the Export dialog:

Then export the project. This is important to make sure the banks are included in the exported files.

iOS

The involved steps are mentioned in this reddit post. Here's a summary below, also adding some missing steps:

  • After exporting the project for iOS, open the Xcode project. We then need to configure the Project Signing & Capabilities - use your Apple developer credentials there for the Team. We have to remove the push notifications from Signing & Capabilities.
  • After that, we try to build the app for iOS and if there are any errors related to wwise_init redefinition, edit dummy.cpp from the project and remove the duplicated functions.
  • If the WwiseGDNative static library isn't found (it should be part of the Frameworks of the project) add the path to the Targets Build Settings, Library Search Paths.
  • When trying to build the project again, Xcode can complain about missing symbols so we have to add manually the corresponding static libraries from the Wwise SDK (memory manager, stream manager, required plugins etc and also the libgodot-cpp dependency) in Targets, Build Phases, Link Binary With Libraries. Also add the Wwise SDK iOS iphone libs folder to the Library Search Paths.
  • The art assets (icon images for the app) should be updated in the project as mentioned in the Reddit post above.
  • The wwise folder containing soundbanks should be also included in the Xcode project at root e.g. alongside the dylibs folder in the project tree.