App Store Connect access for “ ” is required. Ensure that your Apple ID account usernames and passwords are correct in the Accounts preference pane. Please try again, and if issue persists file a bug report at "https://feedbackassistant.apple.com."
這個(gè)原因是因?yàn)閤code的開(kāi)發(fā)者賬號(hào)登錄失效了,在xcode中重新登錄下開(kāi)發(fā)者賬號(hào),就可以正常打包了