编辑:此问题涉及XCode 7的预发布版本,因此如果您正在运行当前发布的版本可能不相关,因为某些问题可能已得到修复.
我得到以下内容:
Failed to connect with the iOS agent. Please file a bug report at
bugreport.apple.com.
这是为什么?
如果我看一下细节,我会得到:
=================================
ERROR:
Failed to find or create execution context for description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity
(Failure reason: Software caused connection abort): Failed to find
newest available Simulator runtime (Failure reason: Software caused
connection abort): Simulator verification failed. (Failure reason: A
connection to the simulator verification service could not be
established.)
Error Domain=NSPOSIXErrorDomain Code=53 “Failed to find or create
execution context for description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity”
UserInfo=0x7fcf5961ebd0 {NSLocalizedDescription=Failed to find or
create execution context for description
System content
1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity,
NSUnderlyingError=0x7fcf58b72950 “Failed to find newest available
Simulator runtime”}
我遇到了与xcode 7 beta 3相同的问题.
我将部署目标设置为8.3.将它设置为9.0,清理构建,并重新启动xcode为我工作.