Building to iOS fails: Undefined symbols errors regarding CesiumGltfReader
See original GitHub issueWhen building Unity project with XCode for iOS it gives errors regarding the CesiumGltfReader.
Undefined symbols for architecture arm64: "_meshopt_decodeFilterExp", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) "_meshopt_decodeFilterOct", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) "_meshopt_decodeFilterQuat", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) "_meshopt_decodeIndexBuffer", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) "_meshopt_decodeIndexSequence", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) "_meshopt_decodeVertexBuffer", referenced from: CesiumGltfReader::decodeMeshOpt(CesiumGltf::Model&, CesiumGltfReader::GltfReaderResult&) in libCesiumGltfReader.a(decodeMeshOpt.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Unity version: 2021.3.27 Cesium version: 1.5.0 Xcode version: 14.2
Issue Analytics
- State:
- Created a month ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Yes! That fixed it and I’m able to build to iOS now 😃
Thanks for the instructions, I’ll test it out