'Flutter build ipa does not see a native package

I am developing a chat app using XMPPFramework for ios, I was building archive without any trouble till the version 2.10.2 of flutter. Running the app has no problem either in simulator or real device but just building ipa is failing.

Error log from Flutter

I've done many times pod install or pod update, no result, I'm stack.

I am using:

  • Xcode Version 13.2.1 (13C100)
  • Flutter 2.10.2
  • XMPPFramework 4.0.0
  • Swift Native language


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source