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: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

Trying to build a MacOS standalone: need Xcode?

Post by Fjord » Sun Dec 19, 2021 12:14 am

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 9:05 am

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: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

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

Post by Fjord » Sun Dec 19, 2021 9:32 am

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 9:38 am

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 9:46 am

Avez-vous un autre computer pour essayer cela?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 10:42 am


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

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

Post by Fjord » Sun Dec 19, 2021 1:33 pm

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: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

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

Post by Fjord » Sun Dec 19, 2021 1:36 pm

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 1:44 pm

Time to delete your LC preferences file, I think.

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

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

Post by Fjord » Sun Dec 19, 2021 2:27 pm

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: 132
Joined: Sat Dec 06, 2008 6:18 pm
Location: France

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

Post by Fjord » Sun Dec 19, 2021 3:12 pm

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 3:30 pm

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: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

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

Post by jacque » Sun Dec 19, 2021 6:43 pm

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: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

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

Post by richmond62 » Sun Dec 19, 2021 7:27 pm

a stack called LiveCode Error Lookup
Thank you very much indeed. :D

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

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

Post by Fjord » Sun Dec 19, 2021 9:48 pm

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

Return to “Mac OS”