Closed iamnewaplayer closed 6 months ago
Hi and thanks for reporting,
I've added iOS simulator binaries in 1.3.0 and 2.2.1 respectively, having tested that it works both in simulator and on device.
You seem to have a conflict of the libraries now. Can you share which versions of KtxUnity, Unity and Xcode your are using?
How did you install KtxUnity?
If you cloned it from GitHub (or downloaded a ZIP), make sure the binaries are properly fetched (since they are GIT LFS files).
i try copy *.a to Simulator dir it is ok
Hello everyone.
I am also experiencing the same issue on my end.
XCode version: 13.4.1 Unity version: 2021.3.11 KtxUnity version: 2.2.2
KtxUnity was installed using Unity´s package manager and openupm.
I can confirm that Unity exports all binaries (simulator and device) during xcode generation, but Xcode tries to build the project with the simulator binaries instead of the device binaries.
Deleting the simulator binaries inside the xcode project solved the problem for me. I do not know if there is a way to tell xcode which binaries to build or if I am missing a setup step.
Hello everyone.
I am also experiencing the same issue on my end.
XCode version: 13.4.1 Unity version: 2021.3.11 KtxUnity version: 2.2.2
KtxUnity was installed using Unity´s package manager and openupm.
I can confirm that Unity exports all binaries (simulator and device) during xcode generation, but Xcode tries to build the project with the simulator binaries instead of the device binaries.
Deleting the simulator binaries inside the xcode project solved the problem for me. I do not know if there is a way to tell xcode which binaries to build or if I am missing a setup step.
@Elyptos Thanks for the feedback.
Any chance you could try Xcode 14.1 ? I'm asking, since I don't have a problem and we should find out why.
Thanks
I finally know a proper solution that was applied in another package. The fix will come in an update soon™.
Fixed in KTX for Unity 3.3.0! Please transition to that package, as it is the official successor.
KtxUnity.Editor
System.EntryPointNotFoundException
for symbols ktx_get_image_offset
and ktx_get_image_size
on Windows.
/Volumes/ShareDisk//IOS/Unity-iPhone.xcodeproj Building for iOS, but the linked library 'libktx_read.a' was built for iOS Simulator. what can i do for this