Page 1 of 1

ios 4.3 sdk

Posted: Wed Dec 21, 2011 8:09 am
by maxs
I cannot build my IOS app because livecode is requesting an ios 4.3 sdk.

I cannot find it at Apple.com and I am using ios5. What do I do?


(Since I've started developing for IOS,it's been on obstacle after another,)

Re: ios 4.3 sdk

Posted: Wed Dec 21, 2011 9:05 am
by Jellicle

Re: ios 4.3 sdk

Posted: Thu Dec 22, 2011 7:22 am
by maxs
Thank you Jellicle.

Now I am being asked for ios 5 for lion.

I installed Version 4.2.1 or xcode. Shouldnt that include ios 5?

Thanks, Max

Re: ios 4.3 sdk

Posted: Thu Dec 22, 2011 7:37 pm
by CALL-151
It should be in your developer root, as in ~/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.x.sdk

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 3:33 am
by maxs
I checked to see if I have IOS 5 installers. I see it in my developer root, as in ~/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.x.sdk

Yet , I cannot build an app. because Livecode says it requires an IOS SDK.

How do I get Livecode to see my ios SDK.

Max

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 4:36 am
by CALL-151
From the Livecode menu select preferences, then Mobile Support. Where it asks for the location of your developer root for iOS 5 and above, point it to the appropriate root.

It's all explained in the iOS Release Notes. You'll save yourself a lot of frustration if you read them carefully.

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 5:22 am
by maxs
Yes, I should have read the documentation before coming to the forum.

On the other hand, when I select the ios 5.0 sdk, i get a message that i need to select the SDK that comes with xcode 4.2.

I know I am selecting the correct sdk path, yet I cannot set this up.

Should I call tech support?

Max

(Thank you to those who were kind enough to offer me help.

Beyond frustrated. Max

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 5:45 am
by maxs
Never mind.

After experimenting, it appears that I just needed to select the development folder, on the SDK folder.

THanks again

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 2:33 pm
by CALL-151
Yeah, that could be spelled out better in the documentation. You should be good to go (at least until you need to navigate the code signing steps required to submit your standalone to the app store). Just pay attention to the "what doesn't work" section in the release notes. Debugging can be challenging when developing for iOS. Most errors will simply cause a handler to fail silently because you'll be running in the simulator rather than the IDE, and there are still some lingering bugs (as of LC 5.0.2) affecting PDF printing, etc. Nevertheless, LC remains the best option for rapid iOS development in my opinion.

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 4:42 pm
by maxs
Thanks, you are right. It took me 2 weeks just to figure out how to play an audio file. Most everything else works just fine.

Max

Re: ios 4.3 sdk

Posted: Fri Dec 23, 2011 7:22 pm
by Mark
Hi,

The developer root is /Developer, not ~/Developer or ~/Developer/some folder/some file.sdk or /Developer/some folder/some file.sdk.

Best,

Mark

Re: ios 4.3 sdk

Posted: Tue Jan 31, 2012 9:52 pm
by sylvanr
maxs wrote:Never mind.

After experimenting, it appears that I just needed to select the development folder, on the SDK folder.

THanks again
I seem to be having the same problem. I am on Lion, have upgraded LiveCode 5.0.2 and I have Xcode 4.2.1 installed. I go to the preferences in LiveCode and click on Mobile Support and then for "Location of developer root for iOS 5.0 and above", I have tried several paths but none of them work. I keep getting message "The chosen folder is not a valid iOS SDK for 5.0 and later. It must be one that ships with XCode 4.2 or later." I have tried un-installing Xcode and re-installing it, thinking that might help but not getting anywhere. Here is one path of several I have tried:

developer/platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk

Addendum: I was finally able to access the iPhone simulator by selecting Development from the LiveCode menu and then selecting "Test Target" and then selecting iPhone Simulator 5.0. I guess that is a step in some direction?? At least I can test my applications. I'm not sure if this is just a work-around and will suffice or will be problematic later.

Re: ios 4.3 sdk

Posted: Tue Jan 31, 2012 10:11 pm
by CALL-151
Try /Developer. It should at the root level of your drive along with Applications, Library, System, etc

Re: ios 4.3 sdk

Posted: Tue Jan 31, 2012 10:14 pm
by macnomad2
Addendum: I was finally able to access the iPhone simulator by selecting Development from the LiveCode menu and then selecting "Test Target" and then selecting iPhone Simulator 5.0. I guess that is a step in some direction?? At least I can test my applications. I'm not sure if this is just a work-around and will suffice or will be problematic later.
No it is a necessary step, not very well documented ;) This menu selection is necessary to choose which simulator you will use, even when you have only one choice (no comment)
Now you should be fine.

Re: ios 4.3 sdk

Posted: Sun Feb 19, 2012 5:20 am
by ueliweb
Hei

one question more here.

As I use LC 4.6.4 on Snow Leopard with X-Code 4.2 I just got the "missing 4.3 SDK" message.
After that I tried again every step here and in the iOS release Note but also reinstalled X-Code, I also cleaned the Development Setting in user Library.
Setup in X-Code all the Profiles my iPhone, ...

... but it's still the same.
On the other hand iPad & iPhone Simulator works well ...
And after the summer academy I was able to make iPhone Standalone.

Just for interesting I downloaded LC 5.0.2 and "Save as Standalone" without changing anything ... just done move it to X-Code and it Works on my iPhone

Means that I need now to pay LC 5 just for save for iPhone?

Some suggestions?
thanks