Search code examples
xcode12macos-big-sursparkle

Big Sur - Archive error in xcode12 for pod sparkle


Before updating to big sur my project worked without any problem... After updating I keep getting errors saying

Undefined symbol: OBJC_CLASS$_SUUpdater and Command CompileSwift failed with a nonzero exit code

I'm using pod --> sparkle for updating my program.

Is there any solution for this???

I have tried deleting sparkle and reinstalling + rebooting mac + cleaning up build folder + restarting xcode.. none of it helped.

enter image description hereenter image description here


Solution

  • This same error was happening for me in release builds of Fluency when using Sparkle v1.22.0. I updated to 1.24.0 via Cocoapods and it doesn't happen for me anymore, so I'm guessing there was some work done at some point between those versions which made Sparkle work correctly with arm64 architectures (for the new M1 devices). Discussion about it on Sparkle's github page: https://github.com/sparkle-project/Sparkle/issues/1620