title: Error when putting value from a button
body: <p>The code is working just fine on simulator iphone6, iphon5 and device iphone 5s, throw this error on a device iphone 5c, have no idea why, try to dig into it looking on google and stuff but there was not much explanation about the error itself </p>
  
  <p>so here is the error :</p>
  
  <pre><code>_BSMachError: (os/kern) invalid capability (20)
  _BSMachError: (os/kern) invalid name (15)
  </code></pre>
  
  <p>and the code responsable for it :</p>
  
  <pre><code>func test()
  {
      let newWordPrompt = UIAlertController(title: "test", message: "test", preferredStyle: UIAlertControllerStyle.Alert)
      newWordPrompt.addTextFieldWithConfigurationHandler { (textField) -&gt; Void in
          textField.placeholder = "test"
          textField.delegate = self
          textField.keyboardType = UIKeyboardType.NumberPad
  
      }
      newWordPrompt.addAction(UIAlertAction(title: "Cancel", style: UIAlertActionStyle.Default, handler: nil))
      newWordPrompt.addAction(UIAlertAction(title: "OK", style: .Default, handler: { (action) -&gt; Void in
          if let textField = newWordPrompt.textFields?.first
          {
              self.digitsOnlyTextField = textField
  
          }
          let value = jint(self.digitsOnlyTextField.text!)
          let myvar = myfunc(int: value!)
          javaToOjbcFunc(myfunc, true)
      }))
      presentViewController(newWordPrompt, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>Does someone actually know what throw this error?
  Already changed the "Localization native development region" in info.plist, didn't change anything.</p>