情景
1、使用code_sign_identity打包、导出ipa时,遇到DVTPortal: Service ‘<DVTPortalViewDeveloperService: 0x600000404800; action=‘viewDeveloper’>’ encountered an unexpected result code from the portal (‘1100’)
/usr/bin/xcodebuild -scheme schemeName \
-workspace workspaceName.xcworkspace \
-configuration ${build_configuration} \
clean archive \
-derivedDataPath ${derived_path} \
-archivePath ${archive_file} \
-destination "generic/platform=iOS" -quiet
2、或者在命令行访问Xcode的APPLE_ID时,遇到DVTPortal: Service ‘<DVTPortalViewDeveloperService: 0x600000404800; action=‘viewDeveloper’>’ encountered an unexpected result code from the portal (‘1100’)
xcrun xcodebuild -workspace Weibo.xcworkspace -scheme Weibo -showBuildSettings | grep APPLE_ID