error:no such file or directory:'/Users/xxxx/Library/Developer/Xcode/DerivedData/FirstProject-ctanrqwggcfoubbeqbjrfvcqozpg/Build/Products/Debug-iphoneos/libCordova.a'。
可以通过修改CordovaLib.xcodeproj和xxxx.xcodeproj工程的的“Build Active Architecture Only”选项来解决,将选项从NO改为YES;
第二种错误是提示:(archive或真机调试)
file not found:/Users/xxxx/Library/Developer/Xcode/DerivedData/xxxx-gylybvwifdxjmtajtbvdsdpjcvkl/Build/Intermediates/ArchiveIntermediates/xxxx/InstallationBuildProductsLocation/Applications/libCordova.a
error: linker command failed withexit code 1(use-v to see invocation)