TMS Start Setup does not works for macos64smart

I’m trying to use TMSSmartSetup to install my TMS FNC Core, Chart and FlexCell. Everything seems to be working fine except for macOS64arm. What’s going wrong and how can I fix it? The log file is attached.

Thanks in advance,

Arjan

PS. my logfile

[13:28:04] === Build Summary ===
[13:28:04] - TMS FlexCel Studio for VCL and FMX 7.26
[13:28:04] - Delphi 13
[13:28:04] - win32intel -> OK.
[13:28:04] - win64intel -> OK.
[13:28:04] - macos64intel -> OK.
[13:28:04] - iosdevice64 -> OK.
[13:28:04] - iossimulator64arm -> OK.
[13:28:04] - winarm64ec -> OK.
[13:28:04] - macos64arm -> FAILED.
[13:28:04] - TMS FNC Core 4.2.3.2
[13:28:04] - Delphi 13
[13:28:04] - win32intel -> OK.
[13:28:04] - win64intel -> OK.
[13:28:04] - macos64intel -> OK.
[13:28:04] - iosdevice64 -> OK.
[13:28:04] - iossimulator64arm -> OK.
[13:28:04] - winarm64ec -> OK.
[13:28:04] - macos64arm -> FAILED.
[13:28:04] - TMS FNC Chart 4.0.0.1
[13:28:04] - Delphi 13
[13:28:04] - win32intel -> OK.
[13:28:04] - win64intel -> OK.
[13:28:04] - macos64intel -> OK.
[13:28:04] - iosdevice64 -> OK.
[13:28:04] - iossimulator64arm -> OK.
[13:28:04] - winarm64ec -> OK.
[13:28:04] - macos64arm -> FAILED.
[13:28:04]
[13:28:04] Build finished. Elapsed time: 00:14:01.5922961

There were errors. If you need to contact support, please attach the logs at "C:\Users\arjan\AppData\Local\TMS Setup\Logs\logs.zip".

C:\Users\arjan\AppData\Local\TMS Setup>

Hi,
This is likely some error in how the SDKs in macOS are configured in your machine. Are you able to compile and deploy an empty app to macOS?

If your macOS install is fine and you can deploy to it, then I would need to see the full log at C:\Users\arjan\AppData\Local\TMS Setup\Logs\logs.zip to know exactly why it is failing. If you don't want to post it here, you can mail it to adrian@tmssoftware.com

Hi Adrian,

I use parallels on my MacBook Pro with MacOS 26.5. Have installed the lates SDK and everything runs fine. I mean, I can compile it for Intel and for the Apple chips. However, if I use

FMX.TMSFNCTypes, FMX.TMSFNCUtils, FMX.TMSFNCGraphics, FMX.TMSFNCGraphicsTypes,
FMX.TMSFNCChart,

it gives an error if I compile it for MacOS ARM 64-bit. Without the FMX.TMS stuff it compiles fine.

I will send you the log-file.

Arjan

logs.zip (200.3 KB)

It is strange: The error you are getting is:

error E2597: ld: file is universal (x86_64) but does not contain the arm64 architecture:

And it refers to the file:

C:\Mac\Home\Documents\Embarcadero\Studio\SDKs\MacOSX26.4.sdk\System\Library\Frameworks/CoreServices.framework/Versions\A\CoreServices

I wonder what architectures you see if, in the mac, type:

lipo -info /System/Library/CoreServices/accessorysensormgrd

This is what I see here:

Are XCode and Build Tools up to date in the mac? Maybe you can try removing the SDK (in delphi, tools->Options->Deployment->SDK Manager), and adding it again?

exactly the same:
Last login: Fri Apr 10 20:25:20 on ttys001
(base) arjan@mac-1 ~ % lipo -info /System/Library/CoreServices/accessorysensormgrd
Architectures in the fat file: /System/Library/CoreServices/accessorysensormgrd are: x86_64 arm64e
(base) arjan@mac-1 ~ %

I will deinstall and reinstall the SDK

Arjan

Hi Adrian,

I removed the SDK and reinstalled it. Unfortunately it didn’t help. Same error

Arjan

Ok, This is getting strange. I setup a new VM to test it (same as you, in Parallels, running in a macOS arm machine). And so, to download the SDKs, I tried creating a new empty app, setting it to arm64 target, and running it. (no smartsetup or tms stuff here, only a clean VM with delphi 13.1 and an empty multiplat app)

And I got the same error as you:

Can you confirm that you can ship any macos64ARM app with the 26.4 sdk? I tried in 2 machines, both failed with the same error.

To me it looks like 26.4 broke something, and Delphi is just not working with it.
And so it googled the error, and isn't it wonderful when google links to this same forum :) ? FNC components don't compile for MacOS anymore (Rad 13.1) - #8 by Steve_JORDI

From that thread:

Looks like compiling an empty FMX Form to MacOS ARM64bit with XCode 26.4 doesn’t work (even without any TMS component). It’s probably the reason why TMS doesn’t install for ARM

and

Actually, from other forums, it’s XCode 26.4 that breaks Delphi and is not compatible.

So probably until embarcadero fixes it, the best bet is to downgrade to xcode 26.3

Yes, 26.4 doesn’t work with MacOS 64 ARM.
Not related to TMS.
But after downgrading to XCode 26.3 and SDK 26.2, everything’s fine again.
Some people say that XCode 26.4 is fine too as long as you use SDK 26.2, but I didn’t try that.
My guess is too that Embarcadero has to work on finding a fix for this.

I agree. I have the same findings as Steve Jordi: 26.3 works with MacOS 64 ARM, but does not compile TMS-FNC files.

As I understood it, Stev could compile the FNC pack after downgrading. There was an unrelated issue with windows on arm, but he doesn't mention FNC pack not compiling in mac arm. I could compile with 26.2 here too. I think there is something different going on, the error you are getting in the smartsetup log (the file is universal... thing) is because of SDK 26.4, and happens to every app not just tms components.

Also in the logs you sent, it is clearly trying to use 26.4 SDK. If you look at the commands, they all try to link with MacOSX26.4.sdk:

-syslibroot C:\Mac\Home\Documents\Embarcadero\Studio\SDKs\MacOSX26.4.sdk -F C:\Mac\Home\Documents\Embarcadero\Studio\SDKs\MacOSX26.4.sdk\System\Library\Frameworks -F C:\Mac\Home\Documents\Embarcadero\Studio\SDKs\MacOSX26.4.sdk\System\Library\PrivateFrameworks

If you are still having the issue with SDK 26.2, can you attach the new log files? As said, here FNC pack compiles correctly with 26.2.