title: Unable in build in Xcode: "Code object is not signed at all In subcomponent ... CocoaAsyncSocket.framework"
body: <p>I'm attempting to build a MacOS app that contains a framework (SwiftyHue 0.4.1) which in itself has a nested dependency (CocoaAsyncSocket 7.6.3). I'm importing SwiftyHue using Carthage. There are no errors during import, however when I hit "run" within Xcode to build my app, it fails and states:</p>
  
  <pre><code>CodeSign /Users/MyName/Library/Developer/Xcode/DerivedData/App_Hue-dilrdxszovgssvcqobfbekteobjr/Build/Products/Debug/App\ Hue.app
      cd "/Volumes/Macintosh HD/Users/MyName2/HDDDocuments/PersonalGithub/AppHue"
      export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
  
  Signing Identity:     "Mac Developer: myemail@gmail.com (TXXXNXXZXX)"
  
      /usr/bin/codesign --force --sign 1F45D22C9009847DE3351794C18F6D703CA4AFB2 --entitlements /Users/MyName/Library/Developer/Xcode/DerivedData/App_Hue-appdilrdxszovgssvcqobfbekteobjr/Build/Intermediates.noindex/App\ Hue.build/Debug/App\ Hue.build/App\ Hue.app.xcent --timestamp=none /Users/MyName/Library/Developer/Xcode/DerivedData/App_Hue-dilrdxszovgssvcqobfbekteobjr/Build/Products/Debug/App\ Hue.app
  
  /Users/MyName/Library/Developer/Xcode/DerivedData/App_Hue-dilrdxszovgssvcqobfbekteobjr/Build/Products/Debug/App Hue.app: code object is not signed at all
  In subcomponent: /Users/MyName/Library/Developer/Xcode/DerivedData/App_Hue-dilrdxszovgssvcqobfbekteobjr/Build/Products/Debug/App Hue.app/Contents/Frameworks/CocoaAsyncSocket.framework
  Command /usr/bin/codesign failed with exit code 1
  </code></pre>
  
  <p>I tried to "Clean Build Folder", but sadly that didn't work. I've even forked SwiftyHue and had it import the head of the master branch of CocoaAsyncSocket and that didn't work either. I've also attempted to clear the cache and redownload the dependencies/libraries again to no avail.</p>
  
  <p>Any help would be greatly appreciated!</p>