'Stacks' pane of the Standalone App Settings is dimmed

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fjord
Posts: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

'Stacks' pane of the Standalone App Settings is dimmed

Post by Fjord » Sun Jan 28, 2024 12:29 pm

Hi,
I'm trying to build a standalone for a stack A. In development mode, stack A uses stack B, C, D. C and D are just faceless, scripts stacks (not script-only stacks). Works fine.
When I try to build a standalone for B, the 'Stacks' pane of the Standalone App Settings mentions B, C and D.
But when I try to build the standalone for stack A, the 'Stacks' pane of the Standalone App Settings of stack A has its panes dimmed, so I can't tell it to include B,C and D. None of these stacks are locked in the Finder.
What could be the matter? (MacOS Big Sur 11.7.10 - LC 9.6.10)
--
François

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

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Post by Klaus » Sun Jan 28, 2024 12:41 pm

Bonjour François,

no idea what the matter is, but try to add you stacks via the "Add file..." tab in the STAB.
This way your runtime should find them with:

Code: Select all

...
start using script of stack (specialfolderpath("resources") & "/name_of_stackB.livecode")
## etc...
...
Best

Klaus

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

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Post by Klaus » Sun Jan 28, 2024 1:30 pm

Is your standalone meant for iOS, Android or HTML5?
In that case this passage from the "User guide" will explain it:
Note: Adding additional stacks to the stacks tab is not supported for iOS, Android or HTML5 standalones.
Additional stacks may be included via the Copy Files tab.

Fjord
Posts: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Post by Fjord » Thu Feb 01, 2024 1:55 pm

@Klaus
via the "Add file..." tab in the STAB
I don't understand: I can't find an "Add file..." tab; in the what? (don't know who I should stab !)
And what's the code below going to do? I already have this kind of code in my scripts but I don't see how it's supposed to add stack B to a runtime…

Code: Select all

start using script of stack (specialfolderpath("resources") & "/name_of_stackB.livecode")
:?:
--
François

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

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Post by Klaus » Thu Feb 01, 2024 2:28 pm

Bonjour François,

excuse-moi, I mean the "Copy files" tab in the "Standalone Application Settings..." in the "File" menu.
STAB stands for "Standalone Application Builder".


Best

Klaus

Fjord
Posts: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

Re: 'Stacks' pane of the Standalone App Settings is dimmed

Post by Fjord » Fri Feb 02, 2024 9:05 pm

All right, Thanks… (still stuck with my problem but I made a fresh copy of both my stacks and started it all again, and it works…)
--
François

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”