Xcode持续集成:未找到已配置的目标

问题描述 投票:8回答:2

我已将我的本地存储库克隆到我的Xcode服务器,并创建了一个机器人来对每次提交运行测试。

但是在集成方面,它给出了构建服务问题:不再支持或找不到已配置的目标。

我也无法从日志中找到任何错误。

Oct 19 12:32:08  [1397] <Info>: Will attempt to update checkout cache for bot Oct 19 12:32:08  [1397] <Info>: Xcode Source Control Blueprint was valid. Oct 19 12:32:08  [1397] <Info>: About to update/checkout:   https://macbook-pro-local.com/git/SampleTestApp.git Branch: master into SampleTestCalc/  Oct 19 12:32:09  [1397] <Info>: Completed checkout of:     https://macbook-pro-local.com/git/SampleTestApp.git Branch: master (@9689116d502e2fd0f647f435f3f01597c5bd8cbd) into SampleTestCalc/  Oct 19 12:32:09  [1397] <Info>: Comparing checked out code with previous blueprint: <XCSBotSCMBlueprint 0x7f9181c25ec0>    {"DVTSourceControlWorkspaceBlueprintLocationsKey":{"D30279AB6EE6981218FC98E321E83EBACF83CAC1":{"DVTSourceControlBranchIdentifierKey":"master","DVTSourceControlLocationRevisionKey":"9689116d502e2fd0f647f435f3f01597c5bd8cbd","DVTSourceControlBranchOptionsKey":4,"DVTSourceControlWorkspaceBlueprintLocationTypeKey":"DVTSourceControlBranch"}},"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey":"D30279AB6EE6981218FC98E321E83EBACF83CAC1","DVTSourceControlWorkspaceBlueprintIdentifierKey":"3FA96EDF-CBD4-4A8A-B42B-F05363620DF4","DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey":{"D30279AB6EE6981218FC98E321E83EBACF83CAC1":"SampleTestCalc\/"},"DVTSourceControlWorkspaceBlueprintNameKey":"SampleTestCalc","DVTSourceControlWorkspaceBlueprintVersion":204,"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey":"SampleTestCalc.xcodeproj","DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey":[{"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey":"com.apple.dt.Xcode.sourcecontrol.Git","DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey":"https:\/\/macbook-pro.com\/git\/SampleTestApp.git","DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey":"D30279AB6EE6981218FC98E321E83EBACF83CAC1"}]} Oct 19 12:32:09  [1397] <Info>: Got 0 log items:

我已经按照Apple指南中提到的所有步骤进行操作,并且不确定我错过了什么。我正在使用Xcode8和Server 5.2。在我的方案中,我也没有提到任何目的地标志。

ios xcode git server
2个回答
6
投票

刚刚经历过这个错误。这是因为我选择在所有iOS模拟器设备上运行机器人。我只选择了一个模拟器并解决了这个问题。

深入研究此常规错误的方法是执行以下操作:

在Xcode中>'显示报告导航器'(这是左侧导航窗口中最右侧的标签栏)>选择失败的机器人运行>从中央窗口选择“日志”选项卡>更改“源”中的“显示”下拉菜单控制日志'到'原始构建日志'>这应该为您提供有关帮助您调试的错误的更多详细信息。


0
投票

我在Xcode 9.2上遇到了同样的问题。通过删除在首选项中注册的开发者帐户并再次输入来解决此问题。

© www.soinside.com 2019 - 2024. All rights reserved.