Page 1 of 1

iOS 6.0.1 standalone, anyone ?

Posted: Fri May 03, 2013 8:58 am
by Dixie
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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Fri May 03, 2013 11:58 pm
by Tester2
Unfortunately, I am getting the same error as you, but with LiveCode Commercial.

Please let me know if you find a resolution.

Re: iOS 6.0.1 standalone, anyone ?

Posted: Sat May 04, 2013 12:31 am
by endernafi
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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Sat May 04, 2013 12:40 am
by Tester2
Ender,

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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Sat May 04, 2013 12:47 am
by Dixie
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 ?

Re: iOS 6.0.1 standalone, anyone ?

Posted: Sat May 04, 2013 12:56 am
by endernafi
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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Sat May 04, 2013 1:49 am
by Tester2
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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Mon May 06, 2013 12:16 pm
by Dixie
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

Re: iOS 6.0.1 standalone, anyone ?

Posted: Mon May 06, 2013 9:08 pm
by garyliddle
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?