shell – how to fix the issue Command /bin/sh failed with exit code 1 in iphone

shell – how to fix the issue Command /bin/sh failed with exit code 1 in iphone

Target

Click On Run checkbox if not selected.

I had this issue because i denied keychain access and in order to solve it you need to open keychain,
Then click on the lock on top right of the screen to lock it again,
after that you can archive and it will work

shell – how to fix the issue Command /bin/sh failed with exit code 1 in iphone

Deleting Derived Data worked for me.

In Xcode go to File > Workspace Settings > Click the arrow next to the Derived Data file path > move the Derived Data folder to the trash.

Leave a Reply

Your email address will not be published.