Hi!
Xcode 14.3 on MacOS 13.3.1
I'm developing in iOS app targeting iOS 14.0 and higher. I've included 4 cocoa pods in my project and my code has compiled and run just fine.
When I started to try to build an archive to submit to the app store, things started falling apart.
Now nothing compiles for simulators and test devices and I end up with linking errors with undefined symbols. I've tried clean builds, pod updating, pod installing, explicitly importing the modules in my swift code. I'm ready to pull my hair out.
Undefined symbols for architecture arm64: "OBJC_CLASS$_SFGeometryUtils", referenced from: objc-class-ref in MGRS.o ld: symbol(s) not found for architecture arm64
Any suggestions? Randomly I can get past this road block and then I run into:
cannot find type 'TIFFImage' in scope var tiffImage: TIFFImage!
Then randomly back to unresolved symbols by linker.
Thanks,
Bobby
OK. More comments on this. Setting Build Active Architecture Only = No for all the Pods and for the project helped eliminate occasional linker errors. Also, Pods Build Options Allow Multiplatform Builds = Yes also helps. However, when I go to build for generic Arm64, still get linker errors. But, I can successfully build an archive.