Re: External files in Standalones

2014-11-28 Thread William Prothero
Folks:
I am really confused about how LC's built-in standalone builder is set up to 
put user files where I want them. I’m building for MacOSX. There is a “Copy 
Files” screen in the “Satandalone Settings” window. I have specified the 
non-stack folders, which are copied, but there is also a “Destination Folder” 
field and this seems to make no difference as to where the files are copied. I 
have set this to “Contents/DataFiles/*”, but whatever I set this to doesn’t 
seem to make any difference. Obviously, I am missing some critical setting. 

Another mystery is that the standalone package contains folders with my “Users” 
directory tree in the “MacOS” folder. WTF? Why would this be included in a 
standalone?

I would think there would be better documentation on this, as it is certainly 
frustrating for a newbie, and I am completely stuck on what should be a trivial 
problem.

Regards,
Bill

On Nov 27, 2014, at 2:58 PM, William Prothero proth...@earthednet.org wrote:

 Marty:
 Where do you put the folders that contain external binary and image data? The 
 App Wrapper somehow loses the path to them. The standalone that Livecode 
 creates finds these files, but App Wrapper somehow  loses the link, even tho 
 the files are still present.
 
 So, I’m worrying over how to organize the external files so that the process 
 goes smoothly.
 Bill
 
 On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:
 
 Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
 signing, not using the App Store though) with success. Sam Rowlands is a 
 great guy and has specifically worked with RunRev to make his product 
 compatible with Livecode. Version 3 will take of Apple's new version 2 
 requirements.
 
 http://www.ohanaware.com/
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-28 Thread Marty Knapp
I don't use any externals, other than what LC may include (like 
revmxl.bundle and rezip.bundle), My bundle structure looks like this:


MyAppContentsMacOSExternals(all externals)
MyAppContentsMacOScomponents(where I put all my stacks)

App Wrapper 3 code signs just fine for me with this structure. I does 
code sign everything, so can take longer than it used to. You might drop 
an email to Sam Rowlands at Ohanaware, I've always had great support 
from him.


Marty Knapp


Marty:
Where do you put the folders that contain external binary and image data? The 
App Wrapper somehow loses the path to them. The standalone that Livecode 
creates finds these files, but App Wrapper somehow  loses the link, even tho 
the files are still present.

So, I’m worrying over how to organize the external files so that the process 
goes smoothly.
Bill

On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:


Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
signing, not using the App Store though) with success. Sam Rowlands is a great 
guy and has specifically worked with RunRev to make his product compatible with 
Livecode. Version 3 will take of Apple's new version 2 requirements.

http://www.ohanaware.com/

Marty Knapp

Tom,
I've been developing a large app in LC, while learning LC, and am just now at 
the stage of building a standalone. So, I haven't faced the apple store 
requirements yet. I guess I should spend more time looking at the forums, 
because for now I've concentrated on this list for info, and building the app 
for a January deadline. My plan for now is to finish the app, use 
InstallerMaker to build an installer, and send it to UC Santa Barbara for 
testing in an Earth Disasters course. This replaces an older app I made in 
Director. Then I'm going to add more bells and whistles, and try to get it into 
the Apple store. It would be really great if I could anticipate future problems 
with file structures, etc. ultimately, I will look at iPad deployment.

One of the problems I've run into is the application builder changes the file 
structure and images that I have linked to controls lose their links when a 
standalone is built. But in general, It would be really useful if there was a 
place where sample file structures, application builder oddities, and apple 
store complexities were posted. The Livecode tutorials are laughably brief and 
un-informative, and I've googled to no avail.

Any directions or links would be most welcome.
Best,
Bill

William Prothero
http://es.earthednet.org


On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:

Hi Bill.

Have you run into any problems yet with your Mac standalone getting rejected
by Gatekeeper under 10.9.5 or later?

Apparently the app bundle structure is under new restrictions with Apple's
V2 codesigning rules, Resources should not be located in directories where
the system expects to find signed code.

Also, just curious, are you aiming for the Mac App Store with this or are
you releasing it as a 3rd party developer?

-- Tom Bodine





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-28 Thread William Prothero
Marty:
Is this what the folder structure looks like when you are developing the App? 
Perhaps this is where I’m going wrong. Do I need to use the same folder 
structure that the bundle will be, when I am doing the development. Currently, 
I have:
myApp
myApp-files   —this contains the sub-folders with images and various data 
items that I use.

Bill

On Nov 28, 2014, at 8:55 AM, Marty Knapp martyknapps...@gmail.com wrote:

 I don't use any externals, other than what LC may include (like revmxl.bundle 
 and rezip.bundle), My bundle structure looks like this:
 
 MyAppContentsMacOSExternals(all externals)
 MyAppContentsMacOScomponents(where I put all my stacks)
 
 App Wrapper 3 code signs just fine for me with this structure. I does code 
 sign everything, so can take longer than it used to. You might drop an email 
 to Sam Rowlands at Ohanaware, I've always had great support from him.
 
 Marty Knapp
 
 Marty:
 Where do you put the folders that contain external binary and image data? 
 The App Wrapper somehow loses the path to them. The standalone that Livecode 
 creates finds these files, but App Wrapper somehow  loses the link, even tho 
 the files are still present.
 
 So, I’m worrying over how to organize the external files so that the process 
 goes smoothly.
 Bill
 
 On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:
 
 Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
 signing, not using the App Store though) with success. Sam Rowlands is a 
 great guy and has specifically worked with RunRev to make his product 
 compatible with Livecode. Version 3 will take of Apple's new version 2 
 requirements.
 
 http://www.ohanaware.com/
 
 Marty Knapp
 Tom,
 I've been developing a large app in LC, while learning LC, and am just now 
 at the stage of building a standalone. So, I haven't faced the apple store 
 requirements yet. I guess I should spend more time looking at the forums, 
 because for now I've concentrated on this list for info, and building the 
 app for a January deadline. My plan for now is to finish the app, use 
 InstallerMaker to build an installer, and send it to UC Santa Barbara for 
 testing in an Earth Disasters course. This replaces an older app I made in 
 Director. Then I'm going to add more bells and whistles, and try to get it 
 into the Apple store. It would be really great if I could anticipate 
 future problems with file structures, etc. ultimately, I will look at iPad 
 deployment.
 
 One of the problems I've run into is the application builder changes the 
 file structure and images that I have linked to controls lose their links 
 when a standalone is built. But in general, It would be really useful if 
 there was a place where sample file structures, application builder 
 oddities, and apple store complexities were posted. The Livecode tutorials 
 are laughably brief and un-informative, and I've googled to no avail.
 
 Any directions or links would be most welcome.
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com 
 wrote:
 
 Hi Bill.
 
 Have you run into any problems yet with your Mac standalone getting 
 rejected
 by Gatekeeper under 10.9.5 or later?
 
 Apparently the app bundle structure is under new restrictions with Apple's
 V2 codesigning rules, Resources should not be located in directories 
 where
 the system expects to find signed code.
 
 Also, just curious, are you aiming for the Mac App Store with this or are
 you releasing it as a 3rd party developer?
 
 -- Tom Bodine
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe 

Re: External files in Standalones

2014-11-28 Thread William Prothero
Marty:
Tried the development file structure that mimics the bundle structure (for 
development) and all the standalone builder does is put my Resources folder 
inside the Resources folder that is created for the bundle. There is a MacOS 
folder (Contents-MacOS)that contains only folders, no data. Then there is 
also, in the Resources folder created by the bundle, a folder named 
_MacOS(Contents-Resources-_MacOS), which contains my data folders with data.

To get the path containing the actual data, I have to specify the path to the 
data within the Contents-Resources-_MacOS folder. 

I’m missing something, probably so trivial that nobody thinks to tell me.
Bill

On Nov 28, 2014, at 9:40 AM, William Prothero proth...@earthednet.org wrote:

 Marty:
 Is this what the folder structure looks like when you are developing the App? 
 Perhaps this is where I’m going wrong. Do I need to use the same folder 
 structure that the bundle will be, when I am doing the development. 
 Currently, I have:
 myApp
 myApp-files   —this contains the sub-folders with images and various data 
 items that I use.
 
 Bill
 
 On Nov 28, 2014, at 8:55 AM, Marty Knapp martyknapps...@gmail.com wrote:
 
 I don't use any externals, other than what LC may include (like 
 revmxl.bundle and rezip.bundle), My bundle structure looks like this:
 
 MyAppContentsMacOSExternals(all externals)
 MyAppContentsMacOScomponents(where I put all my stacks)
 
 App Wrapper 3 code signs just fine for me with this structure. I does code 
 sign everything, so can take longer than it used to. You might drop an email 
 to Sam Rowlands at Ohanaware, I've always had great support from him.
 
 Marty Knapp
 
 Marty:
 Where do you put the folders that contain external binary and image data? 
 The App Wrapper somehow loses the path to them. The standalone that 
 Livecode creates finds these files, but App Wrapper somehow  loses the 
 link, even tho the files are still present.
 
 So, I’m worrying over how to organize the external files so that the 
 process goes smoothly.
 Bill
 
 On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:
 
 Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
 signing, not using the App Store though) with success. Sam Rowlands is a 
 great guy and has specifically worked with RunRev to make his product 
 compatible with Livecode. Version 3 will take of Apple's new version 2 
 requirements.
 
 http://www.ohanaware.com/
 
 Marty Knapp
 Tom,
 I've been developing a large app in LC, while learning LC, and am just 
 now at the stage of building a standalone. So, I haven't faced the apple 
 store requirements yet. I guess I should spend more time looking at the 
 forums, because for now I've concentrated on this list for info, and 
 building the app for a January deadline. My plan for now is to finish the 
 app, use InstallerMaker to build an installer, and send it to UC Santa 
 Barbara for testing in an Earth Disasters course. This replaces an older 
 app I made in Director. Then I'm going to add more bells and whistles, 
 and try to get it into the Apple store. It would be really great if I 
 could anticipate future problems with file structures, etc. ultimately, I 
 will look at iPad deployment.
 
 One of the problems I've run into is the application builder changes the 
 file structure and images that I have linked to controls lose their links 
 when a standalone is built. But in general, It would be really useful if 
 there was a place where sample file structures, application builder 
 oddities, and apple store complexities were posted. The Livecode 
 tutorials are laughably brief and un-informative, and I've googled to no 
 avail.
 
 Any directions or links would be most welcome.
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com 
 wrote:
 
 Hi Bill.
 
 Have you run into any problems yet with your Mac standalone getting 
 rejected
 by Gatekeeper under 10.9.5 or later?
 
 Apparently the app bundle structure is under new restrictions with 
 Apple's
 V2 codesigning rules, Resources should not be located in directories 
 where
 the system expects to find signed code.
 
 Also, just curious, are you aiming for the Mac App Store with this or are
 you releasing it as a 3rd party developer?
 
 -- Tom Bodine
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and 

Re: External files in Standalones

2014-11-28 Thread Marty Knapp
No that's the structure in the standalone only. If you look in the 
Standalone settings, you'll see that there's a place to indicate which 
stacks to include and another place to indicate non-stack files to 
include. I would set up a folder on your hard drive and organize as you 
wish, then go into the Standalone settings and let it know where things 
are. Then when you reference any stacks, LC knows where they are so you 
don't have to include the path to the stack.


For example, let's say you you want to open one of your stacks form the 
main stack. In a button you would just write 'go stack MyStack' and LC 
will know where it is (because you've indicated that in the standalone 
settings. It works in the IDE, it works in the standalone.


I just tried a quick test app and code signed it with App Wrapper and it 
worked fine (though the structure of the standalone is different than my 
earlier example).


I did find a lesson that may help you here:
http://livecode.byu.edu/standalone/Distribution.php

Marty Knapp

Marty:
Is this what the folder structure looks like when you are developing the App? 
Perhaps this is where I’m going wrong. Do I need to use the same folder 
structure that the bundle will be, when I am doing the development. Currently, 
I have:
myApp
myApp-files   —this contains the sub-folders with images and various data 
items that I use.

Bill

On Nov 28, 2014, at 8:55 AM, Marty Knapp martyknapps...@gmail.com wrote:


I don't use any externals, other than what LC may include (like revmxl.bundle 
and rezip.bundle), My bundle structure looks like this:

MyAppContentsMacOSExternals(all externals)
MyAppContentsMacOScomponents(where I put all my stacks)

App Wrapper 3 code signs just fine for me with this structure. I does code sign 
everything, so can take longer than it used to. You might drop an email to Sam 
Rowlands at Ohanaware, I've always had great support from him.

Marty Knapp


Marty:
Where do you put the folders that contain external binary and image data? The 
App Wrapper somehow loses the path to them. The standalone that Livecode 
creates finds these files, but App Wrapper somehow  loses the link, even tho 
the files are still present.

So, I’m worrying over how to organize the external files so that the process 
goes smoothly.
Bill

On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:


Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
signing, not using the App Store though) with success. Sam Rowlands is a great 
guy and has specifically worked with RunRev to make his product compatible with 
Livecode. Version 3 will take of Apple's new version 2 requirements.

http://www.ohanaware.com/

Marty Knapp

Tom,
I've been developing a large app in LC, while learning LC, and am just now at 
the stage of building a standalone. So, I haven't faced the apple store 
requirements yet. I guess I should spend more time looking at the forums, 
because for now I've concentrated on this list for info, and building the app 
for a January deadline. My plan for now is to finish the app, use 
InstallerMaker to build an installer, and send it to UC Santa Barbara for 
testing in an Earth Disasters course. This replaces an older app I made in 
Director. Then I'm going to add more bells and whistles, and try to get it into 
the Apple store. It would be really great if I could anticipate future problems 
with file structures, etc. ultimately, I will look at iPad deployment.

One of the problems I've run into is the application builder changes the file 
structure and images that I have linked to controls lose their links when a 
standalone is built. But in general, It would be really useful if there was a 
place where sample file structures, application builder oddities, and apple 
store complexities were posted. The Livecode tutorials are laughably brief and 
un-informative, and I've googled to no avail.

Any directions or links would be most welcome.
Best,
Bill

William Prothero
http://es.earthednet.org


On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:

Hi Bill.

Have you run into any problems yet with your Mac standalone getting rejected
by Gatekeeper under 10.9.5 or later?

Apparently the app bundle structure is under new restrictions with Apple's
V2 codesigning rules, Resources should not be located in directories where
the system expects to find signed code.

Also, just curious, are you aiming for the Mac App Store with this or are
you releasing it as a 3rd party developer?

-- Tom Bodine





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-28 Thread William Prothero
Marty:
Thanks so much for your patience and help. I wasn’t worried about finding 
stacks because all of my project stacks are substacks. But, this situation will 
occur, I know. The buy site is very useful.

I think I have it now.
Best,
Bill
On Nov 28, 2014, at 10:07 AM, Marty Knapp martyknapps...@gmail.com wrote:

 No that's the structure in the standalone only. If you look in the Standalone 
 settings, you'll see that there's a place to indicate which stacks to include 
 and another place to indicate non-stack files to include. I would set up a 
 folder on your hard drive and organize as you wish, then go into the 
 Standalone settings and let it know where things are. Then when you reference 
 any stacks, LC knows where they are so you don't have to include the path to 
 the stack.
 
 For example, let's say you you want to open one of your stacks form the main 
 stack. In a button you would just write 'go stack MyStack' and LC will know 
 where it is (because you've indicated that in the standalone settings. It 
 works in the IDE, it works in the standalone.
 
 I just tried a quick test app and code signed it with App Wrapper and it 
 worked fine (though the structure of the standalone is different than my 
 earlier example).
 
 I did find a lesson that may help you here:
 http://livecode.byu.edu/standalone/Distribution.php
 
 
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-27 Thread tbodine
Hi Bill.

Have you run into any problems yet with your Mac standalone getting rejected
by Gatekeeper under 10.9.5 or later? 

Apparently the app bundle structure is under new restrictions with Apple's
V2 codesigning rules, Resources should not be located in directories where
the system expects to find signed code.

Also, just curious, are you aiming for the Mac App Store with this or are
you releasing it as a 3rd party developer? 

-- Tom Bodine





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-27 Thread Earthednet-wp
Tom,
I've been developing a large app in LC, while learning LC, and am just now at 
the stage of building a standalone. So, I haven't faced the apple store 
requirements yet. I guess I should spend more time looking at the forums, 
because for now I've concentrated on this list for info, and building the app 
for a January deadline. My plan for now is to finish the app, use 
InstallerMaker to build an installer, and send it to UC Santa Barbara for 
testing in an Earth Disasters course. This replaces an older app I made in 
Director. Then I'm going to add more bells and whistles, and try to get it into 
the Apple store. It would be really great if I could anticipate future problems 
with file structures, etc. ultimately, I will look at iPad deployment.

One of the problems I've run into is the application builder changes the file 
structure and images that I have linked to controls lose their links when a 
standalone is built. But in general, It would be really useful if there was a 
place where sample file structures, application builder oddities, and apple 
store complexities were posted. The Livecode tutorials are laughably brief and 
un-informative, and I've googled to no avail.

Any directions or links would be most welcome.
Best,
Bill

William Prothero
http://es.earthednet.org

 On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:
 
 Hi Bill.
 
 Have you run into any problems yet with your Mac standalone getting rejected
 by Gatekeeper under 10.9.5 or later? 
 
 Apparently the app bundle structure is under new restrictions with Apple's
 V2 codesigning rules, Resources should not be located in directories where
 the system expects to find signed code.
 
 Also, just curious, are you aiming for the Mac App Store with this or are
 you releasing it as a 3rd party developer? 
 
 -- Tom Bodine
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-27 Thread Marty Knapp
Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
signing, not using the App Store though) with success. Sam Rowlands is a 
great guy and has specifically worked with RunRev to make his product 
compatible with Livecode. Version 3 will take of Apple's new version 2 
requirements.


http://www.ohanaware.com/

Marty Knapp

Tom,
I've been developing a large app in LC, while learning LC, and am just now at 
the stage of building a standalone. So, I haven't faced the apple store 
requirements yet. I guess I should spend more time looking at the forums, 
because for now I've concentrated on this list for info, and building the app 
for a January deadline. My plan for now is to finish the app, use 
InstallerMaker to build an installer, and send it to UC Santa Barbara for 
testing in an Earth Disasters course. This replaces an older app I made in 
Director. Then I'm going to add more bells and whistles, and try to get it into 
the Apple store. It would be really great if I could anticipate future problems 
with file structures, etc. ultimately, I will look at iPad deployment.

One of the problems I've run into is the application builder changes the file 
structure and images that I have linked to controls lose their links when a 
standalone is built. But in general, It would be really useful if there was a 
place where sample file structures, application builder oddities, and apple 
store complexities were posted. The Livecode tutorials are laughably brief and 
un-informative, and I've googled to no avail.

Any directions or links would be most welcome.
Best,
Bill

William Prothero
http://es.earthednet.org


On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:

Hi Bill.

Have you run into any problems yet with your Mac standalone getting rejected
by Gatekeeper under 10.9.5 or later?

Apparently the app bundle structure is under new restrictions with Apple's
V2 codesigning rules, Resources should not be located in directories where
the system expects to find signed code.

Also, just curious, are you aiming for the Mac App Store with this or are
you releasing it as a 3rd party developer?

-- Tom Bodine





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-27 Thread William Prothero
Marty:
Thanks! I just downloaded App Wrapper 3 and will be trying it out over the next 
day or so.
Best,
Bill
On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:

 Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
 signing, not using the App Store though) with success. Sam Rowlands is a 
 great guy and has specifically worked with RunRev to make his product 
 compatible with Livecode. Version 3 will take of Apple's new version 2 
 requirements.
 
 http://www.ohanaware.com/
 
 Marty Knapp
 Tom,
 I've been developing a large app in LC, while learning LC, and am just now 
 at the stage of building a standalone. So, I haven't faced the apple store 
 requirements yet. I guess I should spend more time looking at the forums, 
 because for now I've concentrated on this list for info, and building the 
 app for a January deadline. My plan for now is to finish the app, use 
 InstallerMaker to build an installer, and send it to UC Santa Barbara for 
 testing in an Earth Disasters course. This replaces an older app I made in 
 Director. Then I'm going to add more bells and whistles, and try to get it 
 into the Apple store. It would be really great if I could anticipate future 
 problems with file structures, etc. ultimately, I will look at iPad 
 deployment.
 
 One of the problems I've run into is the application builder changes the 
 file structure and images that I have linked to controls lose their links 
 when a standalone is built. But in general, It would be really useful if 
 there was a place where sample file structures, application builder 
 oddities, and apple store complexities were posted. The Livecode tutorials 
 are laughably brief and un-informative, and I've googled to no avail.
 
 Any directions or links would be most welcome.
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:
 
 Hi Bill.
 
 Have you run into any problems yet with your Mac standalone getting rejected
 by Gatekeeper under 10.9.5 or later?
 
 Apparently the app bundle structure is under new restrictions with Apple's
 V2 codesigning rules, Resources should not be located in directories where
 the system expects to find signed code.
 
 Also, just curious, are you aiming for the Mac App Store with this or are
 you releasing it as a 3rd party developer?
 
 -- Tom Bodine
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-27 Thread William Prothero
Marty:
Where do you put the folders that contain external binary and image data? The 
App Wrapper somehow loses the path to them. The standalone that Livecode 
creates finds these files, but App Wrapper somehow  loses the link, even tho 
the files are still present.

So, I’m worrying over how to organize the external files so that the process 
goes smoothly.
Bill

On Nov 27, 2014, at 9:59 AM, Marty Knapp martyknapps...@gmail.com wrote:

 Ohanaware has just released App Wrapper 3 which I'm using (I'm just code 
 signing, not using the App Store though) with success. Sam Rowlands is a 
 great guy and has specifically worked with RunRev to make his product 
 compatible with Livecode. Version 3 will take of Apple's new version 2 
 requirements.
 
 http://www.ohanaware.com/
 
 Marty Knapp
 Tom,
 I've been developing a large app in LC, while learning LC, and am just now 
 at the stage of building a standalone. So, I haven't faced the apple store 
 requirements yet. I guess I should spend more time looking at the forums, 
 because for now I've concentrated on this list for info, and building the 
 app for a January deadline. My plan for now is to finish the app, use 
 InstallerMaker to build an installer, and send it to UC Santa Barbara for 
 testing in an Earth Disasters course. This replaces an older app I made in 
 Director. Then I'm going to add more bells and whistles, and try to get it 
 into the Apple store. It would be really great if I could anticipate future 
 problems with file structures, etc. ultimately, I will look at iPad 
 deployment.
 
 One of the problems I've run into is the application builder changes the 
 file structure and images that I have linked to controls lose their links 
 when a standalone is built. But in general, It would be really useful if 
 there was a place where sample file structures, application builder 
 oddities, and apple store complexities were posted. The Livecode tutorials 
 are laughably brief and un-informative, and I've googled to no avail.
 
 Any directions or links would be most welcome.
 Best,
 Bill
 
 William Prothero
 http://es.earthednet.org
 
 On Nov 27, 2014, at 8:45 AM, tbodine bod...@bodinetraininggames.com wrote:
 
 Hi Bill.
 
 Have you run into any problems yet with your Mac standalone getting rejected
 by Gatekeeper under 10.9.5 or later?
 
 Apparently the app bundle structure is under new restrictions with Apple's
 V2 codesigning rules, Resources should not be located in directories where
 the system expects to find signed code.
 
 Also, just curious, are you aiming for the Mac App Store with this or are
 you releasing it as a 3rd party developer?
 
 -- Tom Bodine
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/External-files-in-Standalones-tp4686277p4686304.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: External files in Standalones

2014-11-26 Thread William Prothero
I think I’ve got it. I check whether the app is a standalone using the 
“environment” property, then adjusting file paths accordingly.
Bill

On Nov 26, 2014, at 3:03 PM, William Prothero proth...@earthednet.org wrote:

 Folks:
 I’m building an app that reads a number of external data files. I’ve been 
 trying to create a standalone and have a number of problems with the external 
 files.
 
 In my development area, I have a folder:
 
 App folder which contains the .livecode app and data files. It looks like 
 this:
 
 myApp  
   myApp.livecode
   files
   images and icons
 
 When I build the standAlone, I get a package with:
 
 Contents
   info.plist
   MacOS
  Externals
  files
  data
  dataFolder1—This is empty of files
  dataFolder2—This is empty of files
  dataFolder3—This is empty of files 
 moreData  —empty, no data
 etc
  images and icons—nothing in this folder
  myApp
  PkgInfo
   Resources
   _MacOS—This has all of my data files, with correct contents
  language Folders  —I don’t need these
 
 My question is:
 Should I build the path to these files starting with “the effective path of 
 this stack”? It would be different, depending on whether I had a standalone. 
 Is there a specialFolderPath function that will give me the path to the 
 original data?
 
 Alternatively, I could create these folders in my development environment and 
 then there would only be a single set of paths.
 
 What are the “Best practices” regarding this? Also, do I need to include all 
 these superfluous, empty language folders?
 
 Best,
 Bill
 
 William A. Prothero
 http://es.earthednet.org/
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode