I am trying to run an ionic application on xcode. But xcode throws an apple-o-linker linker error. I get this error when I get it after I have executed the following command:
cordova plugin add phonegap-plugin-push --variable SENDER_ID = 5 ****** --save
I need this plugin for push notifications. After researching Google, I founded that I need Cocoapods installed in projects. But after installing Cocoapods and pod install. I get the following error when I run "project.xcworkspace".
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I tried to restore / clean the project again or install pod. But that was not for me.
Can someone help me?
EDIT -> new error
Apple Mach-O Link (ld) Error Group
clang: error: linker command failed with exit code 1 (use -v to invoke the call)
I get this error when I fixed the error with pods.
source
share