xcode iOS应用程序构建-身份验证错误

fnvucqvd  于 2022-12-24  发布在  iOS
关注(0)|答案(1)|浏览(325)

当我们尝试使用Fastlane为iOS构建我们的应用程序(React Native)时,会抛出以下错误。知道是什么原因吗?
我们可以使用iMac中使用的相同苹果ID登录其他苹果服务,如Appstoreconnect或iCloud,它使用2FA。

[01:24:57]: $ set -o pipefail && xcodebuild -workspace ProntoPoc.xcworkspace -scheme ProntoPoc -destination 'generic/platform=iOS' -archivePath /Users/mobileappbuilder/Library/Developer/Xcode/Archives/2022-12-19/ProntoPoc\ 2022-12-19\ 01.24.57.xcarchive archive | tee /Users/mobileappbuilder/Library/Logs/gym/ProntoPoc-ProntoPoc.log | xcpretty
^C[01:25:04]: ▸ 2022-12-19 01:25:04.095 xcodebuild[1052:13667]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x600003a88140; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')
[01:25:04]: ▸ 2022-12-19 01:25:04.095 xcodebuild[1052:13667]  DVTPortal: Error:
[01:25:04]: ▸ Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
[01:25:04]: ▸     creationTimestamp = "2022-12-18T14:25:04Z";
[01:25:04]: ▸     httpCode = 200;
[01:25:04]: ▸     protocolVersion = QH65B2;
[01:25:04]: ▸     requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
[01:25:04]: ▸     responseId = "1d45c6a2-d006-4f63-804f-60ae07bdf8da";
[01:25:04]: ▸     resultCode = 1100;
[01:25:04]: ▸     resultString = "Your session has expired. Please log in.";
[01:25:04]: ▸     userLocale = "en_US";
[01:25:04]: ▸     userString = "Your session has expired. Please log in.";
[01:25:04]: ▸ }, NSLocalizedDescription=Your session has expired. Please log in.}

我们试着重启Mac,删除并重新添加xcode和Mac中的苹果ID。通过xcode存档和验证工作正常,但我们需要在CI/CD脚本中执行此操作。

相关问题