Wednesday, December 18, 2024
Google search engine
HomeCommunitiesQuick Guide to Fix the “Include of Non-modular Header Inside Framework Module”...

Quick Guide to Fix the “Include of Non-modular Header Inside Framework Module” in Xcode

If you are developing a Flutter app and encounter the “Include non-modular header in Framework module” error in Xcode, this quick guide will help you fix it and get back to building.

Steps to Resolve:

  1. Open Xcode: Open your Flutter project’s iOS module in Xcode.
  2. Navigate to Build Settings:
    • In Xcode’s project navigator, select your project file and choose the target with the error.
  3. Adjust Build Settings:
    • In Build Settings, search for “Allow Non-modular Includes in Framework Modules” and set it to YES.
  4. Clean and Build:
    • Select Product > Clean Build Folder, then Product > Build to rebuild your project.

Following these steps should help resolve the error, allowing Xcode to build the project without issue. If problems persist, a quick restart of Xcode and another build attempt may help. Happy coding!

Developer: Zain Shaikh
Designation: Flutter Developer
LinkedIn: Zain Shaikh
GitHub: zainshaikh017

Find for More Code Error related news Click here.

Subscribe our WhatsApp Channel to received Personalized updates.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments