LC Build do not include files

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
brandcode
Posts: 28
Joined: Mon Dec 01, 2014 12:28 pm

LC Build do not include files

Post by brandcode » Wed Mar 25, 2015 6:08 pm

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 ?

Klaus
Posts: 11576
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: LC Build do not include files

Post by Klaus » Thu Mar 26, 2015 12:00 pm

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

Post Reply

Return to “Mac OS”