The chosen folder is not a valid iOS SDK

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
jncolligan
Posts: 4
Joined: Sun Jun 29, 2014 7:40 pm

The chosen folder is not a valid iOS SDK

Post by jncolligan » Sun Jun 29, 2014 9:21 pm

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)

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: The chosen folder is not a valid iOS SDK

Post by Klaus » Sun Jun 29, 2014 9:51 pm

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

jncolligan
Posts: 4
Joined: Sun Jun 29, 2014 7:40 pm

Re: The chosen folder is not a valid iOS SDK

Post by jncolligan » Sun Jun 29, 2014 10:26 pm

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

jncolligan
Posts: 4
Joined: Sun Jun 29, 2014 7:40 pm

Re: The chosen folder is not a valid iOS SDK

Post by jncolligan » Sun Jun 29, 2014 10:40 pm

P.S. Just updated my LC App and the link just appeared! :) Happy Days! :)

Gambiteer
Posts: 10
Joined: Sat Jun 28, 2014 4:17 am

Re: The chosen folder is not a valid iOS SDK

Post by Gambiteer » Mon Jun 30, 2014 4:47 pm

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.

jncolligan
Posts: 4
Joined: Sun Jun 29, 2014 7:40 pm

Re: The chosen folder is not a valid iOS SDK

Post by jncolligan » Mon Jun 30, 2014 10:24 pm

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

Gambiteer
Posts: 10
Joined: Sat Jun 28, 2014 4:17 am

Re: The chosen folder is not a valid iOS SDK

Post by Gambiteer » Sat Jul 05, 2014 11:40 pm

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

Post Reply