ios 4.3 sdk

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

ios 4.3 sdk

Post by maxs » Wed Dec 21, 2011 8:09 am

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,)

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: ios 4.3 sdk

Post by Jellicle » Wed Dec 21, 2011 9:05 am

14" MacBook Pro
Former LiveCode developer.
Now recovering.

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: ios 4.3 sdk

Post by maxs » Thu Dec 22, 2011 7:22 am

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

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: ios 4.3 sdk

Post by CALL-151 » Thu Dec 22, 2011 7:37 pm

It should be in your developer root, as in ~/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.x.sdk

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: ios 4.3 sdk

Post by maxs » Fri Dec 23, 2011 3:33 am

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

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: ios 4.3 sdk

Post by CALL-151 » Fri Dec 23, 2011 4:36 am

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.

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: ios 4.3 sdk

Post by maxs » Fri Dec 23, 2011 5:22 am

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

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: ios 4.3 sdk

Post by maxs » Fri Dec 23, 2011 5:45 am

Never mind.

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

THanks again

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: ios 4.3 sdk

Post by CALL-151 » Fri Dec 23, 2011 2:33 pm

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.

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: ios 4.3 sdk

Post by maxs » Fri Dec 23, 2011 4:42 pm

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: ios 4.3 sdk

Post by Mark » Fri Dec 23, 2011 7:22 pm

Hi,

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

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

sylvanr
Posts: 80
Joined: Wed Nov 24, 2010 10:38 am

Re: ios 4.3 sdk

Post by sylvanr » Tue Jan 31, 2012 9:52 pm

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.

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: ios 4.3 sdk

Post by CALL-151 » Tue Jan 31, 2012 10:11 pm

Try /Developer. It should at the root level of your drive along with Applications, Library, System, etc

macnomad2
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 63
Joined: Sat Oct 28, 2006 10:04 pm

Re: ios 4.3 sdk

Post by macnomad2 » Tue Jan 31, 2012 10:14 pm

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.

ueliweb
Posts: 118
Joined: Wed May 11, 2011 9:47 am

Re: ios 4.3 sdk

Post by ueliweb » Sun Feb 19, 2012 5:20 am

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
ueliweb

Post Reply