-
Notifications
You must be signed in to change notification settings - Fork 44
Xcode error: failed to turn Swift AST into Gryphon AST: Unknown expression #36
Comments
Sorry for the delay! I thought I had left a comment here but apparently I forgot 😓 This is probably happening because you are trying to translate an expression that isn't supported yet. Can you provide more information? It'd be helpful if you could say the version of Gryphon you're using, and also if you could show the part of your code that's giving this error. |
Hi @massimobio, your problem seems to be different than the original post's, but let's take a look. I don't think I've tested Xcode support on a project with an xcworkspace yet; that might be making xcodebuild confused (which would make Gryphon confused too). Let's try this: in your project's folder there should be a hidden folder called |
No worries! Let's try to find the problem, then we'll create a new issue if we need to. It seems from this file that Gryphon is only asking Swift to parse three files for it:
The file you want to translate, which I assume is called something like Is there maybe another target on your xcproject that compiles only these files? Or another project in your xcworkspace? |
There isn't yet, but it shouldn't be hard to implement. I've added issue #40 to track this problem. Let me take a look and I'll let you know if I manage to fix it. |
Closing this issue due to inactivity. Feel free to comment with any new information and we can reopen it. |
Hello. I am getting this error. How to fix it? Thanks
The text was updated successfully, but these errors were encountered: