question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building to iOS fails: Undefined symbols errors regarding CesiumGltfReader

See original GitHub issue

When 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:closed
  • Created a month ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
RobinopdeBeekcommented, Aug 15, 2023

Yes! That fixed it and I’m able to build to iOS now 😃

0reactions
RobinopdeBeekcommented, Aug 15, 2023

Thanks for the instructions, I’ll test it out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined Symbols in Linking iOS App
Now nothing compiles for simulators and test devices and I end up with linking errors with undefined symbols. I've tried clean builds, pod...
Read more >
Undefined symbols for architecture x86_64 when building ...
I'm trying to build a flutter project from Xcode Version 12.4 for a iPhone 12 Simulator with iOS 14.4. Everything works fine from...
Read more >
Undefined symbols for architecture arm64 in Xcode 14
I am facing an issue when building a project that builds without issue in Xcode 13.4.1, but hits a build error in Xcode...
Read more >
Admob not compiling on iOS (Undefined Symbols)
Hey folks! When a build errors with "Undefined symbol: ...", it means XCode cannot find some native functions that the code being compiled...
Read more >
Xcode Build fails - Undefined symbols for architecture arm64
Hey, I am really hoping someone can help me here, I have a unity project that runs in editor no issues, When I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found