cocos 命令 导出 ipa 报错

引擎 3.16
xcode版本 9.1

正在执行:‘xcodebuild -project /Users/GJMAC-3/Documents/gong2/gong2client/trunk/gong2/frameworks/runtime-src/proj.ios_mac/gong2.xcodeproj -configuration Release -target “mingling_hd” -sdk iphoneos CONFIGURATION_BUILD_DIR="/Users/GJMAC-3/Documents/gong2/gong2client/trunk/gong2/publish/ios" CODE_SIGN_IDENTITY=“iPhone Distribution: Suzhou GameJelly Information Technology Co., Ltd. (65HQZVLRR5)” -archivePath /Users/GJMAC-3/Documents/gong2/gong2client/trunk/gong2/publish/ios/mingling_hd.xcarchive archive’

xcodebuild: error: The flag -scheme is required when specifying -archivePath but not -exportArchive.

这个有人遇到吗?

自己搞错了,原来xcode9+ 需要scheme 参数