Macos 存档应用程序时发生mac app store productbuild错误

Macos 存档应用程序时发生mac app store productbuild错误,macos,app-store,productbuild,Macos,App Store,Productbuild,我使用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 Installe

我使用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)
尝试将
--符号
放在
--组件
之前。然后,在应用程序包的路径之后,您应该给出保存包的路径。你有
/Applications/Ahmed
,这不是它所期望的