Page 1 of 1

The chosen folder is not a valid iOS SDK

Posted: Sun Jun 29, 2014 9:21 pm
by jncolligan
Hello,

I've successfully linked the android SDK to Livecode > Preferences > Mobile Support > Android SDK > Location of Android development SDK root:

I'm not able to do the same for the IOS SDK.

When click "add entry" in Livecode > Preferences > Mobile Support > IOS SDK:

I receive the LC MsgBx asking: "What version of Xcode do you have installed?"

I click the "4.3 or later" button and select the directory "Applications" and select the "Xcode app" and click the "open" button; which is the only valid button available to me when I select Xcode from the application list.

I then get the error message: "The chosen folder is not a valid iOS SDK."

I have also attempted to select the Xcode app file, right clicked it and selected "Show Package Contents" to find the files that might contain the SDK and have found the file MacOSX19.9.SDK and copied this to a location that i could find from the Livecode Mobile Preferences IOS SDK Add Item Browser, but am still not able to establish the link and get the same message: "The chosen folder is not a valid iOS SDK."

I would be grateful if someone might let me know what i'm missing,

Thank you in advance,

Joe

My configuration

iMac
OS X Version 10.9.3
Processor 2.5 Ghz Intel Core i5
Memory 16GB
Appdrive 240GB SSD

Livecode
Commercial Edition
6.5.1-rc-1
Build 3010

Android SDK: ADT-bundle-mac-x86_64-20140321
IOS SDK: Xcode version 5.1.1 (5B1008)

Re: The chosen folder is not a valid iOS SDK

Posted: Sun Jun 29, 2014 9:51 pm
by Klaus
Hi jncolligan,

1. welcome to the forum! :D

2. If I remember correctly, only LC >= 6.6 is compatible with XCode 5.1x.


Best

Klaus

Re: The chosen folder is not a valid iOS SDK

Posted: Sun Jun 29, 2014 10:26 pm
by jncolligan
Hi Klaus,

That's actually quite comforting to find out. Now i feel less like a moron :)

So i'll focus on the Android environment then; i'm sure i'm a lifetime away from actually wanting to put something into the iOS production environment :)

Thank you for your reply,

Joe

Re: The chosen folder is not a valid iOS SDK

Posted: Sun Jun 29, 2014 10:40 pm
by jncolligan
P.S. Just updated my LC App and the link just appeared! :) Happy Days! :)

Re: The chosen folder is not a valid iOS SDK

Posted: Mon Jun 30, 2014 4:47 pm
by Gambiteer
Would you be able to detail how you got the Android SDK to work? I've been getting this same error for the Android SDK.

Re: The chosen folder is not a valid iOS SDK

Posted: Mon Jun 30, 2014 10:24 pm
by jncolligan
Hello Gambiteer :)

If memory serves me correctly:

I downloaded, unzipped and placed this folder in my applications directory:

adt-bundle-mac-x86_64-20140321

i then drilled into that folder structure until i reached the android file which was:

adt-bundle-mac-x86_64-20140321 > SDK > Tools > and then clicking the 'android' file that looks like an app (if you select it, it is a UNIX executable 3k in size).

This opens up the Android SDK Manager and i installed 4.2.2. down to 2.2 and then i went to "mobile preferences" and selected the file path that got me back to the top directory: adt-bundle-mac-x86_64-20140321

I think that's what i did :(

please let me know if how you get on, i might be able to help you if you get stuck somewhere based on a step i forgot i did :(

-Joe

Re: The chosen folder is not a valid iOS SDK

Posted: Sat Jul 05, 2014 11:40 pm
by Gambiteer
Hi guys, the Livecode staff have said that this will be fixed "asap" but there's a workaround right now:

http://forums.livecode.com/viewtopic.ph ... 00#p106664