IOS Linker Error [File Not Found] when archiving Ionic app


#1

I was trying to archive my project to release it in the app store and I got this error:

ld: file not found: /Users/[MY NAME GOES HERE]/Library/Developer/Xcode/DerivedData/Alter-arpezfgnfzcguefnjpllgwzddkld/Build/Intermediates/ArchiveIntermediates/Alter-App Store/BuildProductsPath/App Store-iphoneos/libCordova.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone please help.

Notes: I got this error on Xcode while trying to archive it. I followed many tutorials without any luck.

I cannot seem to delete this thread, but I made a new one with the specific problem: libCordova.a File is Missing Causing Errors In Xcode before Archiving for Release