material-components-ios
material-components-ios copied to clipboard
[MDCCatalog] Not able to build and run MDCCatalog using XCode 12.3 (12C33)
I try to follow every steps described in https://github.com/material-components/material-components-ios . Yet, I am still not able to run sample project (MDCCatalog) successfully. Any help is very much appreciated
Reproduction steps
Steps to reproduce the behavior:
Step 1
yccheok@Tees-MacBook-Pro material-components-ios % sudo gem install cocoapods
Password:
Successfully installed cocoapods-1.10.0
Parsing documentation for cocoapods-1.10.0
Done installing documentation for cocoapods after 2 seconds
1 gem installed
Step 2
yccheok@Tees-MacBook-Pro material-components-ios % pod try MaterialComponents
Updating spec repositories
Trying MaterialComponents
1: catalog/MDCCatalog.xcworkspace
2: catalog/MDCDragons.xcodeproj
3: demos/Bare/Bare.xcworkspace
4: demos/Pesto/Pesto.xcworkspace
5: demos/Shrine/Shrine.xcworkspace
Which project would you like to open
1
Performing CocoaPods Installation
Installing CatalogByConvention (2.5.2)
Installing MDFInternationalization (2.0.0)
Installing MDFTextAccessibility (2.0.0)
Installing MaterialCatalog (119.3.0)
Installing MaterialComponents (119.3.0)
Installing MaterialComponentsExamples (119.3.0)
Installing MaterialComponentsSnapshotTests (119.3.0)
Installing MotionAnimator (2.8.1)
Installing MotionInterchange (1.6.0)
Installing iOSSnapshotTestCase (2.2.0)
Pod installation complete! There are 82 dependencies from the Podfile and 10 total pods installed.
Opening '/private/var/folders/yw/q_b23mrn7_b7_c17lk7h4dwc0000gq/T/CocoaPods/Try/MaterialComponents/catalog/MDCCatalog.xcworkspace'
yccheok@Tees-MacBook-Pro material-components-ios %
Step 3

The 2 erros are
- Undefined symbol: OBJC_CLASS$_MDFTextAccessibility
- Undefined symbol: _MDFTrailingMarginAutoresizingMaskForLayoutDirection
In the "Project navigator", I am getting the following red color

May I know what steps I have missed out? Thank you.
Expected behavior
Able to build and run MDCCatalog in iPod/ iPhone simulator without issue.
Actual behavior
Not able to build and run MDCCatalog in iPod/ iPhone simulator
Platform (please complete the following information)
Development machine OS: macOS Catalina 10.15.7 Xcode 12.3 (12C33)
Additional context
Add any other context about the problem here.
The title doesn't have a [Component] prefix.