這是我第一個提交到應用程序商店的應用程序,我根據蘋果指南執行了所有操作,但是當我最終嘗試使用分發配置進行構建時,出現一個錯誤和一個警告。這是我編寫錯誤和警告的日誌,我想知道是否有人能告訴我這裏發生了什麼。應用程序失敗的代碼簽名驗證
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
failed to extract requirements data: 1
/Users/xxxx/Desktop/xxxx/build/Distribution-iphoneos/xxxxx.app: object file format invalid or unsuitable
failed to extract entitlements: 1
- (null)
此外,
/Users/xxxxxx/Desktop/xxxxx/build/Distribution-iphoneos/xxxxxxx.app: object file format invalid or unsuitable
Command /usr/bin/codesign failed with exit code 1
這是怎麼回事?