I'm creating a project using cordova CLI. The project is created successfully. The build also installed successfully on an iPhone. But when I try to upload the archive it throws errors: -
1. An error occurred during upload. Codesign failed
2. Error Domain=IDEFoundationErrorDomain Code=1 "Codesign failed" UserInfo={NSLocalizedDescription=Codesign failed}.
3. Unable to validate your applicaiton. The path /var/folders/gk//*some_key*/T/XcodeDistPipeline.a6b/Packages/app_name,ipa does not contain a file.
Note: -
1. My bitcode enabled is no.
2. Certificate and provisional profile is valid and of distribution.
Anyone please let me know how to fix this issue and what I'm doing wrong.