Command SwiftVerifyEmittedModuleInterface failed with a nonzero exit code
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 !!!