swift – Personal Cocoapod not operating on iOS simulator – Undefined symbols for structure x86_64


I’m utilizing M1 machine and the app is runnable on actual system, however exhibiting this points on iOS simulator.
Personal pod is hosted on separate non-public github repo. There’s simply an Xcframework file which is focused by podspec file which seems to be like this:


There’s ton of errors, right here is few of them:

Undefined symbols for structure x86_64:
  "_OBJC_CLASS_$_CLWorkerType", referenced from:
      objc-class-ref in WorkerListViewController.o
  "_OBJC_CLASS_$_CLWorkerState", referenced from:
      objc-class-ref in WorkerListViewController.o 

...and many others for a lot of courses and ViewControllers

Unsure if its and vital information however the pod was created utilizing Kotlin Multiplatform(KMM).

Some issues from construct.gradle.kts file that could possibly be of assist:


I’ve tried:

  • Cleansing construct folder
  • Deleting derived information
  • Restarting Xcode and Mac
  • Reinstalling pods
  • Putting in pods utilizing arch -x86_64 pod set up
  • Working Xcode utilizing Rosetta
  • Setting Excluded architectures to Any iOS Simulator SDK - arm64
  • …and lots of different stuff urged on SO.


Leave a Reply

Your email address will not be published. Required fields are marked *