Skip to content
MappleCareMappleCare Community ↗

MappleCare Community

MappleCare Community Forums

Independent peer-to-peer Apple troubleshooting rooms • 100% English • Not affiliated with Apple Inc.

All Forum Rooms

Home › Forums › Apple Silicon, Terminal & Developer Tools › [Solved] How to fix Xcode Linker Error: ‘Undefined symbols for architecture arm64’ caused by Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks on Mac mini M4 Pro › Reply To: [Solved] How to fix Xcode Linker Error: ‘Undefined symbols for architecture arm64’ caused by Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks on Mac mini M4 Pro

#45022
Kullanıcı ProfiliAdrian Stewart
Community Contributor
Apple Recommended / Verified Community Solution
This canonical solution was verified and marked as solved in the Apple Support Community archive.

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:

  1. Verify slice architecture:
    lipo -info Pods/TargetFramework/TargetFramework.framework/TargetFramework
  2. In Xcode Build Settings, search for Excluded Architectures and ensure arm64 is NOT excluded for Any iOS/macOS SDK.
  3. Purge build cache:
    rm -rf ~/Library/Developer/Xcode/DerivedData/* && xcodebuild clean

Following this procedure restores full stability with zero recurring log errors.

MacBook Pro 16″ M3 Pro (36GB) | Studio Display | Magic Mouse & Trackpad | Glasgow, UK
Apple Certified Support Professional (ACSP) | Product Designer & Design Systems Lead