xcode14 - undefined symbol : _MDMMotionCurveMakeBezier

标签 xcode14 material-components-ios

无法在新的 Xcode 14.1 上构建我的项目

我正在使用MaterialComponents/ActivityIndi​​cator

  "_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)

最佳答案

这只是避免修改库 .podspec 的快速解决方案

也许不是最推荐的选项,但在考虑从 Material 组件转向更好的解决方案时,它可以节省一些时间。

在项目的 podfile 中,包括:

pod 'MotionInterchange'

关于xcode14 - undefined symbol : _MDMMotionCurveMakeBezier,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74206282/

相关文章:

cloudkit - Xcode 14 RC : Not entitled to listen to push notifications. 突然出错 请添加 'aps-connection-initiate' 授权

swift - Xcode 14 Xcode 13 不兼容

ios - Xcode14 在启动时崩溃 : dyld: Library not loaded:/usr/lib/swift/libswiftCoreGraphics. dylib

swift - Xcode 14 在通过 Interface Builder 访问时无法定位项目类

github-actions - 如何从 GitHub Actions(非自托管用例)+ FaSTLane 将 dSYM 从 Xcode 14 发送到 Firebase

ios - 如何在 iOS swift 应用程序中添加 Material Design 按钮?

ios - 如何使用 MDCAertController Material Design 禁用触摸外屏关闭 View - swift

ios - 是否可以覆盖 MDCTextInputControllerFilled 的 borderView 框架?

material-components-ios - iOS MDCTextField 占位符文本在 MDCTextInputControllerUnderline 中使用时不 float

ios - MDCTextInputController 错误消息覆盖输入的文本