May be OT: where is iOS 5.1 SDK and how can I deploy it?

Graham Samuel livfoss at mac.com
Wed Mar 28 07:28:31 EDT 2012


Tom thanks - 

The charm of living in Europe and getting the LiveCode digest is that you wake up in the morning and someone has answered your question!  Sadly though in this case it doesn't work: when I do exactly what you suggest, LC pops up a dialog box which says:

"The chosen folder is not a valid iOS SDK for 5.0 or later. It must be one that ships with XCode 4.2 or later."

Actually it does it the first time, but after that it seems to accept it, but on trying to do 'Test' (i.e. run the Simulator), I get:

"unknown development platform"

This despite this version of XCode reporting itself as 4.3.2 and containing (as I suppose is normal) a folder called 'Contents' which itself many folders including one called 'Developer'. So I tried to copy all of this contents to a new folder in my Developer folder (how the heck this got populated in the previous version I can't remember, and I can't imagine why it doesn't just get updated during the download). This didn't work either, because LC wouldn't accept any of the stuff within the new folder or the new folder itself (it just wanted to keep on opening the folders without allowing me to choose one). If I left the thing pointing at my old 'Developer' folder, all I got was the previous stuff.

I am still totally puzzled. I was thinking of either downloading 4.3.2 again (although frankly I don't see what that would do) or writing to support - I have just composed a note to them as I have run out of ideas. If the reply is of general interest I will post it to the list. Meanwhile I will just carry on with iOS 5.0.

There must obviously be a difference between your setup and mine.

Thanks anyway for replying

Graham


On Tue, 27 Mar 2012 17:35:08 -0400, Thomas McGrath III <mcgrath3 at mac.com> wrote:

> Graham,
> 
> Just point the top button in device preferences to the xCode.app in you applications folder. That's it. It will find it itself.
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgrath at comcast.net
> 
> On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote:
> 
>> As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my Applications folder and I can run it, but it doesn't seem to have altered my Developer folder at all - all the file dates seem to be earlier, and there is no sign of the 5.1 SDK. The simulator there also seems to be 5.0.
>> 
>> When I open the LC mobile preferences, I am asked what version of XCode I'm running. If I answer "4.3" I am asked to point LC at the 4.3 App Bundle (this is the same as "location of developer root for iOS 5.0 and above" I think), but I can't find it. I thought it might be in the actual XCode app itself (of course this is really a folder), which naturally enough is in the Applications folder, but all I can point to is
>> 
>> /Applications/Xcode.app/Contents/Developer
>> 
>> which results in "unknown deployment platform" when I try to test an app. If I actually look at the contents of the XCode application folder with the Finder, it does seem to have everything I need, including a new SDK and a new simulator, but I don't know what to do to tell LC to look for it (I suppose I could copy everything which  has the same name as the stuff in my current Developer folder so as to replace it, but I am not keen to try this).
>> 
>> I am totally at sea and so far have not found any documentation to help me. Can anyone point me in the right direction. I'd be more than grateful.
>> 
>> Confused
>> 
>> Graham




More information about the use-livecode mailing list