08-01-2021, 02:12 PM
Hi Mark - in way of update, i did get this to work just fine. The destination (Documents vs Application Support) wasn't the issue.
The problem was that i had code accessing LiveCloud from both with the stapled splash stack (doing some initialisation) and within the the 'mainstack' which resides in a writeable location (Documents in this case). I thought that would be fine as all the initialiseCanelaDB and actual code for liveCloud resided in the 'mainstack' and i was just calling functions from there after 'start using' the mainstack from the splash stack. Seems that doesn't work for stapled apps though.
Once i moved all LiveCloud related code out of the stapled splash stack/standalone, all errors disappeared...
Many thanks
Stam
The problem was that i had code accessing LiveCloud from both with the stapled splash stack (doing some initialisation) and within the the 'mainstack' which resides in a writeable location (Documents in this case). I thought that would be fine as all the initialiseCanelaDB and actual code for liveCloud resided in the 'mainstack' and i was just calling functions from there after 'start using' the mainstack from the splash stack. Seems that doesn't work for stapled apps though.
Once i moved all LiveCloud related code out of the stapled splash stack/standalone, all errors disappeared...
Many thanks
Stam