Skip to content
MappleCare Community ↗

MappleCare Community

Reply To: [Solved] Mac mini M4 Pro Xcode Linker Error: ‘Undefined symbols for architecture arm64’ (macOS Sonoma 14.7 + Xcode 16.0) – Verified Troubleshooting

Find answers from other Apple users or start a discussion about your device.

All Forum Rooms

Home › Forums › Apple Silicon, Terminal & Developer Tools › [Solved] Mac mini M4 Pro Xcode Linker Error: ‘Undefined symbols for architecture arm64’ (macOS Sonoma 14.7 + Xcode 16.0) – Verified Troubleshooting › Reply To: [Solved] Mac mini M4 Pro Xcode Linker Error: ‘Undefined symbols for architecture arm64’ (macOS Sonoma 14.7 + Xcode 16.0) – Verified Troubleshooting

#11859
Joshua King
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.

Mac Studio M2 Max (32GB) | EIZO ColorEdge CG279X | Wacom Intuos Pro | Madrid, ES
Apple Certified Support Professional (ACSP) | Commercial Photographer & Digitech