# iOS Linking Errors

**URL:** <https://community.cesium.com/t/ios-linking-errors/23669>\
**Category:** Cesium for Unity\
**Created:** [April 26, 2023, 10:21pm UTC](https://community.cesium.com/t/ios-linking-errors/23669 "2023-04-26T22:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Tosh](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andrew_tosh/32/13425_2.png) [@Andrew\_Tosh](https://community.cesium.com/u/Andrew_Tosh)\
**Post date:** [April 26, 2023, 10:21pm UTC](https://community.cesium.com/t/ios-linking-errors/23669/1 "2023-04-26T22:21:37Z")

</div>

Trying to build for iOS but getting the following unresolved symbols. Does jpeg-turbo need to be linked?

Undefined symbols for architecture arm64:  
“\_tjDecompress2”, referenced from:  
CesiumGltfReader::GltfReader::readImage(gsl::span\<std::byte const, 18446744073709551615ul\> const&, CesiumGltf::Ktx2TranscodeTargets const&) in libCesiumGltfReader.a(GltfReader.o)  
“\_tjDecompressHeader3”, referenced from:  
CesiumGltfReader::GltfReader::readImage(gsl::span\<std::byte const, 18446744073709551615ul\> const&, CesiumGltf::Ktx2TranscodeTargets const&) in libCesiumGltfReader.a(GltfReader.o)  
“\_tjDestroy”, referenced from:  
CesiumGltfReader::GltfReader::readImage(gsl::span\<std::byte const, 18446744073709551615ul\> const&, CesiumGltf::Ktx2TranscodeTargets const&) in libCesiumGltfReader.a(GltfReader.o)  
“\_tjInitDecompress”, referenced from:  
CesiumGltfReader::GltfReader::readImage(gsl::span\<std::byte const, 18446744073709551615ul\> const&, CesiumGltf::Ktx2TranscodeTargets const&) in libCesiumGltfReader.a(GltfReader.o)

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [April 27, 2023, 1:01pm UTC](https://community.cesium.com/t/ios-linking-errors/23669/2 "2023-04-27T13:01:28Z")

</div>

This was fixed here and will be in the next release:

> <https://github.com/CesiumGS/cesium-native/pull/623>
