Friday, May 16, 2025
HomeiOS Developmentswift - Personal Cocoapod not operating on iOS simulator - Undefined symbols...

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

[ad_1]

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

1

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 so forth for a lot of courses and ViewControllers

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

Some issues from construct.gradle.kts file that may very well be of assist:
2

3

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 plenty of different stuff recommended on SO.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments