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

new is unavailable 'init' has been explicitly marked unavailable here #51

Open
SMKH-PRO opened this issue Sep 20, 2021 · 0 comments
Open

Comments

@SMKH-PRO
Copy link

Hi, I am unable to use this on iOS,

My XCODE version is 12.5.1 and the swift version was 5, I also tried with swift 4 and swift 4.2 but that only made things worst.

I think this is happening because this project is using an older version of swift, although I am not completely sure as I am not a swift developer, this is an amazing library I wish I could contribute to it but I am not a swift developer, I hope someone can contribute and fix these issues with an iOS side of this library.

I have attached images of the error:

Pods/RECT3DModel/core/RECT3DModellO.m

initWithName:@"baseMaterial" scatteringFunction:scatteringFunction];
MDLMaterialProperty* baseColor = [MDLMaterialProperty new]; - error: new is unavailable

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

1 participant