gpt4 book ai didi

ios - 在 Xcode 5.0 中运行单元测试时出错

转载 作者:可可西里 更新时间:2023-11-01 04:41:53 24 4
gpt4 key购买 nike

当我尝试在 xcode 5.0 中创建单元测试文件时,出现以下错误:

The test bundle at /.../Tests.octest could not be loaded because it is built for a different architecture than the currently-running test rig (which is running as x86_64).

我该怎么办?

最佳答案

您可能正在尝试在“iPhone Retina(4 英寸 64 位)”模拟器中运行测试。

切换到“iPhone Retina(4 英寸)”模拟器,一切正常

关于ios - 在 Xcode 5.0 中运行单元测试时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19573807/

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