Post

Replies

Boosts

Views

Activity

xcodebuild "Your session has expired" while trying convert xarchive to .ipa file
I am trying to create a build server for my CICD pipeline. The problem is whenever I'm trying to run the following command: xcodebuild -exportArchive -archivePath /Users/ec2-user/CICD/Project_path/build/ios/archive/Runner.xcarchive -exportPath /users/ec2-user/CICD/Executions/Build_16-03-22_9:50:45 -exportOptionsPlist "/users/ec2-user/CICD/ExportOptions.plist" for generating a .ipa file the Xcode is repeatedly trying the following process and randomly he succeeds/failed. These errors could return Succeed after a few times that the Xcode is trying to sign and sometimes will fail. I am using an AWS instance with 5GB bandwidth so I don't think is a plausible connectivity timeout. 2022-03-16 10:04:28.689 xcodebuild[39983:283429] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.} 2022-03-16 10:04:28.689 xcodebuild[39983:283429] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts 2022-03-16 10:04:28.689 xcodebuild[39983:283429] XType: unable to make a connection to the font daemon! 2022-03-16 10:04:28.689 xcodebuild[39983:283429] XType: XTFontStaticRegistry is enabled as fontd is not available. 2022-03-16 10:04:28.818 xcodebuild[39983:283429] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/98/pvj9dycs63q08088386mn_940000gn/T/Runner_2022-03-16_10-04-28.818.xcdistributionlogs". 2022-03-16 10:04:29.371 xcodebuild[39983:283437] DVTDeveloperAccountManager: Failed to load credentials for Error Domain=DVTSecErrorDomain Code=-25308 "User interaction is not allowed." UserInfo={NSLocalizedDescription=User interaction is not allowed.} "MAIL" 2022-03-16 10:04:29.663 xcodebuild[39983:283437] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x600003089100; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100') 2022-03-16 10:04:29.663 xcodebuild[39983:283437] DVTPortal: Error: Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={ creationTimestamp = "2022-03-16T10:04:29Z"; httpCode = 200; protocolVersion = QH65B2; requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"; responseId = "3f6ad022-6b04-4523-bbda-80bbe4c93c3e"; resultCode = 1100; resultString = "Your session has expired. Please log in."; userLocale = "en_US"; userString = "Your session has expired. Please log in."; }, NSLocalizedDescription=Your session has expired. Please log in.} 2022-03-16 10:04:29.731 xcodebuild[39983:283430] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x600003054640; action='viewDeveloper'>' encountered an unexpected result code from the portal ('1100') 2022-03-16 10:04:29.731 xcodebuild[39983:283430] DVTPortal: Error: Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={ creationTimestamp = "2022-03-16T10:04:29Z"; httpCode = 200; protocolVersion = QH65B2; requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action"; responseId = "2e4cbb16-c62f-42d3-82b0-08f980e37641"; resultCode = 1100; resultString = "Your session has expired. Please log in."; userLocale = "en_US"; userString = "Your session has expired. Please log in."; }, Any suggestions? Thanks!
5
4
4.8k
Mar ’22
Unable to export .IPA file through SSH
While trying to activate the following code through the SSH terminal I struggled with the following error: The code that im using for building the project is : export PATH=$PATH:"/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/flutter/bin" cd ~/CICD/Project_path ls -l security unlock-keychain -p ******* "/Library/flutter/bin/flutter" build ipa --flavor QA --release --dart-define=ENV=QA --export-options-plist=ios/build-files/ExportOptions.plist part of the code is for automating Jenkins without any problem. However, the automation only works in the MAC terminal but not on another PC through SSH. All my login keychains are already duplicated to the system keychain and I'm already using the Unlock-keychain command. What else can cause this issue? I can't even debug this in any way.
0
0
665
Jul ’22