[Community Toolkit] iOS Bug: "System.DllNotFoundException, Message=freetype" - What does this mean? Any fix?
Version
Release: Stride Community Toolkit NuGet 1.0.0-preview.20 Platform(s): iOS
Context
I am attempting to create an integration pathway with Maui to allow crossplatform gaming for iOS/Android/Windows with Microsoft Maui as discussed here.
I think this would be a massive benefit for Stride, cross platform gaming, and Maui apps where simple lightweight 3D elements are needed (eg. 3D product visualization or secondary game play functions).
The Community Toolkit is a fantastic candidate for this as it can be added to an existing .NET 8 project with a simple NuGet. A code only approach should allow easy integration.
Bug
However, unfortunately, if I create a default Maui project in Visual Studio 2022 and add the Stride Community Toolkit NuGet, even with no other steps taken (not even using Stride, just add package), I can no longer build the project to iOS.
Attempts to build to iOS (USB attached iPhone, set to Debug mode on top bar and target iPhone) provides the following error:
System.DllNotFoundException
Message=freetype
I am not sure what this represents. Any thoughts/suggestions/fixes?
Screenshot
Screenshots
Repro Code
Repro Project https://github.com/jonmdev/MauiStride
To Reproduce
- In Visual Studio 2022 go File > New > .NET8 MAUI project
- Add Stride Community Toolkit NuGet
- Select "Debug" and USB attached iPhone and click "Debug"
- See error
Goal
Expected behavior Need to be able to build to iOS with Community Toolkit installed without error in order to continue integration attempts.
Stride seems like a fantastic project! I already adore the code only approach and simplicity of the Community Toolkit! Thanks for any ideas or suggestions.