Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

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

@SMKH-PRO

Description

@SMKH-PRO

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions