Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.4.2
-
None
Description
I opened an qt example "application"
add the following lines in CMake to create an universal architecture app
//代码占位符 set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "Architectures supported" FORCE)
then I use macdeployqt to package it, I received the following error:
//代码占位符 ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: \"-delete_rpath /Users/xupeng/Qt/6.4.2/macos/lib\" specified more than once\nUsage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input\n" ERROR: ""