Thanks Panos. I'd done all three things you listed before trying to build. I tried the Location preference and when I thought that didn't work I used the terminal command too. However, I didn't do those steps after updating to Xcode 12.5.1 and Big Sur a couple of days ago so my guess is that I was accidentally using the command line tools from Xcode 11.3.

So I got no script errors when building with 12.5.1, but with 12.5 when I did remember to reset Xcode's default tools I started getting script errors from LC.

The crash for the tester is repeatable and we have a crash log, but it might be moot if I was building with the wrong command line tools, right?

I'll look today to see what's going on with line 390 in the SB script. The error happens almost immediately when the build begins.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 16, 2021 2:26:04 AM panagiotis m via use-livecode <use-livecode@lists.runrev.com> wrote:

Hello Jacque,

It shouldn't make any difference using Xcode 12.5 vs Xcode 12.5.1.

In any case, when switching Xcode versions, you have to make sure:

1. The command line tools of the new version are installed as well (DONE)
2. You have launched the new Xcode at least once
3. You have chosen to use the version of the command line tools that
matches said Xcode version:

- Open Xcode
- Go to Xcode -> Preferences -> Locations
- In the Command line tools dropdown, choose "12.5" in this case

Step 3 can be done from the Terminal too, if you prefer this method:

sudo xcode-select - s /path/to/Xcode12.5.app

Regarding the crash on the iOS 12.5.5 device, does it happen reliably? I
suggest filing a bug report and providing a crash log.

Kind regards,
Panos
--

On Sat, 16 Oct 2021 at 06:12, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

I built an app for iOS using XCode 12.5.1. A tester crashes on launch when
using it with iOS
12.5.5. Testers on iOS 14 and 15 do fine. LC says to use 12.5 so I
installed that and its
command line tools, set XCode prefs to use 12.5, removed 12.5.1 from LC
Mobile prefs and
pointed it to 12.5.

The standalone won't build, I keep getting a series of script errors. The
topmost one is 91
("can't find stack") and below that are a number of errors pointing to a
repeat loop somewhere.
Since I can't post images here, here are the error numbers without the
line info, but they are
all at line 390:

91
676
587
490

What else do I need to do to get LC to work with 12.5. I didn't have to
anything for 12.5.1
except to point LC to it.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.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

Reply via email to