Fcm with Firebase dynamiclinks showing error for IOS in ionic

I have added FCM https://ionicframework.com/docs/native/fcm and Firebase dynamilinks https://ionicframework.com/docs/native/firebase-dynamic-links in the project. These are working fine in android but in mac, it’s showing an error.

** BUILD FAILED **
The following build commands failed: CompileC /Users/syedaqdaszaidi/Library/Developer/Xcode/DerivedData/Project-csjtjirmtsbvfjeblleufhvpbjvd/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/Project.build/Objects-normal/x86_64/FCMPlugin.o /Users/syedaqdaszaidi/Desktop/ionic-3/project/platforms/ios/Project/Plugins/cordova-plugin-fcm-with-dependecy-updated/FCMPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
xcodebuild: Command failed with exit code 65

I am not able to make a build of my project because of this error.
Please help, I have been struggling with this issue for some days.