Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. macdeployqt fails: truncated or malformed object
Forum Update on Monday, May 27th 2025

macdeployqt fails: truncated or malformed object

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 422 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mescalinum
    wrote on last edited by mescalinum
    #1

    Trying to run macdeployqt after the build of my app but it fails.

    I initially had Xcode 11, but I read the latest MacOSX SDK supported was 10.14, so I removed Xcode, and installed Xcode 10.3, but still getting the same error.
    I was using qt from homebrew. I checked again with the Qt 5.12.5 binary release from www.qt.io, but getting the same error.

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Users/me/Dev/Qt/5.12.5/clang_64/lib -o MyNewApp.app/Contents/MacOS/MyNewApp release/main.o release/simLib.o   -F/Users/me/Dev/Qt/5.12.5/clang_64/lib -framework QtCore -framework DiskArbitration -framework IOKit
    macdeployqt MyNewApp.app -always-overwrite
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore': truncated or malformed object (load command 18 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore': truncated or malformed object (load command 18 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
    

    Running on macOS 10.14.6, Qt 5.12.5, Xcode 10.3, Xcode Command Line Tools macOS 10.14 for Xcode 10.3

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump -version:
    Apple LLVM version 10.0.1 (clang-1001.0.46.4)

    A 1 Reply Last reply
    1
    • M mescalinum

      Trying to run macdeployqt after the build of my app but it fails.

      I initially had Xcode 11, but I read the latest MacOSX SDK supported was 10.14, so I removed Xcode, and installed Xcode 10.3, but still getting the same error.
      I was using qt from homebrew. I checked again with the Qt 5.12.5 binary release from www.qt.io, but getting the same error.

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/Users/me/Dev/Qt/5.12.5/clang_64/lib -o MyNewApp.app/Contents/MacOS/MyNewApp release/main.o release/simLib.o   -F/Users/me/Dev/Qt/5.12.5/clang_64/lib -framework QtCore -framework DiskArbitration -framework IOKit
      macdeployqt MyNewApp.app -always-overwrite
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore': truncated or malformed object (load command 18 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore': truncated or malformed object (load command 18 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/platforms/libqcocoa.dylib': truncated or malformed object (load command 13 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/styles/libqmacstyle.dylib': truncated or malformed object (load command 21 LC_LOAD_DYLIB library name extends past the end of the load command)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqgif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqicns.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqico.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqjpeg.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacheif.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqmacjp2.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtga.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqtiff.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwbmp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/imageformats/libqwebp.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      ERROR: "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'MyNewApp.app/Contents/PlugIns/iconengines/libqsvgicon.dylib': truncated or malformed object (no LC_ID_DYLIB load command in dynamic library filetype)\n"
      

      Running on macOS 10.14.6, Qt 5.12.5, Xcode 10.3, Xcode Command Line Tools macOS 10.14 for Xcode 10.3

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump -version:
      Apple LLVM version 10.0.1 (clang-1001.0.46.4)

      A Offline
      A Offline
      Alex Eroma
      wrote on last edited by
      #2

      Hi, I've managed to get rid of this error using -no-strip option for macdeployqt :
      macdeployqt MyNewApp.app -no-strip -always-overwrite

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved