error: Failed with exit code exited with status 1 error in Xcode14.3.1

Hi All

I am using Mac Mini with iOS version Ventura 13.4.1 and Xcode version 14.3.1

While compiling my project I am getting following error

Error: Failed with exit code exited with status 1 (in target 'MyDemoApp' from project 'MyDemoApp')

I tried solution mentioned in support page. But it is not working out. Could you please suggest a solution to overcome this? Do we need to re-install MAC mini for this>

Its a show stopper. Kindly help

I tried solution mentioned in support page. But it is not working out.

What specifically is the solution you tried that did not work?

Xcode's issue navigator will show the build errors in your project. Press Cmd-4 in Xcode to open the issue navigator. What are the build errors the issue navigator shows?

If the only build error the issue navigator shows is Error: Failed with exit code exited with status 1, clean the build folder by choosing Product > Clean Build Folder in Xcode. After cleaning the build folder, build the project again.

Are you using CocoaPods in your project? Using them can cause build errors where you would need to update the pods.

When I open issue Navigator, I see this error alone

You have a code signing error.

What are the code signing settings for your project?

  1. Select your project from the left side of the project window to open the project editor.
  2. Select your app target from the target list on the left side of the project editor.
  3. Click the Signing & Capabilities button at the top of the project editor.

Does your app have automatic or manual code signing? Are the provisioning profile and signing certificates correct?

Xcode also has code signing build settings. Click the Build Settings button at the top of the project editor to access the build settings. The code signing build settings are in the Signing section. Are the values for those build settings what you expect them to be?

error: Failed with exit code exited with status 1 error in Xcode14.3.1
 
 
Q