-
Notifications
You must be signed in to change notification settings - Fork 444
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
UTType missing when building Darling #1301
Comments
I tried to generate stubs for UniformTypeIdentifiers.framework which has the UTType class and add them in /src/frameworks, but I'm still getting the same error. Any suggestion? |
My stub generator doesn't automatically add So you would need to add the following: #import <UniformTypeIdentifiers/UniformTypeIdentifiers.h> Also, it is harder for me to help debug your issues without seeing your files. Maybe consider creating a PR so that I can see your files. |
Thanks, I tought the generator added them automatically so I didn't check. Adding the import line you suggested actually works, but now I'm struggling with other error references and I'm trying to fix all of them. Do you have any modus-operandi to suggest in order to speed up the referencing process? Just created a PR for ShazamKit #1302 |
I'll continue our discussion in the PR. |
I'm trying to build Darling including ShazamKit framework obtained from an x64 Ventura Macbook.
I generated stubs for ShazamKit (frameworks) and ShazamCore, ShazamEvents, ShazamInsight and ShazamKitUI (private-frameworks) but I'm getting the error about the missing UTType interface when building the first ShazamKit.
Any suggestion?
Build Log
error: cannot find interface declaration for 'UTType'
System Information
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: