XC 测试框架 iOS(XCode 6.1) 测试会话退出 (80) 没有签入 [英] XC Testing Framework iOS(XCode 6.1) Test session exited(80) without checking in

查看:19
本文介绍了XC 测试框架 iOS(XCode 6.1) 测试会话退出 (80) 没有签入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 XCode 中有一个运行良好的项目,但是当我尝试使用 (XCTestCase) 测试框架对其进行测试时,出现此错误测试会话退出(80)而未签入:可执行文件不提供与当前进程兼容的架构"该项目的架构设置是标准架构(armv7,arm64)"从错误声明看来,我对项目的架构设置有问题,我无法弄清楚究竟是什么.

I have a project in XCode which runs fine, but when i try testing it using the (XCTestCase) Testing framework I get this error "Test session exited(80) without checking in : Executable does not provide an architecture compatible with the current process" The architecture setting for the project is "standard architectures(armv7,arm64)" From the error statement it looks like i have issues with the architecture settings of the project, which I am unable to figure out what exactly.

从详细的日志文件我可以得到这个无法加载包,因为它不包含当前架构的版本."

From the detailed log file I could get this "The bundle couldn’t be loaded because it doesn’t contain a version for the current architecture."

推荐答案

确保构建设置下我的目标的有效架构都设置为对我有用.在更新以满足 Apple 的 64 位要求后,我意识到我的测试目标中缺少 arm64-> 构建设置-> 有效架构

Making sure the Valid Architectures for my targets under build settings were all set to the same worked for me. After updating to meet Apple's 64 bit requirements I realized arm64 was missing from my test target->build settings->Valid Architectures

这篇关于XC 测试框架 iOS(XCode 6.1) 测试会话退出 (80) 没有签入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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