Skip to content

[iOS] 3.0.0 build error on old archΒ #48

@huschu

Description

@huschu

I had to upgrade to version 3.0.0 because my EAS builds had this issue, even though I haven't enabled the new architecture yet. But now on my local machine these commands fail:

CompileC [...]/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-clusterer.build/Objects-normal/arm64/react-native-clusterer.o [...]/node_modules/react-native-clusterer/cpp/react-native-clusterer.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-clusterer' from project 'Pods')
CompileC [...]/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-clusterer.build/Objects-normal/arm64/helpers.o [...]/node_modules/react-native-clusterer/cpp/helpers.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-clusterer' from project 'Pods')

When I bump the c++ dialect in Xcode it builds, but of course with every prebuild that setting is lost. I don't know much about c++ or pods, but is there a way to set this permanently?

dialect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions