Trying to build a MacOS standalone: need Xcode?

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

Hi,
This is Community Edition 9-6-2 - Mac OS Big Sur 11-6-1
I'm trying to build a standalone for MacOS for a simple stack. By 'simple' I mean it does nothing fancy but collate and sort data from the internet. I try to follow whatever [outdated ?] doc I can find in lessons.livecode.com.
But then I get the following:
Image
which alludes to Xcode again and again.
OTOH, I don't seem to see any reference to Xcode to build a standalone from my Mac, target my same Mac? Do I *have to* install Xcode? I've un-installed it months ago because I've no use for something that big.
Thanks for your help!
--
François
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

But then I get the following:
Oddly enough that is followed by a blank space.

However, I can say that I have been building Mac standalones on Linux and on Mac for at least 17 years
(before that I was only deploying RR/LC on Macs), and have NEVER required anything beyond the RR/LC thing itself.
Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

I can say that I have been building Mac standalones on Linux and on Mac for at least 17 years
(before that I was only deploying RR/LC on Macs), and have NEVER required anything beyond the RR/LC thing itself.
That's what I understood from the docs …
Oddly enough that is followed by a blank space.
Sorry :( Tried to insert the image of a long and complicated error message; looks OK here.
I'll try again:
Capture.png
--
François
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

Possiblement vous les avez peut-être sélectionnés par erreur:
-
prob1.png
-
Mais, vous devez sélectionner ceci uniquement:
-
prob2.png
-
Mais, je ne peux pas dupliquer ce message du système.

Нямах единствен чанс за дупликация тоз проблем.

I couldnae get that message, aiblins as I didnae jalouse qhat's ahint it.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

Avez-vous un autre computer pour essayer cela?
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

Mmmmm…… do you mean that 9.6.2 might not be able to generate a standalone, but 9.6.3 suddenly is? Sounds a bit far fetched, don't you think?
I just tried to create a more-than-simple stack (1 field, 1 bg, 2 cds, you get the idea) and got the same message when I tried to generate a standalone.
I'll rather try to re-install 9.6.2 anew, and keep posting here.
--
François
Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

BTW, that very-simple-stack was created with 'New Stack' -> 'Default Size' (400x400 size); after trying to build a standalone it became 754x371. Normal?
--
François
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

Time to delete your LC preferences file, I think.
Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

Tried with 9.6.0., worked like a charm; and compiling in half the time.
Then tried again with 9.6.2. same problem as before.
Where can I find the prefs? I can't seem to find anything called 'Livecode' in
'iBook'>'Big Sur'>'Library' (it's Bibliothèque in French)>Preferences
--
François
Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

All right, still with 9.6.0., tried to make a splash screen, following
https://lessons.livecode.com/m/4071/l/1 ... pplication
and
https://lessons.livecode.com/m/4603/l/6 ... n-settings
(for the n-th time in my life :x ); I got this (there more below but I liked the 'There was an error…' when there are a thousand errors).What am I to do with these error codes?
Attachments
Capture2.png
--
François
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

Where can I find the prefs? I can't seem to find anything called 'Livecode' in
'iBook'>'Big Sur'>'Library' (it's Bibliothèque in French)>Preferences
Je sais. 8)

/Users/FredFlintstone/Bibliothèque/Preferences/RunRev/livecode7.rev
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Trying to build a MacOS standalone: need Xcode?

Post by jacque »

The top line is the final error and the most meaningful one. The lines underneath are the errors that generated the final one; in other words, the path that led up to the fatal error. Usually looking up the top error is enough.

Standalones use raw LC error codes, which the IDE interprets for you. Go to Sample Stacks in the toolbar and search for a stack called LiveCode Error Lookup or download it from https://livecodeshare.runrev.com/stack/ ... ror-Lookup/ . That will tell you what the numbers mean. The first number is the error code. The second and third numbers in the line are the line number in the script and the character offset in the line where the error occurred.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Trying to build a MacOS standalone: need Xcode?

Post by richmond62 »

a stack called LiveCode Error Lookup
Thank you very much indeed. :D
Fjord
Posts: 146
Joined: Sat Dec 06, 2008 6:18 pm

Re: Trying to build a MacOS standalone: need Xcode?

Post by Fjord »

Is there a good reason why my stack, which is 470x560, gets elongated when I try to generate the standalone? it is now 721x371…
--
François
Post Reply