Xcode 10 session expired after restart

Hi guys,


Xcode 10.1 (10B61)

Mojave 10.14.2


I'm having an issue with Xcode10 after an upgrade from High Sierra to Mojave. It seems that every time I close Xcode and reopen, my account's session keeps expiring. This is causing my build scripts to fail with the following issue:


2019-01-17 15:18:27.579 xcodebuild[2350:50912] DVTPortal: Error:

Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload=<CFBasicHash 0x7fe9e99945e0 [0x7fffa1f728f0]>{type = mutable dict, count = 9,

entries =>

0 : responseId = <CFString 0x7fe9e6dadfa0 [0x7fffa1f728f0]>{contents = "e0ab9252-551d-48ab-94b4-7e477aa3276a"}

2 : <CFString 0x7fffa1fd2c58 [0x7fffa1f728f0]>{contents = "protocolVersion"} = QH65B2

3 : <CFString 0x7fe9e94b29d0 [0x7fffa1f728f0]>{contents = "requestUrl"} = <CFString 0x7fe9e94984b0 [0x7fffa1f728f0]>{contents = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"}

6 : <CFString 0x7fe9e999c300 [0x7fffa1f728f0]>{contents = "userLocale"} = en_US

8 : resultCode = <CFNumber 0x70d48256a360a7f1 [0x7fffa1f728f0]>{value = +1100, type = kCFNumberSInt64Type}

9 : userString = <CFString 0x7fe9e9498790 [0x7fffa1f728f0]>{contents = "Your session has expired. Please log in."}

10 : <CFString 0x7fe9e94a9290 [0x7fffa1f728f0]>{contents = "resultString"} = <CFString 0x7fe9e946b710 [0x7fffa1f728f0]>{contents = "authentication.failed"}

11 : httpCode = <CFNumber 0x70d48256a36423f1 [0x7fffa1f728f0]>{value = +200, type = kCFNumberSInt64Type}

12 : <CFString 0x7fe9e94a7d30 [0x7fffa1f728f0]>{contents = "creationTimestamp"} = <CFString 0x7fe9e999e180 [0x7fffa1f728f0]>{contents = "2019-01-17T15:18:27Z"}

}

, NSLocalizedDescription=Your session has expired. Please log in.}

error: exportArchive: The operation couldn’t be completed. Unable to log in with account 'xxxxxxxxxxx'.


Error Domain=DVTServicesSessionErrorDomain Code=0 "Unable to log in with account 'xxxxxxxxxxx'." UserInfo={NSLocalizedFailureReason=Unable to log in with account 'xxxxxxxxxxx'., NSLocalizedRecoverySuggestion=The login details for account 'xxxxxxxxxxx' were rejected., DVTDeveloperAccountErrorAccount=<DVTAppleIDBasedDeveloperAccount 0x7fe9e9800c30: username: xxxxxxxxxxx>, NSUnderlyingError=0x7fe9e94bd300 {Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload=<CFBasicHash 0x7fe9e99945e0 [0x7fffa1f728f0]>{type = mutable dict, count = 9,

entries =>

0 : responseId = <CFString 0x7fe9e6dadfa0 [0x7fffa1f728f0]>{contents = "e0ab9252-551d-48ab-94b4-7e477aa3276a"}

2 : <CFString 0x7fffa1fd2c58 [0x7fffa1f728f0]>{contents = "protocolVersion"} = QH65B2

3 : <CFString 0x7fe9e94b29d0 [0x7fffa1f728f0]>{contents = "requestUrl"} = <CFString 0x7fe9e94984b0 [0x7fffa1f728f0]>{contents = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"}

6 : <CFString 0x7fe9e999c300 [0x7fffa1f728f0]>{contents = "userLocale"} = en_US

8 : resultCode = <CFNumber 0x70d48256a360a7f1 [0x7fffa1f728f0]>{value = +1100, type = kCFNumberSInt64Type}

9 : userString = <CFString 0x7fe9e9498790 [0x7fffa1f728f0]>{contents = "Your session has expired. Please log in."}

10 : <CFString 0x7fe9e94a9290 [0x7fffa1f728f0]>{contents = "resultString"} = <CFString 0x7fe9e946b710 [0x7fffa1f728f0]>{contents = "authentication.failed"}

11 : httpCode = <CFNumber 0x70d48256a36423f1 [0x7fffa1f728f0]>{value = +200, type = kCFNumberSInt64Type}

12 : <CFString 0x7fe9e94a7d30 [0x7fffa1f728f0]>{contents = "creationTimestamp"} = <CFString 0x7fe9e999e180 [0x7fffa1f728f0]>{contents = "2019-01-17T15:18:27Z"}

}

, NSLocalizedDescription=Your session has expired. Please log in.}}}


I have tried the following without success:


If anyone can shed some light on this I'd be appreciative. Let me know if you need more info.


Thanks

Replies

Been having the same issue... Would love to know a workaround

Same problem here, any responses?

Any response or workaround from Apple according this issue? We currently focus the same problem since one day.