title: xcode PhaseScriptExecution failed with a nonzero exit code
body: <pre><code>/Users/xerasy/Library/Developer/Xcode/DerivedData/Opensoul-azlrvihpzjmefgdiufcpnucguxbp/Build/Intermediates.noindex/Opensoul.build/Release-iphonesimulator/Opensoul.build/Script-11B6BEDD1EFAB15300438DBB.sh: line 2: swiftgen: command not found
  Command PhaseScriptExecution failed with a nonzero exit code
  </code></pre>
  
  <p>my podfile :</p>
  
  <pre><code>platform :ios, '10.0'
  use_frameworks!
  inhibit_all_warnings!
  
  def shared_pods
      pod 'Firebase/Core'
      pod 'Firebase/Storage'
      pod 'Firebase/Database'
      pod 'Result'
      pod 'Reusable'
      pod 'PureLayout'
      pod 'ObjectMapper'
      pod 'Swinject'
  end
  
  target 'Opensoul' do
      shared_pods
      pod 'Fabric'
      pod 'Crashlytics'
      pod 'Toast'
      target 'OpensoulTests' do
          inherit! :search_paths
      end
  end
  
  
  # target 'PlaygroundFramework' do
  #     shared_pods
  # end
  </code></pre>
  
  <p>i tried</p>
  
  <ol>
  <li><blockquote>
    <p>Go to keychain access -> right click on login -> lock &amp; unlock again 
    -> clear Xcode project and make build again.</p>
  </blockquote></li>
  <li><p><code>pod install</code></p></li>
  <li><p><code>pod update</code></p></li>
  </ol>
  
  <p>but nothing helped, how i can solve this problem ?</p>