Page 1 of 1

LC Build do not include files

Posted: Wed Mar 25, 2015 6:08 pm
by brandcode
My Mac OSX Yosemite V 10.10.2
Xcode 6.2
LC commercial V6.7 V7.0.3 V 7.0.4 (rc2)
I am try to build a standalone app and the file i want to include is (Sqlite.)
When i try to include the file and build the app for Mac. the build is successful but the file have no be copied.
When i make a test and try it for windows or Linux the file included.
In the (Appname.app/contents/MacOS) is the application and the folder externals.
When i go to folder (Appname.app/contents/Resources/) is a folder inside with name ( _MacOS) and there is the file i have include and again a folder with name externals.

anyone have a similar problem to help ?

Re: LC Build do not include files

Posted: Thu Mar 26, 2015 12:00 pm
by Klaus
Hi brandcode,

1. does your Mac standalone not work as exspected? 8)

2. Due to some (new?) rules from Apple, "resource files" MUST now reside in a folder named "resources" inside of a Mac OS X app package!
So Livecode does all this automatically behind the scenes (redirect access from specialfolderpath("engine") to this new resource folder etc.)
to comply to these Apple restrictions and make our app work nevertheless.

Yes, it is a bit iritating, but once you know what and why it happens... :D


Best

Klaus