我们使用Jenkins进行连续集成.为了编译我们的应用程序,我们需要做的一切都是通过命令行(bash脚本)完成的,因为我们有几台机器可以完成构建而无需人工访问设备.
您可以想象我很高兴在XCode9中看到新的xcodebuild功能标志-allowProvisioningUpdates.
我明白,我需要将Apple ID的凭据添加到XCode设置中.
凭据将添加到"首选项"中的"XCode帐户"选项卡,但是当我尝试使用"xcodebuild ... -allowProvisioningUpdates"进行编译时,将显示以下错误消息:
2017-09-19 09:47:59.692 xcodebuild[74979:3824315] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-13231/DVTFoundation/Portal/DVTDeveloperAccountCredentialsManager.m:38
Details: Unable to find default keychain.
Object: <DVTDeveloperAccountCredentialsManager>
Method: +defaultAccountCredentialsManager
Thread: <NSThread: 0x7fe17860aa40>{number = 4, name = (null)}
Please file a bug at http:/
2017-09-19 09:47:59.792 xcodebuild[74979:3824308] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fe17d45cf20>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=DVTServicesSessionErrorDomain Code=0 \"Unable to log in with account 'xxx@yyy.com'.\" UserInfo={NSLocalizedFailureReason=Unable to log in with account 'xxx@yyy.com'., NSLocalizedRecoverySuggestion=The login details for …Run Code Online (Sandbox Code Playgroud)