Coding⏱️ 2 min read📅 2026-05-31

How to Fix: Getting error "No such module" using Xcode, but the framework is there

Xcode error 'No such module' despite framework presence in project.

Quick Answer: Ensure the Objective-C framework is properly bridged and referenced in Swift code.

Getting the error "No such module" in Xcode when you have a framework declared in Linked frameworks and Libraries and Embedded Binaries, but still can't find it, is a common issue that many developers face. The problem arises from the fact that Objective-C frameworks are not automatically recognized by Swift compilers.

🔧 Proven Troubleshooting Steps

Method 1: Update Frameworks in Xcode Project

  1. Step 1: Open your project's .xcworkspace file and select the target you are working on.

Method 2: Create a Bridging Header

  1. Step 1: In Xcode, go to Product > Scheme > Edit Scheme (or press ⌘ + ,), then select the target you are working on.

Method 3: Manually Add Frameworks in Swift File

  1. Step 1: Open the file that contains the code using the framework.

By following these steps, you should be able to resolve the "No such module" error in Xcode when working with Objective-C frameworks.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions