I\'m getting this error
error: Invalid bitcode signature
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe the issue because of a third party SDK integrated into your project using Cocoapods.
do the following:
Archive the new project, and see if it succeeds, if not repeat step 4 till you are able to archive.
(you can also try something like binary search, wherein you delete the first half pods in your Podfile and see if the new project archives)
Once you've figured out the library causing the issue, keep downgrading the library by explicitly specifying the version in Podfile, until the project archives successfully.
Or if you don't mind disabling bitcode: Go to build settings search bitcode and change "Enable Bitcode" to "No".