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

SWIFT Compiler Error: 'Material' is ambiguous for type lookup in this context #2

Closed
mmolero opened this issue Nov 9, 2021 · 2 comments

Comments

@mmolero
Copy link

mmolero commented Nov 9, 2021

First it all, Thanks for sharing, the project from the readme it looks a very nice resource to learn about Reality Kit
I have cloned your repo however, when I tried to compile it, I got the the following issue:

'Material' is ambiguous for type lookup in this context

Do you know why it happens?,
Thanks!!

@john-rocky
Copy link
Owner

john-rocky commented Nov 10, 2021

Hi mmolero.

I fixed those errors.
Now, you can build this project.Please pull new one.

It has happened on importing SwiftUI(no needed) and RealityKit. System did not know "Material" is which one's.
And I fixed libraries compile errors.

Thank you for telling me about these bugs.
If you have some problem again, please tell me any time.

Daisuke

@mmolero
Copy link
Author

mmolero commented Nov 11, 2021

Now it works
I will let you know if I find more issues
Thanks!!!

@mmolero mmolero closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants