Stand Alone build for Testing on my own IPAD

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:

Stand Alone build for Testing on my own IPAD

Post by maxs » Thu Oct 31, 2013 8:00 am

I go through this nightmare every time I build a standalone. It's just this time I have a big show in 24 hours, to show my new program.

Do I choose Arm7, Arm 6 or Universal?
What version of Xcode do I need to import ios things into Livecode? It seems I can never get it right.
WHat kind of provisioning profile do I need to create for a non distribution build? Where do I go to get it?

Why can I never find the documentation to find the answers to these questions?

Is there a kind person out there who can help? If you read this in November, don't bother to answer.

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

Re: Stand Alone build for Testing on my own IPAD

Post by maxs » Thu Oct 31, 2013 8:19 am

Never mind. My panic passed, and I figured it out.

Thanks anyway!

babbie
Posts: 7
Joined: Thu Mar 14, 2013 3:53 pm

Re: Stand Alone build for Testing on my own IPAD

Post by babbie » Wed Nov 27, 2013 3:08 am

Wait, not so fast. That's exactly the problem I have.

I installed Xcode.

When I try to create a standalone iOS, I'm told I need
iOS 5.1 SDK. When I try to find that, I'm usually told
all I need to do is install Xcode.

Help!

Earl

dhurtt
Posts: 42
Joined: Sat Nov 09, 2013 7:37 pm

Re: Stand Alone build for Testing on my own IPAD

Post by dhurtt » Wed Nov 27, 2013 5:25 pm

I am no expert on this, but if you got a message indicating you need the iOS 5.1 SDK it is probably because you told it to use Arm6 for the build. What are you building to/testing on?

The Wikipedia entry on iOS devices may help here: http://en.wikipedia.org/wiki/List_of_iOS_devices . It lists which models use which ARM processors. Note that the new iPhone 5S uses ARMv8. I assume that Livecode built for ARMv7 works on it, but have not tested it.

So basically Livecode hooks into Apple Xcode libraries in order to build and test. That means your Xcode application has to have the right iOS SDKs loaded onto it. If under the Development menu of Livecode the Test Targets are iPad iOS 7 and iPhone iOS 7 then you probably only have the iOS 7.0 SDKs loaded (at least that appears to be my case). Go to the Apple Developer site and download the older SDKs if you wish to build for older iOS devices. Note that if you do, you cannot use features that might only be available in the later iOS versions. (I am just getting started in iOS development with Livecode, so I don't yet know what that might be.)

I am not sure, but I think that if you go back far enough in the iOS SDKs then you might need an older version of Xcode. Also, the later Xcode versions require minimum version for your Mac OS. Xcode 5, for example, requires OS X 10.8.4 or later. So if you are not at that, my understanding is you can't develop for iOS 7. Xcode 4.6.3 is supported on Mac Mountain Lion and Lion, but only supports up to iOS 6.

Confused yet? :^) I am muddling through this, so if I got anything wrong, please let me know. But in the end, in order to get rid of that message, I had to choose the ARM7 setting to get it to compile, which works fine with my iPad Air. (I may need to buy older devices to test with, but I need to finish the app first!)

Regards,

Dale

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

Re: Stand Alone build for Testing on my own IPAD

Post by maxs » Sat Nov 30, 2013 6:54 pm

I think I solved the problem by reinstalling with the latest version of xcode.

Max

babbie
Posts: 7
Joined: Thu Mar 14, 2013 3:53 pm

Re: Stand Alone build for Testing on my own IPAD

Post by babbie » Tue Dec 10, 2013 2:05 pm

Thanks for your earlier advice, which may have solved the problem.

I say "may have" because I am now being told I need a provisioning profile,
and I can't figure out how to provide one, or what to provide.

Sorry to be so slow.

Earl

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Stand Alone build for Testing on my own IPAD

Post by Simon » Tue Dec 10, 2013 10:48 pm

Hi Earl,
Check out this great write up from RunRev:
http://forums.runrev.com/viewtopic.php? ... 52&#p91778
You will need to purchase an Apple Developer licene.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

LC4iOS
Posts: 88
Joined: Tue Dec 03, 2013 8:15 pm

Re: Stand Alone build for Testing on my own IPAD

Post by LC4iOS » Wed Dec 11, 2013 1:15 am

Have a look at the Dec 7th post on this thread:
http://forums.runrev.com/viewtopic.php? ... rt=15#wrap

It has an updated step by step guide/procedure on using the latest and easier xCode 5.0.2 tools with the latest Apple Developers Portal. It was written for LiveCode 5.5.5 but I'm pretty sure the content is exactly the same for xCode 6.5 Commercial and Pro.
Thanks to RunRev.
Thanks to LiveCode forum members.

LiveCode v5.5.5 - iOS Android Mac Windows - 6.5 Community
27" 2012 iMac i5, MacBook Pro, MacBook Air, iPhone 5, iPhone 4
xCode 5.0.2 - iOS7 - OS X Mavericks
Paid Apple iOS Developer Program Member

Post Reply