Page 1 of 1

iOS Installation Has Me Stumped

Posted: Tue Feb 05, 2013 10:44 pm
by Gene
Well, I'm going to finally have to seek help with this. I've tried everything I can think of, and searched the forum, and am stumped. I have been using LC for Android on Windows for some time, and it works fine. Now, I want to develop on my Mac for both Android and iOS, and am having problems with both installations that have stopped me cold. I would really appreciate some help.

The problem that I keep getting an LC alert when trying to enter a location for the iOS development SDKs (in the preferences Mobile Support tab). I choose "/Developer," and get the LC alert "The chosen folder is not a valid iOS SDK." This is the folder shown in both the tutorial, and the "LiveCode Mobile Development Beginner's Guide."

When LC asks whether I have "4.2 or Later" or "4.3 or Later," I have tried both with the same not a valid sdk alert. I've studied both the tutorial, and the "LiveCode Mobile Development Beginner's Guide" and can't find any other way to configure LC for iOS using Leopard.

I have:
*Leopard 10.6.8
*LiveCode 5.5.3 (Android and iOS commercial)
*What looks like a good installation (at least it has all the right files and folders) from the download "3-2.2.5_and_iOS_SDK_4.2_final.dmg." This installed a folder "Developer" at the hard drive root of my Mac.
*XCode appears to be installed, and can be executed. It's version 3.2.5.

Could it be that I have a bad Java installation? I have JDK 1.6.0 (at least as reported in the reported JDK path by LC).

Attached is a screenshot of the mobile support screen.

Can anyone please offer a solution to my problem? I have come too far to give up on developing with LC now.

Thanks much - Gene

Re: iOS Installation Has Me Stumped

Posted: Wed Feb 06, 2013 4:12 am
by dave_probertGA6e24
Gene,

A couple of things.
iOS does not use Java - only C++ (that comes in Xcode)
Livecode is looking for Xcode 4.2 or 4.3 or later. You have 3.2.5 ? You will need a newer version of Xcode.

Cheers,
Dave

Re: iOS Installation Has Me Stumped

Posted: Wed Feb 06, 2013 5:08 am
by jacque
You need to select the folder that actually contains the SDK. On my Mac, it's "android-sdk-macosx". I happen to have put that folder inside my Developer folder, but it could be anywhere.

Edited: Sorry, that's for the Android SDK. With the latest version of XCode, you should point to the XCode app in the Applications folder. The old Developer folder isn't much used any more.

Re: iOS Installation Has Me Stumped

Posted: Thu Feb 07, 2013 6:10 pm
by Gene
Success!

This is mainly to thank you, Dave and Jacque, for taking time to reply to my post and trying to help. I finally got it working, although I'm not entirely clear on how.

I found and installed XCode 3.26 and SDK 4.3, which now works. Before, I was trying to use 3.25 without success. By the way, you have to dig for 3.26 in the downloads area, so I first thought that 3.25 was the latest version before 4.2 (which apparently won't load on my system - another story).

So, it appears XCode 4.2 isn't entirely necessary. Also, LC automatically found the XCode installation on launch, without me having to manually point the prefs to it's location. And yes, the folder is /Developer.

Just in case, here is my working configuration (for future generations of formerly exasperated newbie LiveCode iOS installers):

MacBook Pro4 with Leopard 10.6.8
XCode 3.26, SDK 4.3 (download xcode_3.2.6_and_ios_sdk_4.3.dmg at https://developer.apple.com/downloads/i ... name=Xcode - go directly to page 3
LC 5.5.3

Why not just buy a brand new Mac with Mountain Lion and all the latest and greatest? Don't I wish!

Thanks again - Gene