gpt4 book ai didi

xcode - 没有使用 -destination 标志指定对指定方案有效的目的地

转载 作者:行者123 更新时间:2023-12-04 21:15:51 26 4
gpt4 key购买 nike

尝试在服务器上运行应用程序时,我的集成机器人提示...
xcodebuild: error: No destinations were specified with the -destination flag which were valid for the specified scheme 'MyScheme'.
不确定如何处理此错误?

在崩溃之前,它会搜索不同的设备......
2014-05-21 14:14:22.631 xcodebuild[49977:100b] [MT] DVTDeviceSearch: Searching for device with type 'iOS Simulator', options: {
OS = "7.1";
name = iPad;
}, genericOnly: NO allowMultiple:NO timeout:0.000000
2014-05-21 14:14:23.134 xcodebuild[49977:100b] [MT] DVTDeviceSearch: Search found devices: (
"<DVTiPhoneSimulator: 0x7ff6fdb9a230> {\n\t\tsessionActive: NO\n\t\tlaunchService: (null)\n\t\tlaunchSucceeded: NO\n\t\tcurrentSimulatorSession: (null)\n\t\tdidExitRecursionGuard: NO\n\t\tdeviceInfo: <DeviceInfo iPad>\n\t\tsimulatedSystemRoot: <DTiPhoneSimulatorSystemRoot 0x7ff6fdb8e6f0> path=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk version=7.1 name=Simulator - iOS 7.1\n\t\tsimulatedDeviceFamily: 2\n\t\tsupportedDeviceFamilies: (\n 1,\n 2\n)\n\t\t}"
)

检查服务器 xcode 我可以看到安装了 6.1 和 7.0 模拟器。

它也可以从 xcode 正常运行。

最佳答案

您的日志指出它正在寻找 7.1 模拟器,而不是 7.0。将 7.1 模拟器安装到您的 Xcode 服务器或将您的部署目标降级到 7.0。

关于xcode - 没有使用 -destination 标志指定对指定方案有效的目的地,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23790450/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com