using the macdeployqt tool for create the .dmg file shows error
-
I want to deploy my mac app, so I follow the document:
http://doc.qt.io/qt-5/macos-deployment.html#macdeploywhen I use the command line
'macdeployqt FUEditor.app -dmg -no-plugins -verbose=3' in my .app file directory , it shows the error:Log: Adding framework:
Log: Framework name "libavutil.56.dylib"
Framework directory "/usr/local/Cellar/ffmpeg/4.1/lib/"
Framework path "/usr/local/Cellar/ffmpeg/4.1/lib/libavutil.56.dylib"
Binary directory "/usr/local/Cellar/ffmpeg/4.1/lib/"
Binary name "libavutil.56.dylib"
Binary path "/usr/local/Cellar/ffmpeg/4.1/lib/libavutil.56.dylib"
Version ""
Install name "/usr/local/opt/ffmpeg/lib/libavutil.56.dylib"
Deployed install name "@executable_path/../Frameworks/libavutil.56.dylib"
Source file Path "/usr/local/Cellar/ffmpeg/4.1/lib/libavutil.56.dylib"
Framework Destination Directory (relative to bundle) "Contents/Frameworks/"
Binary Destination Directory (relative to bundle) "Contents/Frameworks/"Log: Using install_name_tool:
Log: in "FUEditor.app/Contents/Frameworks//libswresample.3.dylib"
Log: change reference "/usr/local/opt/ffmpeg/lib/libavutil.56.dylib"
Log: to "@executable_path/../Frameworks/libavutil.56.dylib"
Log: Using install_name_tool:
Log: in "FUEditor.app/Contents/Frameworks//libswresample.3.dylib"
Log: change reference "/usr/local/Cellar/ffmpeg/4.1/lib/libavutil.56.22.100.dylib"
Log: to "@executable_path/../Frameworks/libavutil.56.dylib"
Log: Using strip:
Log: stripped "/Users/lee/.Trash/Product/FUEditor.app/Contents/MacOS/FUEditor"
Log:
Log: Disk image already exists, skipping .dmg creation for "FUEditor.dmg"
Log: Image will use "HFS+"
ERROR: Bundle creation error: "hdiutil: create failed - File exists\n"after that, I don't see the .dmg file in the directory which my .app file belongs to, I don't know why, is there a simple tutorial for using the macdeployqt tool, thanks a lot!
-
Hi,
Looks like it finds a .dmg file. Do you have one ? If so, try deleting it before running macdeployqt again.