Command SwiftVerifyEmittedModuleInterface failed with a nonzero exit code

Vignesh Prakash
Oct 21, 2024

--

ios build issue in flutter:

I recently encountered an iOS build issue after updating to Xcode Version 16.0. I tried many solutions, but none of them worked. However, I finally found one that I hope will resolve the issue.

Solution:

Step 1:

Open Podfile from your project, platform :ios, ‘new_version’

if your platform :ios, ‘12’, then update to ‘13’

Update use_frameworks! to use_frameworks! :linkage => :static

Step 2:

Open your project in Xcode.

Go to Targets -> Runner -> Build settings -> ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO to ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES

Happy coding !!!

--

--

Vignesh Prakash
Vignesh Prakash

Written by Vignesh Prakash

Flutter Monk | Software Engineer Specialist | Module Lead https://www.youtube.com/@Flutter-monk

No responses yet