Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Community Toolkit] iOS Bug: "System.DllNotFoundException, Message=freetype" - What does this mean? Any fix? #2197

Open
jonmdev opened this issue Mar 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jonmdev
Copy link

jonmdev commented Mar 25, 2024

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
ios freetype

Repro Code

Repro Project
https://github.com/jonmdev/MauiStride

To Reproduce

  1. In Visual Studio 2022 go File > New > .NET8 MAUI project
  2. Add Stride Community Toolkit NuGet
  3. Select "Debug" and USB attached iPhone and click "Debug"
  4. 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.

@jonmdev jonmdev added the bug Something isn't working label Mar 25, 2024
@jonmdev jonmdev changed the title iOS Bug: "System.DllNotFoundException, Message=freetype" - What does this mean? Any fix? [Community Toolkit] iOS Bug: "System.DllNotFoundException, Message=freetype" - What does this mean? Any fix? Mar 25, 2024
@YanYas
Copy link

YanYas commented Mar 25, 2024

There was something mentioned about it in the Stride/Linux discord chat. Here. See the message above it for context.
It also links to here. I have no idea what effect this has with Mac/IOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants