Xcode持续集成:找不到配置的目标 [英] Xcode Continuous Integration: Configured destination not found

查看:93
本文介绍了Xcode持续集成:找不到配置的目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have cloned my local repository to my Xcode server and have created a bot to run tests on each commit.

但是在集成时,它给Build Service带来了问题:已配置的目标不再受支持或找不到.

But on integration, its giving the Build Service issue : Configured destination is no longer supported or could not be found.

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

I was not able to find any errors from the logs either.

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:

我已经按照《苹果指南》中提到的所有步骤进行操作,不确定自己错过了什么.我正在使用Xcode8和Server 5.2. 我也没有在方案中的任何地方提及任何目的地标志.

I have followed all the steps mentioned in the Apple Guide, and am not sure what I missed. I am using Xcode8 and Server 5.2. I also have not mentioned any destination flag anywhere in my scheme.

推荐答案

我自己也遇到了此错误.这是因为我选择在所有iOS模拟器设备上运行该机器人.我只是选择了一个模拟器,就解决了这个问题.

Just experienced this error myself. It was because I had selected to run the bot against all iOS simulator devices. I simply selected one simulator and that fixed the issue.

进一步研究此通用错误的方法是执行以下操作:

The way to drill down further into this generic error is to do the following:

在Xcode中>显示报告导航器"(这是左侧导航窗口中最右侧的选项卡栏)>选择失败的漫游器>从中央窗口中选择日志"选项卡>更改显示"下拉列表从源代码控制日志"到原始构建日志">这应该为您提供有关发生了什么错误的更多详细信息,以帮助您进行调试.

Within Xcode > 'Show the report navigator' (this is the furthest right tab bar within the left hand navigation window) > Select a failing bot run > Select 'Logs' tab from the central window > Change the 'Show' dropdown from 'Source Control log' to 'Raw build log' > This should give you more details on what went wrong to help you debug.

这篇关于Xcode持续集成:找不到配置的目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆