Hello, I’ve been getting this error when running t...
# compose-ios
Hello, I’ve been getting this error when running tests on iOS while using the Jetbrains Compose plugin:
Copy code
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_MTLCommandBufferDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlCommandBuffer.o)
  "_OBJC_CLASS_$_MTLCompileOptions", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlUtil.o)
  "_OBJC_CLASS_$_MTLDepthStencilDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlDepthStencil.o)
  "_OBJC_CLASS_$_MTLRenderPassDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlGpu.o)
      objc-class-ref in libskia.a(gpu.GrMtlOpsRenderPass.o)
The issue occurs when I include the Jetbrains Compose plugin and its dependencies in the
block of my KMM project. When running tests on iOS, they fail to execute properly. However, when I comment out the plugin and dependencies, the tests run successfully. I would appreciate any guidance or insights regarding this issue. If you’d like to take a look at my sample project to better understand the problem, I have uploaded it to GitHub: CocoapodsSample. Thank you in advance for any assistance or suggestions you can provide.
👍 1
Hello, Thanks for this report. Yes, we have a problem with Skiko dependency and test not working. We will fix it.
@Dima Avdeev Wanted to follow up on this. Is there already a ticket/issue for this on Youtrack or should I create one?