Skip to content
[Solved] Xcode Linker Error: ‘Undefined symbols for architecture arm64’ on Mac mini M4 Pro: How to resolve Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworksMappleCare Community ↗

[Solved] Xcode Linker Error: ‘Undefined symbols for architecture arm64’ on Mac mini M4 Pro: How to resolve Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks

Started by Arthur Johnson • November 16, 2026 at 11:35 pm • 1 Community Replies • 2 Participants

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53562
    Kullanıcı ProfiliArthur Johnson
    Community Contributor
    Diagnostic Hardware Specs: Mac mini M4 Pro (48GB) | OS Version: macOS Sonoma 14.7 + Xcode 16.0 | Archive Source: Apple Support Community #256402325

    I am running into a persistent issue on my Mac mini M4 Pro (48GB) running macOS Sonoma 14.7 + Xcode 16.0.
    Whenever the machine encounters Missing universal arm64 binary slice in legacy CocoaPods or precompiled dylib frameworks, the following diagnostic log appears in Console:

    ld: symbol(s) not found for architecture arm64; clang: error: linker command failed with exit code 1 (use -v to see invocation)

    I verified that hardware connections are intact and tested across different power sources. What is the verified diagnostic procedure to permanently eliminate this symptom?

    iPad Pro 13″ M4 (1TB, Nano-texture) | Magic Keyboard | Dublin, Ireland
    SwiftUI & VisionOS Specialist | "Verified Apple Discussions Archive"
    #53563
    Kullanıcı ProfiliRandy Mason
    Apple Master (Lvl 10)
    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 Max (64GB) | Tether Tools Pro | SanDisk Extreme Pro 4TB | Copenhagen, DK
    Apple Certified Support Professional (ACSP) | Commercial Photographer & Digitech
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.