6 Replies
      Latest reply on Jan 6, 2019 9:16 PM by jose@fyde
      julian87 Level 1 Level 1 (0 points)

        Trying to do a CLI build with XCode (using NativeScript).

         

        Was working fine a couple days ago.  However, now I cannot get past this error when trying to build:

         

         

        DTDeviceKit: deviceType from 7c64d8a014fd573ca3623ef80b158e57e7aea7c5 was NULL

        2018-05-07 11:57:54.696 xcodebuild[14808:865317]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fe4e17686d0; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')

        2018-05-07 11:57:54.696 xcodebuild[14808:865317]  DVTPortal: Error:

        Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired.  Please log in." UserInfo={payload=<CFBasicHash 0x7fe4e242ed70 [0x7fff9115faf0]>

         

        Whenever I open XCode and to go preferences->account, my team account already reports "Session has expired".  I log in successfully, then close Xcode, then login again, and once again it says the "Session has expired".

         

        Enabled two factor authentication hasn't helped.  I get the identical error from two separate machines (Mac Mini and MacBook Air).  Using latest High Sierra OS and XCode.

         

        My developer accounts logs in fine to the developer portal on Apple's Developer site, iTunes connect, etc..

        • Re: Constant "Your session has expired" (error 1100)
          Nuance Level 1 Level 1 (0 points)

          Was this issue resolved?  And if so how was it solved?  Thanks

          • Re: Constant "Your session has expired" (error 1100)
            flabrie-cgi Level 1 Level 1 (0 points)

            I have the same issue using Xcode 10, and I cannot find a fix... Please help!

            • Re: Constant "Your session has expired" (error 1100)
              mattmartindale Level 1 Level 1 (0 points)

              I am also seeing this error on our continuous integration (Jenkins) servers.  It works fine when invoked manually, but it has a problem connecting if it's invoked via a Jenkins job.  Any help would be greatly appreciated!  It's such a pain to manually keep provisioning profiles in sync on multiple CI/CD servers because of this error

              • Re: Constant "Your session has expired" (error 1100)
                pepelwerk Level 1 Level 1 (0 points)

                I am having the same issue, running command on the mac terminal locally works, but executing the same command remotely using a shell script fails with the error. Other commands like build and archive works without any errors.

                 

                Issue encountered on when export achive is executed.

                 

                Please advise what parameters are required to execute successfully.

                 

                xcodebuild -exportArchive -archivePath ios/build.xcarchive -exportOptionsPlist exportOptions.plist  -exportPath ios/build

                 

                2018-12-10 05:41:11.004 xcodebuild[92132:228593]  DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fa4f49f78b0; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100')

                2018-12-10 05:41:11.004 xcodebuild[92132:228593]  DVTPortal: Error:

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

                entries =>

                0 : responseId = <CFString 0x7fa4f4a7fe30 [0x7fff952ebb30]>{contents = "96dd90f2-0d7d-4901-b7b2-ca2d2deb5509"}

                2 : <CFString 0x7fff9520eb98 [0x7fff952ebb30]>{contents = "protocolVersion"} = QH65B2

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

                6 : <CFString 0x7fa4f45d4280 [0x7fff952ebb30]>{contents = "userLocale"} = en_US

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

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

                10 : <CFString 0x7fa4f45ee740 [0x7fff952ebb30]>{contents = "resultString"} = <CFString 0x7fa4f45e8160 [0x7fff952ebb30]>{contents = "authentication.failed"}

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

                12 : <CFString 0x7fa4f45f4b60 [0x7fff952ebb30]>{contents = "creationTimestamp"} = <CFString 0x7fa4f45cc290 [0x7fff952ebb30]>{contents = "2018-12-10T13:41:10Z"}

                }

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

                 

                 

                 

                Please help