我已将我的本地存储库克隆到我的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。 我也没有在我的计划中的任何地方提到任何目的地标志。
答案 0 :(得分:6)
我自己也经历过这个错误。这是因为我选择在所有iOS模拟器设备上运行机器人。我只选择了一个模拟器,解决了这个问题。
深入研究此常规错误的方法是执行以下操作:
在Xcode中&gt; “显示报告导航器”(这是左侧导航窗口中最右边的标签栏)&gt;选择失败的bot运行&gt;从中央窗口中选择“日志”选项卡&gt;将“显示”下拉列表从“源代码管理日志”更改为“原始构建日志”&gt;这应该为您提供有关帮助您调试的错误的更多详细信息。
答案 1 :(得分:0)
我在Xcode 9.2上遇到了同样的问题。通过删除在首选项中注册的开发者帐户并再次输入来解决此问题。