我已经将本地存储库克隆到了Xcode服务器,并创建了一个可以在每次提交时运行测试的机器人。
但是,在集成时,它会产生Build Service问题:不再支持或找不到配置的目标。
我也无法从日志中找到任何错误。
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。
我也没有在我的方案中的任何地方提到任何目的地标志。
最佳答案
我自己刚刚遇到了这个错误。这是因为我选择在所有iOS模拟器设备上运行该机器人。我只是选择了一个模拟器,就解决了这个问题。
进一步研究此通用错误的方法是执行以下操作:
在Xcode中>“显示报告导航器”(这是左侧导航窗口中最右侧的选项卡栏)>选择失败的漫游器运行>从中央窗口中选择“日志”选项卡>从“源”中更改“显示”下 pull 列表控制日志”到“原始构建日志”>这应该为您提供有关发生了什么错误的更多详细信息,以帮助您进行调试。
关于ios - Xcode持续集成: Configured destination not found,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/40130202/