我使用 productbuild 归档我的应用程序以提交到应用商店。我在终端中运行这个命令:
/Developer/usr/bin/productbuild --component /Ahmed/QtWorkMac/AlMosaly2-build-desktop-Desktop_Qt_4_8_0_for_GCC__Qt_SDK__Release/AlMosaly2.app /Applications /Ahmed --sign "3rd Party Mac Developer Installer: Nourayn Media Group"
但发生错误是:
productbuild: error: Cannot write product to "/Ahmed". (The operation couldn’t be completed. Bad file descriptor)