Building LabVIEW Build Specifications for Apple Silicon and Intel Macs

Updated Aug 29, 2023

Environment

Software

  • LabVIEW

This document will inform you how you can build universal applications/shared libraries/build specifications that will run on both Apple silicon and Intel Macs.

LabVIEW 2023 Q3 for macOS is the only version of LabVIEW with official support for Apple silicon. See LabVIEW Support for Apple Silicon (M1 and M2 Macs)

By default, build specifications created under an Apple silicon target will only run on Apple silicon targets and not on Intel Macs.
Similarly, build specifications created under an Intel target will run on Intel Macs. Intel build specifications can run on Apple silicon Macs through Rosetta 2.

To create an application/shared library/build specification that can run on both Intel Macs and natively on Apple silicon
  1. Building the app for a Apple silicon target
  2. Building the app for an Intel Mac
  3. Manually copy the AppContents_arm64.llb from the Resources folder of the Apple Silicon built app/shared library to the same folder in the Intel version
    1. Alternatively, you could copy AppContents_x64.llb from the Intel version to the Apple Silicon version, as long as you end up with a Resources folder with .llbs from the build on both architectures.