Home > database >  archive build failed -> parse issue -> GeneratedPluginRegistrant.h -> module not found
archive build failed -> parse issue -> GeneratedPluginRegistrant.h -> module not found

Time:09-11

I successed to run my flutter app on my macbook M1 and physical ios device. I can run flutter build ios with no error.

After I try to finish with archive on Xcode, I have build failed

Runner 
  -> Parse issue
    ->Module 'XXXX' not found

here is the pointer from GeneratedPluginRegistrant file

#import "GeneratedPluginRegistrant.h"
#if __has_include(<app_review/AppReviewPlugin.h>)
#import <app_review/AppReviewPlugin.h>
#else
@import app_review;
#endif

Here is my PODFILE

platform :ios, '11.0'
...

...
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

I have well set version deployment to 11 on xcode

I tried flutter clean
remove pods folder
pub get
pod install on ios folder

enter image description here

CodePudding user response:

The enter image description here

  • Related