title: Command failed due to signal: Segmentation fault: 11 : alamofire post
body: <p>I am using xcode 7.3 with swift 2.3. For making network connection I am using 'Alamofire','~> 3.4.1'.  I am facing no problem till I execute archive option. I am getting and Xcode marked this error marked at ---></p>
  
  <p><strong>Command failed due to signal: Segmentation fault: 11</strong> </p>
  
  <pre><code>class func post(url: String, headers:[String: String], parameters:[String: AnyObject], success:(AnyObject)-&gt;(), failure:(AnyObject)-&gt;()) -&gt; () {
  ---&gt;        Alamofire.request(.POST,
              url,
              headers:headers,
              parameters:parameters,encoding:.URL)
              .debugLog()
              .validate(statusCode: 200..&lt;300)
              .responseString { response in
  
                  response.debugLog() 
                  switch response.result{
                  case .Success(_):
                      //print(response)
                      let httpResponseBody = response.result.value! as String
                      success(httpResponseBody)
  
                  case .Failure(_):
                      let error = response.result.error
                      //print(error)
                      failure(error!)
  
  
                  }
          }
  </code></pre>