IOS 9.1 internet connection problem with LiveCode projects

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

IOS 9.1 internet connection problem with LiveCode projects

Post by Armenhui » Fri Oct 30, 2015 12:22 pm

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 ?

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by LCNeil » Fri Oct 30, 2015 12:34 pm

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
--

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by Armenhui » Fri Oct 30, 2015 12:56 pm

Thank you very much, could you please tell us when we can expect the solution to this problem?

ToddFabacher
Posts: 280
Joined: Fri Jan 09, 2015 6:15 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by ToddFabacher » Fri Oct 30, 2015 1:45 pm

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

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by Dixie » Fri Oct 30, 2015 2:00 pm

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

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by LCNeil » Fri Oct 30, 2015 2:09 pm

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
--

codeshifter
Posts: 6
Joined: Sat Oct 24, 2015 1:51 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by codeshifter » Sat Oct 31, 2015 9:06 pm

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?

codeshifter
Posts: 6
Joined: Sat Oct 24, 2015 1:51 pm

Re: IOS 9.1 internet connection problem with LiveCode projec

Post by codeshifter » Sat Oct 31, 2015 9:53 pm

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.)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”