求助啊,在mac上打包dmg,结果出现了文件无法拷贝的问题,谁遇到过,应该比较容易解决
打包命令和控制台显示如下:
goldliontekiMacBook-Pro:build-EncryptPNG-Desktop_Qt_5_1_0_clang_64bit-Release goldlion$ /Applications/Qt5.1.0/5.1.0/clang_64/bin/macdeployqt EncryptPNG.app -verbose=1
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/platforms/libqcocoa.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/platforms/libqcocoa.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/printsupport/libcocoaprintersupport.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/accessible/libqtaccessiblewidgets.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqgif.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqgif.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqico.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqico.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqjpeg.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqjpeg.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqmng.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqmng.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqtga.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqtga.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqtiff.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqtiff.dylib"
ERROR: file copy failed from "/Applications/Qt5.1.0/5.1.0/clang_64/plugins/imageformats/libqwbmp.dylib"
ERROR: to "EncryptPNG.app/Contents/PlugIns/imageformats/libqwbmp.dylib"
WARNING:
WARNING: "EncryptPNG.app/Contents/Resources/qt.conf" already exists, will not overwrite.
WARNING: To make sure the plugins are loaded from the correct location,
WARNING: please make sure qt.conf contains the following lines:
WARNING: [Paths]
WARNING: Plugins = PlugIns
一开始dmg无法打开。
后来直接拷贝app过去给另外一台电脑用,结果显示如下错误内容
Process: EncryptPNG [723]
Path: /Users/USER/Desktop/EncryptPNG.app/Contents/MacOS/EncryptPNG
Identifier: com.yourcompany.EncryptPNG
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [144]
User ID: 501
Date/Time: 2013-09-05 23:05:18.069 -0700
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 824840 sec
Crashes Since Last Report: 46
Per-App Crashes Since Last Report: 7
Anonymous UUID: 4EA1D068-76BA-5251-7EFC-9E1033FF0660
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /Applications/Qt5.1.0/*/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /Users/USER/Desktop/EncryptPNG.app/Contents/MacOS/EncryptPNG
Reason: image not found
Binary Images:
0x100000000 - 0x10002efff +com.yourcompany.EncryptPNG (???) <3F94F7BF-8E10-3B15-A920-15ECE114BA5A> /Users/USER/Desktop/EncryptPNG.app/Contents/MacOS/EncryptPNG
0x100035000 - 0x100173fcf +libcrypto.1.0.0.dylib (0) <DFF00580-87A6-388A-9115-45DD8B63CDAC> /Users/USER/Desktop/EncryptPNG.app/Contents/Frameworks/libcrypto.1.0.0.dylib
0x1001d6000 - 0x10021cff7 +libssl.1.0.0.dylib (0) <274AF799-AB68-316F-8018-92A9FB9D725C> /Users/USER/Desktop/EncryptPNG.app/Contents/Frameworks/libssl.1.0.0.dylib
0x7fff643aa000 - 0x7fff643de93f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
Model: VMware7,1, BootROM VMW71.00V.0.B64.1206270404, 4 processors, 3.43 GHz, 4 GB, SMC 1.16f8
Graphics: VMware SVGA II, VMware SVGA II, PCI, 128 MB
Memory Module: RAM slot #0/RAM slot #0, 4 GB, DRAM, 0 MHz, VMware Virtual RAM, VMW-4096MB
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: VMware Virtual IDE CDROM Drive, 15.1 MB
SCSI Device: SCSI Target Device @ 8
USB Device: USB Flash Disk, 0x090c (Silicon Motion, Inc. - Taiwan), 0x1000, 0x02100000 / 2
USB Device: VMware Virtual USB Mouse, 0x0e0f (VMWare, Inc.), 0x0003, 0x11100000 / 3
USB Device: VMware Virtual USB Hub, 0x0e0f (VMWare, Inc.), 0x0002, 0x11200000 / 2
USB Device: VMware Virtual USB Keyboard, apple_vendor_id, 0x020b, 0x11210000 / 4