MappleCare Community
Reply To: [Solved] Xcode Linker Error: ‘Undefined symbols for architecture arm64’ on Mac Studio M2 Max: How to resolve Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks
Find answers from other Apple users or start a discussion about your device.
Home › Forums › Apple Silicon, Terminal & Developer Tools › [Solved] Xcode Linker Error: ‘Undefined symbols for architecture arm64’ on Mac Studio M2 Max: How to resolve Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks › Reply To: [Solved] Xcode Linker Error: ‘Undefined symbols for architecture arm64’ on Mac Studio M2 Max: How to resolve Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks
Inspecting binary slices via lipo, updating dependency architecture flags, and cleaning derived data.
Here is the exact step-by-step diagnostic and remediation procedure verified by Apple Certified Support Professionals:
- Verify slice architecture:
lipo -info Pods/TargetFramework/TargetFramework.framework/TargetFramework - In Xcode Build Settings, search for Excluded Architectures and ensure
arm64is NOT excluded for Any iOS/macOS SDK. - Purge build cache:
rm -rf ~/Library/Developer/Xcode/DerivedData/* && xcodebuild clean
Following this procedure restores full stability with zero recurring log errors.