Page 1 of 1
Stand Alone build for Testing on my own IPAD
Posted: Thu Oct 31, 2013 8:00 am
by maxs
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.
Re: Stand Alone build for Testing on my own IPAD
Posted: Thu Oct 31, 2013 8:19 am
by maxs
Never mind. My panic passed, and I figured it out.
Thanks anyway!
Re: Stand Alone build for Testing on my own IPAD
Posted: Wed Nov 27, 2013 3:08 am
by babbie
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
Re: Stand Alone build for Testing on my own IPAD
Posted: Wed Nov 27, 2013 5:25 pm
by dhurtt
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
Re: Stand Alone build for Testing on my own IPAD
Posted: Sat Nov 30, 2013 6:54 pm
by maxs
I think I solved the problem by reinstalling with the latest version of xcode.
Max
Re: Stand Alone build for Testing on my own IPAD
Posted: Tue Dec 10, 2013 2:05 pm
by babbie
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
Re: Stand Alone build for Testing on my own IPAD
Posted: Tue Dec 10, 2013 10:48 pm
by Simon
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
Re: Stand Alone build for Testing on my own IPAD
Posted: Wed Dec 11, 2013 1:15 am
by LC4iOS
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.