xTIMEcomposer Big Sur macOS 11

Technical questions regarding the XTC tools and programming with XMOS.
Redeye
XCore Addict
Posts: 129
Joined: Wed Aug 03, 2011 9:13 am

xTIMEcomposer Big Sur macOS 11

Post by Redeye »

Has anybody tried xTIMEcomposer on macOS 11 yet? Presumably we still need to jump through all the hoops to get Java installed and give the security permissions to let the unsigned binaries run, but does it otherwise work?


User avatar
aclassifier
Respected Member
Posts: 445
Joined: Wed Apr 25, 2012 8:52 pm

Post by aclassifier »

I have failed miserably, both on Catalina(*) and Big Sur (I have two living machines with them, so I can test both). Even after downloading and installing the ModifiedJava6Install.pkg from [1].

I am not the best at this, but I have tried so much.

This is painful to the users, it puts XMOS in a rather dim light rather depressing. I wish I didn't have to live with this.

To my rescue, the machine I use the most I still have High Sierra on. Apple update it, but still. On that machine, only xflash has to run from Terminal...

I only hope that they would release an xTIMEcomposer that runs on Catalina and Big Sur (which I guess are more equal than Catalina and High Sierra).

(*) I have not done "the security permissions to let the unsigned binaries run" for Catalina [2], but for Big Sur I'm not certain that I got as far as that. Big Sur says that "JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/libserver.dylib JavaVM FATAL: Failed to load the jvm library." even if it looked like I was able to install the ModifiedJava6Install.pkg (it failed once, but when I tried again it said successful. It may have been to and so.)

If anybody has a hold-in-hand recipe better than [2] for Catalina, I'd be happy to see it here! Like, for which executables?

[1] https://sharkfinesse.com/mac-os-catalin ... pendencies
[2] https://www.xmos.ai/file/running-xtimec ... -catalina/
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
User avatar
aclassifier
Respected Member
Posts: 445
Joined: Wed Apr 25, 2012 8:52 pm

Post by aclassifier »

Is it these files that would need to be allowed through the security check? These, more or less?

Code: Select all

/Applications/XMOS_xTIMEcomposer_Community_14.4.1/bin
waf
xcc
xflash_image_check
xmap
xntools
xta
xaddr2line
xfindlib
xgdb
xmosar
xobjdump
xta.jar
xas
xfindlib.jar
xgprof
xmosupdate
xrun
xburn
xflash
xmake
xmosupdate.jar
xsim
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
savoca
Newbie
Posts: 1
Joined: Mon Dec 12, 2022 3:00 am

Post by savoca »

xTIMEcomposer 14.4.1 seems to be working for me on x86_64 macOS 12.6.1. In addition to everything mentioned above, i did...

cd /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib
sudo ln -sf /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/* .

Added
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java</string>
towards the end of: /Applications/XMOS_xTIMEcomposer_Community_14.4.1/xtimecomposer/Contents/Info.plist there are comments explaining where to place it

Added
-vm
/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
To the very end of: /Applications/XMOS_xTIMEcomposer_Community_14.4.1/xtimecomposer/Contents/MacOS/xtimecomposer.ini

Not sure if the last two were required.
User avatar
aclassifier
Respected Member
Posts: 445
Joined: Wed Apr 25, 2012 8:52 pm

Post by aclassifier »

savoca, welcome to the forum!

Thank you for the magic spelling! I will certainly do this! Although it may be 2023 before I will get to it!

With my knowledge of Unix/Linux/macOS then getting a rationale for each of your commands would have been really nice!

Øyvind
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/
User avatar
aclassifier
Respected Member
Posts: 445
Joined: Wed Apr 25, 2012 8:52 pm

Post by aclassifier »

I guess it's ok to refer to this post here as well: xTimeComposer 14 not compatible Mac osx Ventura.
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/