Page 1 of 1
IOS 9.1 internet connection problem with LiveCode projects
Posted: Fri Oct 30, 2015 12:22 pm
by Armenhui
Hi. When i try to test my LiveCode Application on IOS 9.1 devices, i create LiveCode Standalone file add it on my IPad. iPad is connected to the internet but LiveCode application can not connect to internet. How can solve this issue ?
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Fri Oct 30, 2015 12:34 pm
by LCNeil
Hi Armenhui,
I think your running into the following bug -
http://quality.runrev.com/show_bug.cgi?id=16299
Basically, by default Apple no longer allows access to HTTP sources, they have to be HTTPS.
We are aware of this and will be making some changes to standalone builds which will allow you to set the iOS pList to allow HTTP sources
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.livecode.com
--
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Fri Oct 30, 2015 12:56 pm
by Armenhui
Thank you very much, could you please tell us when we can expect the solution to this problem?
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Fri Oct 30, 2015 1:45 pm
by ToddFabacher
So Neil,
If we want to get around this quickly, do we just need to put an SSL on the server, switch to HTTPS and we are good?
--Todd
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Fri Oct 30, 2015 2:00 pm
by Dixie
Neil said...
Basically, by default Apple no longer allows access to HTTP sources, they have to be HTTPS.
I am using 'http' calls for both images and web pages and am not having any problems on the simulator, iphone or ipad ?... the devices are both running iOS 9.1
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Fri Oct 30, 2015 2:09 pm
by LCNeil
If all goes well, we should have a release to address this within the coming week.
@todd- I think something else might be going on under the hood as setting to https source has no effect. Getting following in logs CFNetwork SSLHandshake failed & NSURLSession/NSURLConnection HTTP load failed.
I'll add this information to the bug report.
You may be able to work around it by using an older version of LiveCode and Xcode for builds as this issue does not seem to affect pre-ios 9 SDKs (e.g. ioS 8.2)
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.livecode.com
--
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Sat Oct 31, 2015 9:06 pm
by codeshifter
OK. I downloaded the iOS 8.4 SDK from within Xcode 7.1, but still no joy. Even if I have the Simulator open with a simulated 8.4 device, when the test is initiated from LC, it just boots a 9.1 device in the simulator. I guess another way to say it is that even though the 8.4 SDK is installed, it does not show up as a Test Target in LC (that's with LC 7.1.1 RC2). Versions 7.1, 7.1.1 RC1 and 8.0 DP7 will not even allow Xcode 7.1 to be selected under Preferences -> Mobile Support. So now what?
Does this all mean an older version of Xcode must be downloaded?
Re: IOS 9.1 internet connection problem with LiveCode projec
Posted: Sat Oct 31, 2015 9:53 pm
by codeshifter
I downloaded and installed Xcode 6.4. This allows LC to recognize and use a pre iOS 9 SDK and restores non-https internet comms.
(That made for a painful couple of days.)