VMware Cloud Community
RoseWahlin
Contributor
Contributor

Error "/usr/lib/libpreload.dylib: mach-o, but wrong architecture" on macOS 10.15.6

One of our customers who is using an older version of our product has contacted us to let us know it is failing to install on macOS 10.15.6, with this error:

<installername>.app/Contents/MacOS/installbuilder.sh

dyld: could not load inserted library '/usr/lib/libpreload.dylib' because no suitable image found.

Did find:  /usr/lib/libpreload.dylib: mach-o, but wrong architecture  /usr/lib/libpreload.dylib: stat() failed with errno=1/Volumes/<installer dmg>/<installername>.app/Contents/MacOS/installbuilder.sh: line 18: 43039 Abort trap: 6 "`dirname \"${0}\"`/$executable" "$@"

This is with InstallBuilder version 17.4.0.

Is there any workaround for this?

Thank you,

Rose

Labels (1)
Reply
0 Kudos
1 Reply
michiel_dhont
Enthusiast
Enthusiast

Hi Rose,

Since OS X 10.14, 32bit applications are no longer supported. Support for 64 bit installers has been added in version 18.4.0 . You would need to rebuild the installer with that or a later version of InstallBuilder. You can find more information regarding building 64 bit installers in the following section of our userguide:

https://clients.bitrock.com/installbuilder/docs/installbuilder-userguide.html#_creating_64bit_instal...

Regards,

Michiel

Reply
0 Kudos