iOS7.1

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

iOS7.1

Post by Neurox66 » Mon Mar 17, 2014 8:43 am

Hi all,
this post to share my recent experiences with the upgrade to iOS 7.1
Normally to test my programs use the fabulous AirLaunch and my Website without using iTunes.
After update to iOS 7.1 my phone tell me the
certificate is not valid (Obviously if I install the app through iTunes this works correctly)

I tried it on other devices (iPod, iPad and iPhone) that do not have iOS7 and downloading works very well.
This is because when I saw the error I've lost three hours :cry: to figure out what could be the error :D

Regards,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

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

Re: iOS7.1

Post by LCNeil » Mon Mar 17, 2014 12:11 pm

Hi Paolo,

This could relate to LiveCode not yet supporting Xcode 5.1. I don't believe you can deploy to an iOS 7.1 device from a an earlier revision of Xcode (e.g. Xcode 5.0.2).

We are currently working on a fix and this should be available shortly

http://quality.runrev.com/show_bug.cgi?id=11913

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

(NB I do indeed stand corrected, Dixie is correct below as I was able to deploy to my iOS 7.0.4 device from Xcode 4.6 (ios6 sdk). I believe it is beta versions of ios/Xcode that do not agree with installing across versions)

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

Re: iOS7.1

Post by Dixie » Mon Mar 17, 2014 1:00 pm

Neil...

LC 6.5.2.. xCode 5.0.2... device running iOS 7.1... works here, both in the simulator and on the device..:-)

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

Re: iOS7.1

Post by LCNeil » Mon Mar 17, 2014 1:21 pm

Hi Dixie,

What method did you use to enable the iOS 7.1 simulator to appear in the available simulator list within LiveCode? As this iOS 7 SDKs/simulators are, by default, present only in Xcode 5.1

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

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

Re: iOS7.1

Post by Dixie » Mon Mar 17, 2014 1:34 pm

Neil...

There was no method involved..:-) I made the mistake of updating my iphone to 7.1 (I usually wait for the horror stories before updating), so thought 'oh well, let's update xcode too'... LC did not like 5.1 and gave an error message that it was not a valid SDK... took out xCode 5.1 ... and everything has worked !..:-)

Edit : the sim is 7.0.3, but apps built will run on 7.1

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

Re: iOS7.1

Post by LCNeil » Mon Mar 17, 2014 1:46 pm

Hi Dixie,

I understand now :) I was getting confused as I thought you had Xcode 5.1 linked to LiveCode/or you were using some other SDK method to give you access to the 7.1 simulators.

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——

DRJ-UK
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 73
Joined: Tue Aug 23, 2011 2:50 pm
Location: United Kingdom
Contact:

Re: iOS7.1

Post by DRJ-UK » Mon Mar 17, 2014 2:01 pm

Dixie wrote:updating my iphone to 7.1
I am rather curious - have you tried uploading onto an iPad?

It seems there are some variation amongst different devices.

Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory

Creating Apps for educational professionals, effective teaching and learning.

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

Re: iOS7.1

Post by Neurox66 » Mon Mar 17, 2014 2:43 pm

Hi Neil,
thank you for the reply.
perhaps I haven't explained well :)
My configuration is LiveCode 6.6 (rc1), Xcode 5.1 (5B130a) and iOS 7.1 on iPhone
the app running very well on simulator or iPhone and other device.
If my iPhone is connected directly to iMac there isn't problem.
The problem appear when I put in my web server the ipa file but only in the device is iOS 7.1

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

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

Re: iOS7.1

Post by Dixie » Mon Mar 17, 2014 3:14 pm

DRJ-UK...

Yes, LC apps will run on my mini iPad running iOS7.1 as well...

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7242
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: iOS7.1

Post by jacque » Mon Mar 17, 2014 6:54 pm

Neurox66 wrote:Hi all,
this post to share my recent experiences with the upgrade to iOS 7.1
Normally to test my programs use the fabulous AirLaunch and my Website without using iTunes.
After update to iOS 7.1 my phone tell me the
certificate is not valid (Obviously if I install the app through iTunes this works correctly)

I tried it on other devices (iPod, iPad and iPhone) that do not have iOS7 and downloading works very well.
This is because when I saw the error I've lost three hours :cry: to figure out what could be the error :D
There is more to this than just an incompatibility with LiveCode. In iOS 7.1 Apple has implemented an undocumented requirement that iOS apps can only be downloaded using https from a server with a recognized security certificate. I just learned this recently from one of my AirLaunch customers. AirLaunch will work correctly if you include "https:" in its download field. But the app still will not install if your server doesn't have an SSL certificate installed.

If you do not want to pay for a certificate, there is a workaround using Dropbox. You can place the manifest.plist file in Dropbox (which does use a verified security certificate) and edit the html file to point to that. The download link in the manifest.plist file can still point to your server, Apple only checks the manifest for the certificate. Your users will see "dropbox wants to download..." instead of your server name though.

The full discussion is here: http://stackoverflow.com/questions/2027 ... on-ios-7-1
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: iOS7.1

Post by dave.kilroy » Mon Mar 17, 2014 8:08 pm

jacque wrote:In iOS 7.1 Apple has implemented an undocumented requirement that iOS apps can only be downloaded using https from a server with a recognized security certificate
Thank you for this Jacque! This will prevent screaming and shouting in the vicinity of my desk :)
"...this is not the code you are looking for..."

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

Re: iOS7.1

Post by Neurox66 » Tue Mar 18, 2014 7:41 am

Hi Jacque,
jacque wrote: there is a workaround using Dropbox. You can place the manifest.plist file in Dropbox (which does use a verified security certificate) and edit the html file to point to that. The download link in the manifest.plist file can still point to your server, Apple only checks the manifest for the certificate. Your users will see "dropbox wants to download..." instead of your server name though.
Thanks for the hint.
When an update for AirLaunch? :D :D :D

Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: iOS7.1

Post by jmburnod » Tue Mar 18, 2014 9:49 am

Hi Jacque,
Thanks a lot for your hint which was very useful to solve the deployment of our app.
All the best
Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7242
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: iOS7.1

Post by jacque » Tue Mar 18, 2014 4:49 pm

Neurox66 wrote: When an update for AirLaunch? :D :D :D
AirLaunch won't need an update, it will work fine as long as you use an https download URL. The issue is with Apple's new requirement that the download URL must be SSL. If you are using Dropbox to transfer the files you don't need to change anything because Dropbox already uses https. If you are using a private server for the files, you will need to use an https URL and have an SSL certificate installed on your server.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: iOS7.1

Post by FireWorx » Wed Dec 17, 2014 7:19 pm

Jacque,
Do you think the same requirement may be disallowing me to download PDF's from my web server in LC 7.0 ? Here is the link if you would like to comment.
http://forums.livecode.com/viewtopic.php?f=49&t=22241

Thanks
Dave

Post Reply

Return to “iOS Deployment”