Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undefined symbol: _MDMMotionCurveMakeBezier

Can't build my project on new Xcode 14.1

I'm using MaterialComponents/ActivityIndicator

  "_MDMMotionCurveMakeBezier", referenced from:
      +[MDCActivityIndicatorMotionSpec loopIndeterminate] in MDCActivityIndicatorMotionSpec.o
      +[MDCActivityIndicatorMotionSpec willChangeToDeterminate] in MDCActivityIndicatorMotionSpec.o
      +[MDCActivityIndicatorMotionSpec willChangeToIndeterminate] in MDCActivityIndicatorMotionSpec.o
      +[MDCActivityIndicatorMotionSpec willChangeProgress] in MDCActivityIndicatorMotionSpec.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
like image 221
getmemd Avatar asked Jan 24 '26 04:01

getmemd


2 Answers

This is just a quick solution to avoid to modify the library .podspec

Maybe not the most recommendend option but it could save some time while considering moving from Material Component to a better solution.

In the podfile of your project, include:

pod 'MotionInterchange'
like image 134
Daniele Baschirotto Avatar answered Jan 26 '26 10:01

Daniele Baschirotto


Perhaps you have this line in your Podfile config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'

Until they fix it, you can remove it

like image 44
getmemd Avatar answered Jan 26 '26 11:01

getmemd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!