iOS 6.0.1 standalone, anyone ?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

iOS 6.0.1 standalone, anyone ?

Post by Dixie » Fri May 03, 2013 8:58 am

Anyone manage to build a 'standalone application' using LC 6.0.1... It seems no problem building for the simulator, all is good... but using the same settings and trying to get a standalone throws an error...

Using Mountain Lion 10.8.3, LC 6.01 community, xCode 4.6.2

Dixie

Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

Re: iOS 6.0.1 standalone, anyone ?

Post by Tester2 » Fri May 03, 2013 11:58 pm

Unfortunately, I am getting the same error as you, but with LiveCode Commercial.

Please let me know if you find a resolution.

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: iOS 6.0.1 standalone, anyone ?

Post by endernafi » Sat May 04, 2013 12:31 am

I just downloaded the commercial version
and don't have any problems building standalones for iOS.
* LiveCode Commercial Edition 6.0.1 Build 1513 *


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

Re: iOS 6.0.1 standalone, anyone ?

Post by Tester2 » Sat May 04, 2013 12:40 am

Ender,

Do you have any externals in your app? That is when mine seems to give me errors and not compile.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: iOS 6.0.1 standalone, anyone ?

Post by Dixie » Sat May 04, 2013 12:47 am

Tester2...

What is the error that you are getting ? What is the version, or versions of xCode that you have showing in the 'mobile support' of the liveCode preferences ?
Last edited by Dixie on Sat May 04, 2013 12:56 am, edited 2 times in total.

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: iOS 6.0.1 standalone, anyone ?

Post by endernafi » Sat May 04, 2013 12:56 am

I've built 6 apps and some of them have externals.
But just the built-in externals:
revZip, revXML, SQLite, MySQL.

I didn't try any of other externals like mergExt.


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

Re: iOS 6.0.1 standalone, anyone ?

Post by Tester2 » Sat May 04, 2013 1:49 am

Dixie,

I was getting a error that read:

"linking for armv 7 failed with arm-apple-darwin10-llvm-g++-4.2:
/private/var/folders/_c/zw8476v14qg6xmh149f_6j2m0000gp/T/TemporaryItems/tmp.47897.xm0AMZVa:
No such file or directory
arm-apple-darwin10-llvm-g++-4.2:
/private/var/folders/_c/zw8476v14qg6xmh149f_6j2m0000gp/T/TemporaryItems/tmp.47897.rjYsiZsY:
No such file or directory"

I tried changing some settings to see if anything would help, and I actually found something! When I change my Standalone preferences to be for "Arm v6" instead of "Universal' then it actually compiles properly!

Is this a LiveCode error that will be resolved in a next rev?

Also: I am running XCode 4.6.2 and have SDKs for 5.1, 6.0, and 6.1 in my LiveCode - Mobile Support preferences.

Thanks.

-Tester2

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: iOS 6.0.1 standalone, anyone ?

Post by Dixie » Mon May 06, 2013 12:16 pm

Tester2..

Thanks, your solution works...:-) I changed the settings to Armv6 and it built a standalone that will run on a device. I don't have a clue as to what has happened to 'universal' or 'Armv7' builds...

Dixie

garyliddle
Posts: 1
Joined: Mon May 06, 2013 9:00 pm

Re: iOS 6.0.1 standalone, anyone ?

Post by garyliddle » Mon May 06, 2013 9:08 pm

I can also build a standalone iOS app by using an old xCode and building for the universal architecture,
but the calls to the external revXML functions throw an exception, when the app runs.

When building for MacOS, the external is pulled into the apps directory structure
xxx.app/Contents/MacOS/Externals/revxml.bundle/...

When building for iOS there is no sign of anything being pulled in, I presume there should be?

Post Reply