CodeName1 - Different response codes between ipa and source code
<p>In the app I'm developing I can request content updates from a server. This works ok on Android, but on IOS it frequently (but not always) crashes. Given that this only happens on devices and not on the simulator to debug it I downloaded the source code, but I am get different results when running it from XCode than when installing and running the corresponding .ipa downloaded from the CN1 site. On the following code segment: </p>

<pre><code>if (httpResponseCode == 200) {
    //useData, validations and others
    status = "OK_CONN";
} else {
    status = "ERROR_CONN";
}
</code></pre>

<p>when running the .ipa installed app receives 200 , continues and crashes, while the XCode one doesn't even connect to the update serve (and so informs of the failed connection and continues running normally)</p>

<p>I am suspecting different build settings, the only thing I changed from the default was disabling bitcode (and adding the certificates for signing). Is there any other setting I should be aware of? Or any other possible cause for the different behaviours?</p>