Command /bin/sh failed with exit code 1 and Embedded pods framework
<p>Not able to identified actual issue, During updating coco pod getting a message "<strong>Re-creating CocoaPods due to major version update.</strong>"
 (that was come only once) and pod updation is successful. After on build i am getting the error. <strong>Command /bin/sh failed with exit code 1</strong>. 
Below is some detail also which i am getting </p>

<ol>
<li><code>Code Signing /Users/Gaurav/Library/Developer/Xcode/DerivedData/Appname-******/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework with Identity iPhone Developer: Account Name (Account Id)</code></li>
<li><code>/usr/bin/codesign --force --sign *****************  --preserve-metadata=identifier,entitlements "/Users/UserName/Library/Developer/Xcode/DerivedData/Appname-***************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework"</code></li>
<li><code>/Users/Username/Library/Developer/Xcode/DerivedData/Appname-************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework: bundle format unrecognized, invalid, or unsuitable</code></li>
</ol>

<p>I'm using iOS 8 as deployment target and Xcode 7.3.1
I have checked code signing identity that doesn't have any issue. I have reinstall again all pod and Alamofire also but not abel to identified issue.</p>