I am building a flutter chat app,

here on running it on an ios device, I am getting the below error.

```
ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/drole/Documents/chat/ios/Pods/AgoraRtcEngine_iOS/AgoraAIDenoiseExtension.framework/AgoraAIDenoiseExtension' for architecture arm64

```

What should I do to resolve the error,
[I've tried surfing on the internet](https://developer.apple.com/forums/thread/657913) but I don't get a proper solution.