iOS Build Error (Blend2D missing)

When exporting my Unity project to Xcode and building for iOS, I encounter linker errors related to undefined Blend2D symbols such as:

_blContextBegin

_blContextDestroy

_blContextEnd

_blContextInit

_blImageCreateFromData

_blImageDestroy

_blImageInit

I checked my Assets/Plugins/iOS and the exported Xcode project, but I do not see any libblend2d.a or Blend2D framework included. Because of this, the iOS build fails.

Could you clarify:

Should libblend2d.a be bundled with Cesium for Unity? If not, what is the correct way to include Blend2D for iOS builds?

Do I need to manually build Cesium Native / Blend2D from source and add it to Unity? (Current Cesium for Unity version : 1.17.0 )

Hi @akashc,

Thank you for this report. This is a known issue that has been recorded on Github here:

We recognize this is breaking behavior, and I apologize on the behalf of the team for the inconvenience. We are investigating and determining a fix so we can get this into the next release.

Hi @akashc,

I’ve just opened a pull request with a fix for this:

So it should be fixed in our next release. In the meantime, you can try out a pre-release build from this branch:

You can easily install it by going here and downloading the “Combined Package” artifact:

Then extract the .tar.gz file found inside it, and add it to your project using the Unity package manager.

Let me know if that solves the problem for you!

Yes I tried downloading the .tgz file from git, it installed successfully and i was able to build for iOS without any trouble.

Thanks for the update.

1 Like

@Kevin_Ring , I’m also facing same issue when building iOS build from unreal engine

Hi @Kevin_Ring , Any update on the following issue for unreal engine?

Happy to hear it is solvable. Waiting for the update.

@Mayank_i are you still experiencing this problem in Cesium for Unreal v2.20.0, which was released at the beginning of October?

Thanks @Kevin_Ring , for the update. Latest update of the plugin surely removed these errors while building for iOS through unreal engine.

1 Like