IOS 6

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

IOS 6

Post by SteveHanlan » Thu Sep 20, 2012 3:56 pm

Anybody else having problems with working Apps failing on iOS 6?

jlally
Posts: 33
Joined: Wed Mar 21, 2012 6:48 pm
Location: Portland, OR USA
Contact:

Re: IOS 6

Post by jlally » Thu Sep 20, 2012 6:21 pm

Hi, Steve -

Yes - I just upgraded to iOS6, and am running Livecode 5.5.1. I can get my app to run in the simulator, but it will no longer build a standalone application file. (This was all working just fine before I did the iOS upgrade - a decision I am now regretting...)

When I attempt to build a standalone, I get this error:

"There was an error while saving the the standalone application
performing iOS device builds requires the iOS 5.0 SDK platform to be installed"

I went and followed the suggestions posted here: How to setup Xcode 4.5 to work with LC 5.5.1/5.5.2 , but still no luck.
http://forums.runrev.com/phpBB2/viewtop ... 21&p=61541

Not sure if you or anyone else has found a way past this yet? I thought about switching to LC 5.5.2 and trying that, but after iOS6, I'm a little gun-shy about upgrading.

--John
Lodestone Animation, Inc.
Macaroni Art for iOS

SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

Re: IOS 6

Post by SteveHanlan » Thu Sep 20, 2012 6:45 pm

John

Also waiting for solution on Xcode before going to 5.2.2

4.5 came from App Store, so I have no file to point Livecode to for the Mobile Support setting ....

Posted here and directly to RunRev.

Stuck until I get a solution.

Steve

jlally
Posts: 33
Joined: Wed Mar 21, 2012 6:48 pm
Location: Portland, OR USA
Contact:

Re: IOS 6

Post by jlally » Thu Sep 20, 2012 7:00 pm

Hi, Steve -

Glad you let RunRev know directly. And yes - I forgot to mention that I'm also running XCode 4.5 (from the App Store).

--John
Lodestone Animation, Inc.
Macaroni Art for iOS

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: IOS 6

Post by CALL-151 » Thu Sep 20, 2012 10:24 pm

Xcode should be in your Applications folder (unless you moved it). Doesn't matter that it came from the App Store.

SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

Re: IOS 6

Post by SteveHanlan » Thu Sep 20, 2012 10:28 pm

Yes it is. I find it and select it, but LC still wants the 5.0 SDK when I save as Standalone

Steve

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: IOS 6

Post by CALL-151 » Thu Sep 20, 2012 10:53 pm

Oh, now I see. Same issue here...

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: IOS 6

Post by CALL-151 » Thu Sep 20, 2012 11:05 pm

Got it working. Exploring the contents of Xcode 4.5 revealed that the 5.0 and 5.1 SDKs aren't there! Fortunately, I found them in an older iPhoneOS.platform folder and copied them into the Xcode 4.5 package.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: IOS 6

Post by monte » Fri Sep 21, 2012 12:22 am

Gee... apple are so helpful moving everything into the app bundle. Why they feel the need to deliver a developer tool on a consumer platform I'll never know. Just for clarity, while the standalone buil;der is saying it needs iOS 5 what it really needs is iOS 5.1. Because it can't find iOS 5.1 it looks for 5 then gives the warning. There's no device build against iOS 6 yet which is why your builds are failing against vanilla Xcode 4.5.

Anyway, one thing I'm learning is to keep older versions of Xcode around. I've now got automated builds for all my externals using xcodebuild called via shell from a livecode stack. It uses Xcode 4.5 for iOS 6, Xcode 4.4 for iOS 5.1 and Xcode 4.2 for iOS 5.0-. The one handy stack builds, parses the lcidl file to generate docs from comments and then packages into a zip file in LC 5.5.2+ and LC5.5.1- formats ;-)

I have new versions for LiveCode 5.5.2 coming very soon as well as a ton of new features. I'm just waiting on RunRev to get back to me on a possible sdk bug building externals that use any of the LCInterface calls against iOS 4.1- and iOS 6.

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: IOS 6

Post by CALL-151 » Fri Sep 21, 2012 12:54 am

Thanks for the clarification Monte. Old versions of Xcode seem essential, but manually re-pointing LC to the older SDKs each time you want to switch isn't practical. I shoved older iOS SDKs into the Xcode 4.5 pkg with some apprehension but with no obvious ill effects so far. I can now get LC 5.5.1 to build standalones for a minimum iOS down to 4.3, at least according to the info.plist- not tested on actual hardware.

I had no doubt that you were hard at work on 5.5.2 compatible versions of your awesome externals. I'm in no hurry to switch to 5.5.2 until you do.

ekek
Posts: 51
Joined: Fri Sep 21, 2012 9:33 am

Re: IOS 6

Post by ekek » Fri Sep 21, 2012 9:41 am

Hi Monte and everyone:

Do you know what happens in iOS 6 with the audio and video players? In previous versions I've been using Mobgui player or iphoneControlCreate command to create audio or video players, but when I used them with iOS 6 the Apps crashes.

Is it there a new command in iOS 6 or a way to do the same thing?

Does anyone know if MobGui is still supported in iOS 6?

MONTE
What setup is needed to compile and run iOS 6 Apps with Livecode?

Livecode version _________
XCode Version __________
MobGui version _________
etc.

Thanks

SteveHanlan
Posts: 80
Joined: Fri Jul 09, 2010 6:28 pm

Re: IOS 6

Post by SteveHanlan » Fri Sep 21, 2012 4:06 pm

Found 5.0 SDK and did the same
I was able to recompile and submit the fix to the App Store
Whew!

Post Reply

Return to “iOS Deployment”